Skip to content

directory structure of R 2.12.0 distribution

4 messages · Kevin Coombes, Gabor Grothendieck, Duncan Murdoch

#
I am just revising my batch files which call R and have a question
regarding the directory structure of the R distribution in R 2.12.0.

Prior to R 2.12.0 the R executables were in R_HOME\bin but now are in
R_HOME\bin\i386 on my machine.  I assume that there is a different
subdirectory of bin on 64 bit machines.   Is that right?

Is it always the case that there is exactly one subdirectory of bin
and that the R executables are there?

Or is it possible that there are more than one subdirectory in bin?
If more than one is possible how do we know which one is the one to
use?
#
Hi,

On my 64-bit machine, there are two subdirectories:
     i386
     x64
I usually want to use the 64-bit executable.  However, some packages 
have not yet been compiled for a 64-bit machine, so for those I need to 
use the 32-bit i386 subdirectory.

     Kevin
On 12/8/2010 10:32 AM, Gabor Grothendieck wrote:
#
On Wed, Dec 8, 2010 at 11:43 AM, Kevin R. Coombes
<kevin.r.coombes at gmail.com> wrote:
Thanks.

Is there something at installation time that says which to use?

Is there a registry entry?

Is this documented anywhere?
#
Gabor Grothendieck wrote:
No, that's up to the user.  If you want to run 32 bit R, use i386.  If 
you want to run 64 bit R, use x64.  (You need to be on 64 bit Windows 
and to have chosen to install both to have this choice.)
There's an entry in the 32 bit registry if you install 32 bit R, and one 
in the 64 bit registry if you install 64 bit R.  Writing R Extensions 
discusses this.
It was announced in the CHANGES file, and there's a description in the R 
Admin manual as well as the Writing R Extensions manual.

Duncan Murdoch