command line arguments to R

A.J. Rossini rossini at
Tue Aug 24 19:20:05 CEST 2004

Stephen Eglen <S.J.Eglen at> writes:

> The current development version of ESS has a new variable,
> inferior-R-args, that allows you to set command line args to pass to
> R.  This is in response to recent requests on the list (e.g. from Andy
> Liaw and Pierre Kleiber):
>  > I normally get R started within ess using a bash script containing:
>  >    emacs -f R
>  > 
>  > I'm searching for a way to add a command line argument to R, but with no 
>  > luck so far.  I figure some kind of lisp wrapper function would do, but my 
>  > lisp abilities are very primitive.  Any suggestions?
> So, to answer Pierre's email, with the latest version, you can now do:
> emacs --eval='(let ((inferior-R-args "-q --no-save")) (R))'
> or just put (setq inferior-R-args "-q --no-save") in your .emacs.
> As a reminder:
> To get the latest development version of ESS, you need a the
> subversion client `svn' configured with `--with-ssl' support.  You can
> then do:
> %  svn checkout ess-svn

and this will stick everything into a subdirectory, ess-svn  (from
within, you can use "svn update" to bring yourself up to date, but BE
CAREFUL, since the bleeding edge might be a bit bloody).

There are nice Windows-integrated tools such as TortoiseSVN, etc,
which might also be of interest, and they've got corresponding
advantages/disadvantages to the command-line tools.


Anthony Rossini			    Research Associate Professor
rossini at   
Biomedical and Health Informatics   University of Washington
Biostatistics, SCHARP/HVTN          Fred Hutchinson Cancer Research Center
UW (Tu/Th/F): 206-616-7630 FAX=206-543-3461 | Voicemail is unreliable
FHCRC  (M/W): 206-667-7025 FAX=206-667-4812 | use Email

CONFIDENTIALITY NOTICE: This e-mail message and any attachme...{{dropped}}

More information about the ESS-help mailing list