[R] run R under DOS prompt

Yu-Ling Wu yuling5 at yahoo.com
Wed Feb 14 00:27:22 CET 2001


Hi,

I have a xxx.R file. In order to run this file, I have
to go to R, and type -- source("xxx.R").

Two questions:
1. How to run file xxx.R under DOS prompt instead of
entering R environment?
2. There are several functions in file xxx.R, how to
pass the arguments
to the function when I try to run this file via
source() function (or under DOS mode)?

Thanks,
Yu-Ling Wu

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list