[R] question

Tamas Papp tpapp at axelero.hu
Fri Apr 9 07:14:21 CEST 2004


On Fri, Apr 09, 2004 at 01:33:18PM +0900, Ja-Yong Koo wrote:

> I have found a strange thing. If I copy and paste the R source file, then
> the result is okay with. However, if I use R GUI (File icon and Source
> File),
> then the result is different. Please let me know possible reasons.

Next time you ask a question please provide more information -- I have
to guess what you mean by the result being "different".  And read the
posting guide.

The source("filename.R") command in R simply reads and evaluates the
source file, but won't display it.

Use 

> source("filename.R", echo=TRUE)

to display the commands in the file. See

> ?source

for further information.

Best,

Tamas

-- 
Tamás K. Papp
E-mail: tpapp at axelero.hu
Please try to send only (latin-2) plain text, not HTML or other garbage.




More information about the R-help mailing list