Re: [R] Passing parameters to R script in Rgui

2009-03-27 Thread Bert Gunter
You are misusing source.

Write a function to do what you want. An "Introduction to R" documents how.
Have you read it?

-- Bert 


Bert Gunter
Genentech Nonclinical Biostatistics
650-467-7374

-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Daren Tan
Sent: Friday, March 27, 2009 8:45 AM
To: r-help@r-project.org
Subject: [R] Passing parameters to R script in Rgui

How do I pass parameters to R script in Rgui ? Currently, I am using
source("foo.R").

Thanks

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Passing parameters to R script in Rgui

2009-03-27 Thread Daren Tan
How do I pass parameters to R script in Rgui ? Currently, I am using
source("foo.R").

Thanks

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.