[ESS] starting R with options

Vincent Goulet vincent.goulet at act.ulaval.ca
Fri Dec 16 21:38:32 CET 2005


As per the ESS documentation, section 6.2:

Note that R has some extremely useful command line arguments. For example, 
--vanilla will ensure R starts up without loading in any init files. To enter 
a command line argument, call R using a "prefix argument", by 

C-u M-x R 

and when ESS prompts for "Starting Args ? ", enter (for example): 


Then that R process will be started up using R --vanilla. If you wish to 
always call R with certain arguments, set the variable inferior-R-args 

This is fairly common usage in Emacs, by the way.


Le 16 Décembre 2005 14:58, Michael Wolosin a écrit :
> All -
> First, I am a rather novice user of Emacs in general, and ESS
> specifically.  I am using XEmacs-21.4.13 and ESS 5.2.3 on a Windows 2000
> machine, using the init.el file that John Fox kindly provided for this sort
> of setup.
> I would like to set an option when R loads to make more memory
> available.  If I'm running Rgui.exe directly, I can just set the Target:
> line in a shortcut to be something like:
> "C:\Program Files\R\R-2.2.0\bin\Rgui.exe" --max-mem-size=402653184
> Is there any way to modify the init.el, or one of the ESS sources where R
> is started to add this type of option when it starts rterm.exe?  I don't
> speak lisp, so it would have to be pretty simple.
> Thanks so much in advance,
> Mike
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help

  Vincent Goulet, Professeur agrégé
  École d'actuariat
  Université Laval, Québec 
  Vincent.Goulet at act.ulaval.ca   http://vgoulet.act.ulaval.ca

More information about the ESS-help mailing list