neteler@geog.uni-hannover.de
2000-Mar-13 18:04 UTC
[Rd] check does not accept --vsize option (PR#481)
Full_Name: Markus Neteler Version: 1.0.0 OS: Linux 2.2.10/i686 Submission from: (NULL) (130.75.72.37) Hi, 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. Hoping for a bug fix! Kind regards and many thanks for your work Markus Neteler GRASS GIS 5 coordinator -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._