[Rd] check does not accept --vsize option (PR#481)

Douglas Bates bates@stat.wisc.edu
13 Mar 2000 13:02:37 -0600


neteler@geog.uni-hannover.de writes:

> I wanted to "check" the R.GRASS GIS interface from Roger Bivand:
> http://www.geog.uni-hannover.de/grass/statsgrasslist.html
> 
> using
> R CMD check --vsize=10M GRASS
> 
> but:
> 
> [error message shortened]
> > G <- gmeta()
> Error: heap memory (6144 Kb) exhausted [needed 1024 Kb more]
>        See "help(Memory)" on how to increase the heap size.
> Execution halted
> 
> It seems that --vsize is ignored. I check R/bin/check, the
> parameter is sent properly to R but ignored there. From the
> buglist I have seen that this problem occured with --nsize, too.

An R CMD check is designed to run in a protected environment, which is
the reason that some command line switches are ignored.  A workaround
is to specify the size as a shell or environment variable.  That is, use
 R_VSIZE=10M R CMD check GRASS
from a Bourne shell (or equivalent).  From the C-shell you may need to
use
 setenv R_VSIZE 10M
 R CMD check GRASS

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._