[R] question

Tamas Papp
Fri, 09 Apr 2004 05:14:21 -0000

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.