From bates@stat.wisc.edu  Mon Mar 13 19:02:37 2000
From: bates@stat.wisc.edu (Douglas Bates)
Date: 13 Mar 2000 13:02:37 -0600
Subject: [Rd] check does not accept --vsize option (PR#481)
In-Reply-To: neteler@geog.uni-hannover.de's message of "Mon, 13 Mar 2000 19:04:51 +0100 (MET)"
References: <200003131804.TAA12983@pubhealth.ku.dk>
Message-ID: <6rya7msng2.fsf@franz.stat.wisc.edu>

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


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