Displaying 20 results from an estimated 23 matches for "r_nsize".
Did you mean:
z_nsize
2015 Jan 18
2
default min-v/nsize parameters
...but make it possible to
programmatically increase the granularity 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...
2015 Jan 20
1
default min-v/nsize parameters
...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...
2015 Jan 19
0
default min-v/nsize parameters
...rammatically increase the granularity 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->...
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
1999 Jan 27
1
cant restore .Rdata
Hi Folks,
I loaded a couple of quite large data sets into an R session and then
quit (after saving the image). Now I get:
Error: a read error occured
Fatal error: unable to restore saved data
(remove .RData or increase memory)
after trying to start my R session using something like:
R --vsize XXX --nsize 1000000
For any value of XXX (I went up to 300 or 400, which is as high as I could
go.
2001 Jan 07
2
"Invalid character 32" problem with Pager??
Hi all,
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_VSIZ...
1999 Sep 24
2
R's startup : .Rprofile & .Renviron -- info and RFC
...nix only??) {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?
I...
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 Sep 01
1
Using R-0.65.0 under ESS on Unix
...he fix is simple: delete line 448 of src/unix/sys-common.c (`break;')
and re-compile.
The most used arguments are (I'm told) --vsize and --nsize. I find it more
convenient to set those as environment variables in ~/.Renviron,
using something like
auk% cat ~/.Renviron
R_LIBS=/opt/R/library
R_NSIZE=400k
export R_NSIZE R_LIBS
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3T...
1999 Oct 12
1
Looking for R_Home ...
This is my first question to this list and possibly a bit dumb, but anyway:
Can anybody tell me, where, e.g. in the "unix" reference release a DEFINITION of
char * R_Home can be found? Via Defn.h the "extern" DECLARATION is everywhere,
but when I derived a somewhat other main() program my linker complained about the
missing definition.
Thomas Hoffmann.
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 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.tuwie...
1997 Nov 27
2
R-beta: Memory Management in R-0.50-a4
...8 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 running R binary pretty big.
What can I do? Is the answer a better memory man...
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
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
1999 Jun 14
1
readline/history size (PR#211)
...`history_size' to another value. I request that a
command-line
option be added for doing this. The following is an *untested* patch:
--- src/unix/system.c~ Wed Mar 31 12:53:18 1999
+++ src/unix/system.c Mon Jun 14 15:05:50 1999
@@ -580,6 +580,35 @@
else
R_NSize = value;
}
+#ifdef HAVE_LIBREADLINE
+#ifdef HAVE_READLINE_HISTORY_H
+ else if((value = (*av)[1] == 'h') || !strcmp(*av, "--histsize")) {
+ if(value)
+ REprintf("WARNING: option `-h' is deprecated. "
+...
1999 May 04
1
Pre-release of R-0.64.1 for Windows
...`Busy' cursors are used where appropriate: a cross-hair cursor is
used on a graphics device to indicator that locator() (or identify())
is in use.
The file HOME\.Renviron is now read. This can contain environment
variables in NAME=value form, one per line. This is useful for setting
R_VSIZE, R_NSIZE, RLIBS and R_PAPERSIZE, for example.
You can now paste in more to the console: the limit (which was 2048
chars) is now that of the clipboard. Pasting can take place whilst
the console is busy.
The command `make pkgcheck-pkgname' will do the equivalent of `R CMD
check', that is run all the...
1999 Jul 08
1
Gnome interface status report
Hi,
The Gnome version now compiles, and it should also be working (at least as much as it
ever has). I've changed Makefile.in to the new system, which is very cool. What I
want to work on now is:
- Graphics. I want to move to the Gnome canvas for this, which should be reasonably
easy. This will give us rotated text (which I never got going properly before) and
the option for
2000 Oct 11
2
invalid regular expression after many grep's (PR#691)
Full_Name: J Utans
Version: 1.1.1
OS: NT4 (SP6)
Submission from: (NULL) (155.140.123.250)
After grep is called many times (> 250k), with constant strings as patterns,
it complains with "invalid regular expression" on calls that worked before
(with same pattern and x). At the same time copying to the clipboard
does no longer work with "out of memory" error (i.e. when trying