search for: nsize

Displaying 20 results from an estimated 190 matches for "nsize".

Did you mean: size
2000 Nov 09
3
maximum of nsize=20000k ??
Dear R-ers, somehow it is not possible to increase nsize to more than 20000k. When I specify e.g. > R --vsize=10M --nsize=21000K the result is: free total (Mb) Ncells 99658 350000 6.7 Vcells 1219173 1310720 10.0 Maybe I have overlooked s.th.... Marcus -- +------------------------------------------------------- | Marcus Eger |...
1999 Nov 12
1
R-0.65.1 Startup
...n32 system x86, Win32 status Release major 0 minor 65.1 year 1999 month October day 07 language R Win95 on a 600Mhz Pentium III with 256M RAM (yeah a new machine that I just got). The R-shortcut setup (which is the same for R-0.64.1) is C:\R\rw0651\bin\Rgui.exe --vsize 25M --nsize 10M If I need to provide more information, please let me know. TIA. Partha. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe...
2007 Oct 28
1
tree problem
...ent(s) present in the family (1 = Yes, 2 = No) educ Education Recode (1 = HS, GED, or less, 5 = some college, 6 = Bachelor's or AA degree, 9 = Master's & higher Here are 2 calls to tree and a snip of summary results: ### Use a sample of 100 #### > set.seed(331) > nsize = 100 > sam <- sample(1:nrow(nhis), nsize) > > t1 <- tree( RESP ~ AGE_P + ORIGIN_I + RACRECI2 + parents + educ, + method = "class", + control = tree.control(nobs = nsize, minsize = 10), + data = nhis[sam,]) > summary(t1) Classification tree: tree(fo...
2017 Nov 22
2
function pointers?
.... Distributions can be of various types, with various parameters, but we ran into some problems. I started testing on a simple list of rnorm-based objects. I was a little surprised at the RAM storage requirements, here's an example: N <- 10000 closureList <- vector("list", N) nsize = sample(x = 1:100, size = N, replace = TRUE) for (i in seq_along(nsize)){ closureList[[i]] <- list(func = rnorm, n = nsize[i]) } format(object.size(closureList), units = "Mb") Output says 22.4 MB I noticed that if I do not name the objects in the list, then the storage drops to...
1999 May 15
2
vsize and nsize
I am running R version ??? under Redhat 5.2. It seems as though the --nsize object has no effct on the size of the allocated Ncells as determined using gc(). Yes, I have that much data.... That is if I envoke R with R --vsize 100 --nsize 5000000 then type gc() I get free total Ncells 92202 200000 Vcells 12928414 13107200 Thanks Tony Long Ecology and Evolutiona...
2005 Jul 07
2
r: LOOPING
...riable to be equal to the 3 sd value. 5. the data set has one response variable , the first column, and 60 explanatory variables. 6. we regress each of the explanatory variables against the response and record the slope of the explanatory variable. (i.e. simple linear regression is performed) 7. nsize = 500 since we import 500 rows at a time 8. nruns = how many groups you want to run the analysis on ============================================== ============================================== ============================================== TRY<-function(nsize=500,filename="C:/A.txt&quo...
1999 Apr 27
2
Memory management
Dear all, I don't get it: First of all, the help doesn't say what are the memory limits of R. Say, what's the max heap size for instance ???? Secondly, I invoke R with the following commands each time: rgui --vsize 30M --nsize 1000K rgui --vsize 30M --nsize 2000K rgui --vsize 30M --nsize 3000K rgui --vsize 30M --nsize 4000K I try to open a matrix 8000x8000 by issuing x<-matrix(nrow=8000,ncol=8000) I always get the following message: Error: heap memory (20480 Kb) exhausted [needed 250000 Kb more] It's always...
1999 Oct 06
2
R --nsize 2M runs havoc (under linux)
Dear All, I am running R version 0.65.0 under a) Suse-Linux 6.1, and Suse-Linux 6.2, compiler gcc-2.95, CPUs pentium pro 200, 128MB, and pentium II 450, 128MB b) Solaris 5.7, compiler gcc-2.95, cpu SUN sparc, 4000MB When I set --nsize to more than 1M, R's internal storage management runs havoc. gc() indicates the requested sizes, but the overall process size is much too big: Running R with --vsize 10M --nsize 3M will for example result in a process size of 63.276 MB! Using such an R process will lead to a segmentation fault...
2010 Jan 19
2
Server hanging despite efforts to correct memory limits
...that restriction (set vsize = NA) we end up hanging the server, which requires a restart. Is there any way to increase the memory limits on R while keeping our jobs from hanging? Having to restart the server is a major inconvenience, second only to memory limitations in R. > mem.limits() nsize vsize 100000000 NA > mem.limits(vsize=2^30) nsize vsize 100000000 1073741824 > mem.limits(vsize=2^31) nsize vsize 100000000 1073741824 Warning message: In structure(.Internal(mem. limits(as.integer(nsize), as.integer(vsize))), : NAs introduced by coercion...
1999 Apr 12
3
--nsize and --vsize
...lls rather frequently. And 2Mb of heap seems low compared to 3Mb of cons cells and 1.8Mb for the R binary. How little memory do people have these data? Except possibly on Windows and old teaching labs I would have thought using 15Mb default for R was very reasonable, which is about --vsize 6Mb --nsize 300k On Solaris that gives: PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND 9308 ripley 1 -25 0 15M 8360K sleep 0:02 4.35% R.binary as against the default PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND 9309 ripley 1 -25 0 9664K 6416K...
2001 Aug 22
1
Huge workspace cannot be opened
...d but i did not find the solution yet. As I use R to simulate several arrays of data, my workspace is now 35Mb big and I cannot launch R with it. An "xdr real data read error occured" and R tells me to delete .RData or increase memory. I WON'T delete this file and changing the max-nsize to 40600k did not change a thing. I am running R from Windows with the command line : "$path\Rgui.exe" --min-vsize=10M --vsize=60M --max-vsize=200M --min- nsize=1000k --nsize=2900k --max-nsize=40600k Please let me know the answer as I cannot go on with my work! Thanks for any help! -....
2013 Aug 21
2
[PATCH 1/3] Rationalise whitespace to 4 space indentation with no trailing spaces
...dwServiceSpecificExitCode = 0; + + ReportSvcStatus ( + SERVICE_START_PENDING, + NO_ERROR, + 3000 + ); + + SvcInit ( + dwArgc, + lpszArgv + ); } BOOL RegistryRead ( - HKEY hHive, - wchar_t *szKeyPath, - wchar_t *szValue, - wchar_t *szData, - DWORD *nSize + HKEY hHive, + wchar_t *szKeyPath, + wchar_t *szValue, + wchar_t *szData, + DWORD *nSize ) { - HKEY hKey; - long lSuccess; - - lSuccess = RegOpenKey ( - hHive, - szKeyPath, - &hKey - ); - - if (lSuccess == ERROR_SUCCESS) { - lSuccess = RegQueryValueEx ( - hKey, - szValu...
2004 Jul 20
1
--max-vsize and --max-nsize linux?
...}) ...and a win2000(XP2000+,1GB) machine makes it in several minutes, but my linux notebook (XP2.6GHZ,512MB) don't get success after some hours. I recognize that the cpu load is most time relative small, but the hardisk have a lot of work. Is this a problem of --max-vsize and --max-nsize and i should play with that, because i can't believe that the difference of RAM is the reason? Have anybody experience what is an "optimal" setting with i.e. 512 MB RAM in Linux? Many thanks for help and comments regards,christian
2015 Jul 23
2
Método S3 paquete
...lando, cuyo argumento principal es "res" que básicamente es una lista con un solo componente. Pero si el segundo argumento llamado "oneSize" es FALSE, "res" es una lista de listas. Lo que he escrito hasta el momento es lo siguiente: anthr <- function(res, oneSize, nsizes){ UseMethod("anthr") } anthr.tri <- function(res, oneSize, nsizes){ if(oneSize){ cases <- c() cases <- res$meds }else{ cases <- list() for (i in 1 : (nsizes - 1)){ cases[[i]] <- res[[i]]$meds } } return(cases) } El problema cuando...
2015 Jan 17
0
default min-v/nsize parameters
...Martin Morgan found that this leads to a lot of GC > overhead during package loading and at least in our tests can significantly > increase the load time of complex packages. > > If we set the triggers at the command line beyond the reach of > library(Matrix) (--min-vsize=2048M --min-nsize=45M), then we see: > > used (Mb) gc trigger (Mb) max used (Mb) > Ncells 1076859 57.6 47185920 2520 6260069 334.4 > Vcells 1671431 12.8 268435456 2048 9010303 68.8 > > So by effectively disabling the GC, we let R consume 335MB N + 70MB of V, > but loading goes a...
2000 Oct 02
3
R vs S-PLUS with regard to memory usage
I am trying to translate code from S-PLUS to R and R really struggles! After starting R with the foll. R --vsize 50M --nsize 6M --no-restore on a 400 MHz Pentium with 192 MB of memory running Linux (RH 6.2), I run a function that essentially picks up an external dataset with 2121 rows and 30 columns and builds a lm() object and also runs step() ... the step() takes forever to run...(takes very little time in S-PLUS). I...
2013 Aug 29
5
[PATCH 1/6] Rationalise whitespace to 4 space indentation with no trailing spaces
...dwServiceSpecificExitCode = 0; + + ReportSvcStatus ( + SERVICE_START_PENDING, + NO_ERROR, + 3000 + ); + + SvcInit ( + dwArgc, + lpszArgv + ); } BOOL RegistryRead ( - HKEY hHive, - wchar_t *szKeyPath, - wchar_t *szValue, - wchar_t *szData, - DWORD *nSize + HKEY hHive, + wchar_t *szKeyPath, + wchar_t *szValue, + wchar_t *szData, + DWORD *nSize ) { - HKEY hKey; - long lSuccess; - - lSuccess = RegOpenKey ( - hHive, - szKeyPath, - &hKey - ); - - if (lSuccess == ERROR_SUCCESS) { - lSuccess = RegQueryValueEx ( - hKey, - szValu...
2000 Aug 17
2
R on os390
G'day R friends, I didn't get any replies on the main list so I thought I'd try with the experts. I was wondering if anyone's ported R to os390. If so, are the vsize and nsize limits the same as other platforms? I could really annoy those SAS guys then. thanks, John Strumila john.strumila@team.telstra.com -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send &quo...
2001 Mar 01
3
How do you expand memory capability (Was: R crashes in Windows ME)
...s > 40 variables, I think that R crashes because of the memory limit. In Maindonald?s UsingR text, on pg 3, there?s a footnote that reads: "If you want larger memory space than the default you may want a target akin to <path to binary>\rw091\bin\rgui.exe --visize 30M --nsize 1000K [The default is --vsize 6M --nsize 250K (...)] I tried that, but R still crashes. How come? Thanks for any help, Regards, Henry L. -------------- next part -------------- An HTML attachment was scrubbed... URL: https://stat.ethz.ch/pipermail/r-help/attachments/20...
2005 Dec 20
1
Problems in batch mode
Dear R-users, I am trying to run some simulations in batch mode. In an older version of the program, I used rterm --vsize=100M --nsize=5000K --restore --save <input file> output file, however, in the new version R 2.2.0 , the parameters vsize and nsize are ignored. I can use the command memory.limit to increase memory, but I am not sure if this corresponds to vsize and nsize. Does anyone know how can I set these quanti...