Skip to content
Prev 310385 / 398506 Next

Error in memory.size(size) when calling R in batch mode (but not in interactive mode)

Thank you for the hint.

In batch mode, I got:

R version 2.15.1 (2012-06-22)
Platform: i386-pc-mingw32/i386 (32-bit)

In interactive mode, I got:


R version 2.15.1 (2012-06-22)
Platform: x86_64-pc-mingw32/x64 (64-bit)


And I have found the cause. In my path, I had still included C:\R-2.15.1\bin\i386 (I had copied an old batch file, and overlooked this).

The problem is solved now.


-----Original Message-----
From: Milan Bouchet-Valat [mailto:nalimilan at club.fr]
Sent: vrijdag 9 november 2012 14:34
To: Franckx Laurent
Cc: 'r-help at r-project.org'
Subject: Re: [R] Error in memory.size(size) when calling R in batch mode (but not in interactive mode)

Le vendredi 09 novembre 2012 ? 10:43 +0000, Franckx Laurent a ?crit :
c) When you run "R CMD BATCH", the 32-bit version of R is used, while when you run it interactively, you start the 64-bit version.

To check this, add sessionInfo() to your batch script, and have a look at the output.


Hope this helps
________________________________
 [http://www.vito.be/e-maildisclaimer/bsds.png]  <http://bsds.vito.be>

VITO Disclaimer: http://www.vito.be/e-maildisclaimer