[R] Re:How to create a R -application
ramasamy at cancer.org.uk
Thu Oct 7 18:49:30 CEST 2004
This is not answering your question directly.
I usually use the BATCH command for running R non-interactively. You can
also use commandArgs() to get any arguments from the command line. For
more information, see help(BATCH) or help(commandArgs).
On Thu, 2004-10-07 at 16:14, Kunal Shetty wrote:
> Dear R- users and Helpers
> I am a beginner for R. I am using R to implement EM algorithm for treating Missing values. I would like to know how can save or compile my logical R commands to an application; so that the next time I could just execute the R- file.
> Example for calculating the mean of a data set
> x <- c(8,11,16,18,6,4,20,25,9,13)
> u <- mean(x)
> Now I would like to save these commands as batch or an application
> Anybody could please help or direct me in this problem
> Thank you
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
More information about the R-help