[R] No output in sourced R program

Peter Dalgaard p.dalgaard at biostat.ku.dk
Wed May 17 13:35:06 CEST 2006


Sigbert Klinke <sigbert at wiwi.hu-berlin.de> writes:

> Hi,
> 
> If I type it in the command line I get, as expected:
> 
>  > 1:30
>  [1]  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 
> 23 24 25
> [26] 26 27 28 29 30
>  > q()
> Save workspace image? [y/n/c]: n
> 
> If I create a program 02e451444d6a46acf551996579092c911b90aa8e.R and run 
> it I get
> 
> R : Copyright 2006, The R Foundation for Statistical Computing
> Version 2.3.0 (2006-04-24)
>  > source("02e451444d6a46acf551996579092c911b90aa8e.R")
> Save workspace image? [y/n/c]: n
> 
> mars:/srv/www/htdocs/mediawiki/teachwiki/Rfiles # more 
> 02e451444d6a46acf551996579092c911b90aa8e.R
> rfiles<-"/srv/www/htdocs/mediawiki/teachwiki/Rfiles"
> 1:30
> q()
> 
> No output from 1:30 to the screen. Any idea what I do wrong ?

Not reading the help file? (Try source(...., echo=TRUE))


-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907




More information about the R-help mailing list