« Graphing real-time foreclosure data: Data Mashups in R | Main | Converting an infographic to information: Calorie Chart »

June 24, 2009

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a010534b1db25970b011571529e19970b

Listed below are links to weblogs that reference Running scripts with R CMD BATCH:

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Thanks for this! With these instructions I was finally able to get started with R in command line mode!
Steve

That's great, really appreciate your help. save me lot of time to investigate how to run R in Java, many thanks.:)

Some comments about your list of differences between Revo and R:
* in UNIX world: stdin is 0, stdout is 1, stderr is 2; so, if you are already redirecting command output to a file and would like to append the errors into it, add 2>&1 to your command. Ex: mycmd >outfile 2>&1
BUT, because R CMD BATCH is already appending stderr to stdout in its output, it is not necessary here.
* argument --no-timing will prevent the call to proc.time()

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Got comments or suggestions for the blog editor?
Email David Smith.

R links

Recommended Sites

Search Revolutions Blog