[R] increasing memory size

Faheem Mitha faheem at email.unc.edu
Tue Apr 18 22:44:51 CEST 2000


Dear R people,

I realise I should have specified that I am using R under Linux
(Unix).

I tried R_VSIZE=10M in .Renviron as suggested by Uwe Ligges, instead of
R_VSIZE = 10M and to my surprise it worked! I then tried R_VSIZE = 10M
again to make sure I wasn't deranged, and it *didn't* work! I don't see
why spaces should make so much difference. They rarely do in Unix, in my
experience. It might be reasonable to specifically mention the correct
form in the documentation. It is hardly self-evident, at least to me (but
maybe I'm missing something).

Thanks to Nicholas J. Croglio and Uwe Ligges for replying.

                                                        Faheem.
On Tue, 18 Apr 2000, Uwe Ligges wrote:

> >>>>>>> Faheem Mitha:
> >> I wonder if some kind person can tell me the correct syntax
> >> to set the R_VSIZE environmental variable. 
> >> I tried R_VSIZE = 10M in ~/.Renviron and
> >> also export R_VSIZE = 10M. These don't seem to work. I
> >> scrounged around looking for details about this, couldn't find any, 
> >> got fed up.
> 
> >>>>>> Nicholas J. Croglio Jr.:
> > I had a similar problem months ago and could not get an answer.  I was only
> > able to adjust the memory using the following addition to the window
> > shortcut under the icons shortcut target.
> > Rgui --vsize=v --nsize=n
> 
> 
> If you are invoking R in ~/  it works as described.
> file ".Renviron":
> 
>   R_VSIZE=10M  (linebreak!)
> 
> [without linebreak R-1.0.0 crashed here (WinNT4.0) :-(( ]
> To R-Core: Is this a bug ???
> 
> Starting R:
> [...]
> > gc()
>           free   total (Mb)
> Ncells  205128  350000  6.7
> Vcells 1197892 1310720 10.0
>                        ^^^^
> 
> Regards, Uwe Ligges



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list