[Rd] directory structure of R 2.12.0 distribution

2010-12-08 Thread Gabor Grothendieck
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?

-- 
Statistics  Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] directory structure of R 2.12.0 distribution

2010-12-08 Thread Kevin R. Coombes

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:

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?



__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] directory structure of R 2.12.0 distribution

2010-12-08 Thread Gabor Grothendieck
On Wed, Dec 8, 2010 at 11:43 AM, Kevin R. Coombes
kevin.r.coom...@gmail.com wrote:
 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.


Thanks.

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

Is there a registry entry?

Is this documented anywhere?

-- 
Statistics  Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] directory structure of R 2.12.0 distribution

2010-12-08 Thread Duncan Murdoch

Gabor Grothendieck wrote:

On Wed, Dec 8, 2010 at 11:43 AM, Kevin R. Coombes
kevin.r.coom...@gmail.com wrote:

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.



Thanks.

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


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.)



Is there a registry entry?


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.




Is this documented anywhere?


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

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel