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: [EMAIL PROTECTED]
Please try to send only (latin-2) plain text, not HTML or other garbage.

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to