[R] No output in sourced R program
Sigbert Klinke
sigbert at wiwi.hu-berlin.de
Wed May 17 12:06:50 CEST 2006
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 ?
Thanks Sigbert
More information about the R-help
mailing list