R-options

A.J. Rossini rossini at blindglobe.net
Wed Apr 11 19:01:32 CEST 2001


>>>>> "CH" == Christian Hennig <fm3a004 at math.uni-hamburg.de> writes:


    CH> Dear Tony, unfortunately ESS and R are kept by our system
    CH> administrator and I think that I do not possess the rights to
    CH> change essd-r.el and .Renviron.  I am sure that the
    CH> administrator would change these files once for me, but this
    CH> is no solution if I (and others) do not always want to have
    CH> the same options. So isn't there any possibility from inside
    CH> emacs or R to change vsize and nsize?

>From R, the .Renviron file will do what you want, and read the R FAQ
for details, or the help files which came with R.   

I would strongly suggest upgrading to R 1.2.2, which no longer needs
to set the explicit memory limits.

>From ESS, there is an example of how to set it in the file essa-r.el
in the distribution:

;; you can invoke ESS/R from emacs by typing
;;      C-u M-x essr
;; with vsize set to (for example) 40M, and nsize set to 600000.
(defalias 'essr
  (read-kbd-macro
     "C-u M-x R RET - - vsize SPC 40M SPC - - nsize SPC 600000 2*RET"))
;; "SPC" must be "=" in future versions of R (works from 0.99 on)

And then 
        M-x essr 
does what you want.

Neither solution is ideal, but both work acceptably.

best,
-tony

-- 
A.J. Rossini				Rsrch. Asst. Prof. of Biostatistics
UW Biostat/Center for AIDS Research	rossini at u.washington.edu	
FHCRC/SCHARP/HIV Vaccine Trials Net	rossini at scharp.org
-------- (friday is unknown) --------
FHCRC: M--W : 206-667-7025 (fax=4812)|Voicemail is pretty sketchy
CFAR:  ??   : 206-731-3647 (fax=3694)|Email is far better than phone
UW:    Th   : 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the ESS-help mailing list