[R] batch file execution

From: jun xu <junxu06_at_gmail.com>
Date: Sat 15 Oct 2005 - 12:48:06 EST


I am new to R and really like to get a handle of basics in short period of time. What I am trying to do is get myself a list of must-do's (read in data, batch execution, delimiters, basic modeling commands) in R as in Stata or SAS. I am just wondering how to execute a R batch file in RGui. Suppose I have a script file (like do file in stata, or sas file in SAS) under c:\whatever.R, how can I execute it using commands (not drop down menu) in RGui? In stata, would be something like
 do c:\whatever.do
 How about in R. I tried the "R CMD BATCH('h:/whatever.R'), but it didn't
work. Any help would be greatly appreciated.

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Oct 15 12:54:52 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:45 EST