search for: r_vsize

Displaying 20 results from an estimated 28 matches for "r_vsize".

Did you mean: r_size
2015 Jan 18
2
default min-v/nsize parameters
...ity from within R. For ease of reference, here are the relevant sections of code: https://github.com/wch/r-source/blob/master/src/include/Defn.h#L217 (ripley last authored on Jan 26, 2000 / pd last authored on May 8, 1999) 217 #ifndef R_NSIZE 218 #define R_NSIZE 350000L 219 #endif 220 #ifndef R_VSIZE 221 #define R_VSIZE 6291456L 222 #endif https://github.com/wch/r-source/blob/master/src/main/startup.c#L169 (ripley last authored on Jun 9, 2004) 157 Rp->vsize = R_VSIZE; 158 Rp->nsize = R_NSIZE; 166 #define Max_Nsize 50000000 /* about 1.4Gb 32-bit, 2.8Gb 64-bit */ 167 #define Max_Vsize...
2015 Jan 20
1
default min-v/nsize parameters
...> >> https://github.com/wch/r-source/blob/master/src/include/Defn.h#L217 >> (ripley last authored on Jan 26, 2000 / pd last authored on May 8, 1999) >> 217 #ifndef R_NSIZE >> 218 #define R_NSIZE 350000L >> 219 #endif >> 220 #ifndef R_VSIZE >> 221 #define R_VSIZE 6291456L >> 222 #endif >> >> https://github.com/wch/r-source/blob/master/src/main/startup.c#L169 >> (ripley last authored on Jun 9, 2004) >> 157 Rp->vsize = R_VSIZE; >> 158 Rp->nsize = R_NSIZE;...
2015 Jan 19
0
default min-v/nsize parameters
...ference, here are the relevant sections of code: > > https://github.com/wch/r-source/blob/master/src/include/Defn.h#L217 > (ripley last authored on Jan 26, 2000 / pd last authored on May 8, 1999) > 217 #ifndef R_NSIZE > 218 #define R_NSIZE 350000L > 219 #endif > 220 #ifndef R_VSIZE > 221 #define R_VSIZE 6291456L > 222 #endif > > https://github.com/wch/r-source/blob/master/src/main/startup.c#L169 > (ripley last authored on Jun 9, 2004) > 157 Rp->vsize = R_VSIZE; > 158 Rp->nsize = R_NSIZE; > 166 #define Max_Nsize 50000000 /* about 1.4Gb 32-bit,...
2015 Jan 15
2
default min-v/nsize parameters
Just wanted to start a discussion on whether R could ship with more appropriate GC parameters. Right now, loading the recommended package Matrix leads to: > library(Matrix) > gc() used (Mb) gc trigger (Mb) max used (Mb) Ncells 1076796 57.6 1368491 73.1 1198505 64.1 Vcells 1671329 12.8 2685683 20.5 1932418 14.8 Results may vary, but here R needed 64MB of N cells and 15MB
2000 Apr 18
1
increasing memory size
Dear R people, 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. Faheem. -.-.-.-.-.-.-.-.-.-....
2001 Jan 07
2
"Invalid character 32" problem with Pager??
...I'm having a very minor problem. Most every time I use the pager (I think) I get the following error about character 32. It works fine, but the error is a bit annoying. > ?version sh: invalid character 32 in exportstr for export R_NSIZE sh: invalid character 32 in exportstr for export R_VSIZE R.Version package:base R Documentation (and then the rest is fine) or > library(help=quadprog) sh: invalid character 32 in exportstr for export R_NSIZE sh: invalid character 32 in exportstr for export R_VSIZE solve.QP Solve a Quadratic Programming...
2015 Jan 09
1
Cost of garbage collection seems excessive
...ection is almost 2/3 of that. My actual use case is a package that creates an ensemble from a variety of cross-validated regressions, and exhibits the same poor performance. Is this expected behavior? I've found that I can reduce the garbage collection time to a tolerable level by setting the R_VSIZE environment value to a large enough value: nate at haswell:~$ time R_VSIZE=1GB Rscript gc.R Loading required package: Matrix Loading required package: methods [1] 0 0 0 0 0 [1] 0.716 0.025 0.739 0.000 0.000 real 0m7.694s user 0m7.388s sys 0m0.309s I can do slightly better with even higher values,...
1999 Sep 24
2
R's startup : .Rprofile & .Renviron -- info and RFC
...{unless --no-environ is specified} ~/.Renviron (if there) is read as an 'sh' script before R is called, then R looks ((for the site-wide Rprofile and then)) for .Rprofile in the current directory and then for ~/.Rprofile (in the user's home directory). I'd like to set R_NSIZE and R_VSIZE ``project dependent'' automatically, and therefore would like .Renviron also searched in the currenct directory before the $HOME directory. (setting --nsize or --vsize explicitly would always override as they should). Is this desired? Is is portable (at least) to Windows? In the window...
1998 Aug 22
1
R-beta: re -n -v wr0613b - windows dynload
When I use the -v I can modify the size of the heap, as assessed by gc(), but the -n key seems to be without effect ? On a machine with 48 mB ram I can load the libraries without problem, but on my own 36 mB ram machine, I get dynload problems with the larger, eg survival4. Any suggestions ? Troels -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list
1998 Aug 22
1
R-beta: re -n -v wr0613b - windows dynload
When I use the -v I can modify the size of the heap, as assessed by gc(), but the -n key seems to be without effect ? On a machine with 48 mB ram I can load the libraries without problem, but on my own 36 mB ram machine, I get dynload problems with the larger, eg survival4. Any suggestions ? Troels -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list
1999 Dec 17
1
R CMD check --help
This example from the INSTALL help seems to be broken in R 0.90.1 (on Solaris): gilp/dse : R CMD check --help Usage: R CMD check [options] [-l lib] pkg_1 ... pkg_n I'm trying to figure out how to request more nsize and vsize when using R CMD check. Paul Gilbert -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read
2000 Mar 13
1
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]
2000 Apr 19
1
R CMD check seg fault in Linux
For some of my packages I am getting a segmentation fault in Linux when I use R CMD check. (Using R 1.0.1) The segmentation fault does not happen in Solaris and in some cases it does not happen in Linux if I set R_NSIZE and R_VSIZE much higher than I need in Solaris. Should I expect a segmentation fault if there is not enough memory for R CMD check, or are these unrelated? Paul Gilbert -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hor...
2008 Feb 23
0
patch: two minor debugging-related pointer protection stack issues (PR#10832)
...ide("couldn't allocate memory for pointer stack"); R_PPStackTop = 0; #if VALGRIND_LEVEL > 1 - VALGRIND_MAKE_NOACCESS(R_PPStackTop+R_PPStackSize,PP_REDZONE_SIZE); + VALGRIND_MAKE_NOACCESS(R_PPStack+R_PPStackSize,PP_REDZONE_SIZE); #endif vsfac = sizeof(VECREC); R_VSize = (((R_VSize + 1)/ vsfac)); @@ -2329,11 +2329,11 @@ } while ( R_PPStack[--i] != s ); /* OK, got it, and i is indexing its location */ - /* Now drop stack above it */ + /* Now drop stack above it, if any */ - do { - R_PPStack[i] = R_PPStack[i + 1]; - } while ( i++ &lt...
1997 Nov 27
2
R-beta: Memory Management in R-0.50-a4
..._read.table('sst.dat') Error: memory exhausted (This is line 358 of src/main/memory.c). Cutting down the file to around 15000 lines allows read.table() to work OK. I edited the memory limits in Platform.h and re-compiled and now read.table() can manage up to around 125000 lines. #define R_VSIZE 30000000L /* 15 times original figure (Defn.h) */ #define R_NSIZE 1000000L /* 5 times original figure (Defn.h) */ #define R_PPSSIZE 100000L /* 10 times original figure (Defn.h) */ Clearly I can keep upping these values until it works, but has the side-effect of making the runnin...
1999 Apr 12
3
--nsize and --vsize
Martin M has suggested I widen this discussion to R-devel, and > I agree that we should increase them, > but I'm not sure at all about the amount. > > The default could even depend on the architecture (via "./configure").. Views, please. ------------- Begin Forwarded Message ------------- Is is not time we increased the defaults a bit? As the base gets bigger I hit
2010 Jan 07
1
Segfault in GetNewPage, memory.c.
...ory.c:1916 > 1916 { > (gdb) next > 1924 if (length < 0 ) > (gdb) > 1928 switch (type) { > (gdb) > 1978 if (length <= 0) > (gdb) > 1984 size = PTR2VEC(length); > (gdb) > 2000 if (size <= NodeClassSize[1]) { > (gdb) > 2017 old_R_VSize = R_VSize; > (gdb) > 2020 if (FORCE_GC || NO_FREE_NODES() || VHEAP_FREE() < alloc_size) { > (gdb) > 2017 old_R_VSize = R_VSize; > (gdb) > 2020 if (FORCE_GC || NO_FREE_NODES() || VHEAP_FREE() < alloc_size) { > (gdb) > 2028 if (size > 0) { > (gd...
1999 Aug 30
1
interface w/ emacs (PR#261)
Full_Name: Laurent Gautier Version: 0.65.0 OS: mips SGI-Irix 6.5 Submission from: (NULL) (195.110.4.98) Using R through emacs with ess5.1.8, I cannot set R workspace (--vsize and --nsize). So far I was using R0.64.2 without such a problem. I am aware my bug report is a bit light, but just let me know if anything I could do with my R and emacs would be of any help for\ specifying better what is
2000 Apr 27
1
options(keep.source = TRUE) -- also for "library(.)" ?
> Subject: Re: [Rd] options(keep.source = TRUE) -- also for "library(.)" ? > From: Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk> > Date: 27 Apr 2000 14:37:01 +0200 > > Martin Maechler <maechler@stat.math.ethz.ch> writes: > > > Can we [those of us who know how sys.source() works...] > > think of changing this? As it was possible for the base
2006 Nov 06
2
gc()$Vcells < 0 (PR#9345)
Full_Name: Don Maszle Version: 2.3.0 OS: x86_64-unknown-linux-gnu Submission from: (NULL) (206.86.87.3) # On our new 32 GB x86_64 machine R : Copyright 2006, The R Foundation for Statistical Computing Version 2.3.0 (2006-04-24) ISBN 3-900051-07-0 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or