Dear All, I have encountered an error while using nlme that states Error: cannot allocate vector of size 16535 kb In addition: Warning message: Reached totol allocation of 63Mb: see help(memory.size). So I was trying to modify "the default memory available for data storage" by launching R from command line, but I do not quite understand how I should set the relevant values, supposed to be using gc() and memory.size(). Any help will be very much appreciated... Many thanks, In-Sun In-Sun Nam School of Pharmacy and Pharmaceutical Sciences University of Manchester Oxford Road Manchester M13 9PL -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Dear In-Sun, how to solve your problem depends on the system you are working. If you are starting R via UNIX, you should call R with R --vsize=500M --nsize=20000k (500 and 20000 are only examples) If you are using R via Windows, try go on the R-icon on your desktop and use the right mouse botton. Select "properties" and in the field "target" instead of C:\Programme\R\rw1051\bin\Rgui.exe (path is also an example) consider C:\Programme\R\rw1051\bin\Rgui.exe --max-mem-size=512M (whereby 512 is also an example) Best regards yours s. On 24 Jul 2002, at 9:30, In-Sun Nam wrote: Dear All, I have encountered an error while using nlme that states Error: cannot allocate vector of size 16535 kb In addition: Warning message: Reached totol allocation of 63Mb: see help(memory.size). So I was trying to modify "the default memory available for data storage" by launching R from command line, but I do not quite understand how I should set the relevant values, supposed to be using gc() and memory.size(). Any help will be very much appreciated... Many thanks, In-Sun In-Sun Nam School of Pharmacy and Pharmaceutical Sciences University of Manchester Oxford Road Manchester M13 9PL -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. -.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._._._._ salvatore barbaro department of public economics platz der g?ttinger sieben 3 37073 g?ttingen tel.: +49 551 3919704 fax: +49 551 39 7353 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
That must be on Windows: see the rw-FAQ. That computer has very little memory: you probably need to add some RAM. On Wed, 24 Jul 2002, In-Sun Nam wrote:> Dear All, > > I have encountered an error while using nlme that states > > Error: cannot allocate vector of size 16535 kb > In addition: Warning message: > Reached totol allocation of 63Mb: see help(memory.size). > > So I was trying to modify "the default memory available for data storage" by > launching R from command line, but I do not quite understand how I should > set the relevant values, supposed to be using gc() and memory.size(). > > Any help will be very much appreciated... > > Many thanks, > In-Sun > > In-Sun Nam > School of Pharmacy and Pharmaceutical Sciences > University of Manchester > Oxford Road > Manchester > M13 9PL > > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-help 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-help-request at stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ >-- 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 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._