[R] increasing memory size
clive.jenkins at clara.net
Thu Apr 20 12:25:11 CEST 2000
Kaspar Pflugshaupt wrote:
> (message from 20.4.2000 4:09 Uhr):
> > I also want to increase memory size in R, version 0.90.1 on Windows NT 4.0.
> > My R icon is on my Office toolbar so I right-click it, select Properties
> > and alter the target. Then I get an error box saying:
> > "The name "F:\Program Files\rw0901\bin\Rgui.exe --vsize 20M --nsize 2M"
> > specified in the target box is not valid. Make sure the path and filename
> > are correct."
> > OK, what next?
> Close the quotes before appending the parameters, thus writing
> "F:\Program Files\rw0901\bin\Rgui.exe" --vsize 20M --nsize 2M
> That should do it (did it for me). I'm no Windows expert, so don't ask why
> this is necessary (shouldn't be, IMHO)
The quotes _are_ necessary and the reason is the same for both Windows
and Unix. If any space (or other argument separator character) is
embedded in an argument, the entire argument needs to be surrounded by
quotes. For example:
a b c d # run command "a" with 3 parameters "b", "c" and "d"
"a b" c d # run command "a b" with 2 parameters "c" and "d"
"a b c d" # run command "a b c d" with no parameters
a "b c d" # run command "a" with 1 parameter "b c d"
Note that if you upgrade to R 1.0.0 you will need:
"F:\Program Files\rw1000\bin\Rgui.exe" --vsize=20M --nsize=2M
(the command now has 2 parameters instead of 4)
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
More information about the R-help