Posts Tagged ‘command line’

Run an R script

Wednesday, January 23rd, 2008

From the R prompt:

source('filename.R')

From the shell:

R filename.R

Sending command line options to Python scripts

Thursday, December 6th, 2007

If you have some different options in your program and you want to turn them on or off, or feed your functions different arguments, then you can specify all of this from the command line.

You can read about the details of the optparser module here, but here are the basics: (more…)