Re: [R] Determining 32- vs. 64-bit Windows

2014-04-10 Thread Fisher Dennis
Peter Your proposal appears to work better than expected: On a 64-bit machine, it reported 64 when R64 was launched 32 when R62 was launched On a 32-bit machine, it reported 32. The underlying issue for me is that I am calling c code — I want t

Re: [R] Determining 32- vs. 64-bit Windows

2014-04-10 Thread peter dalgaard
I believe that b. is .Machine$sizeof.pointer*8. I am not aware of a method to figure out the difficult part of a.: whether a 32 bit R is running on 64 bit Windows. I'd expect that you have to ask the OS somehow. Google coughs up one or two interesting pointers. -pd On 10 Apr 2014, at 21:48

Re: [R] Determining 32- vs. 64-bit Windows

2014-04-10 Thread Nordlund, Dan (DSHS/RDA)
.org] On Behalf Of Fisher Dennis Sent: Thursday, April 10, 2014 12:48 PM To: r-h...@stat.math.ethz.ch Subject: [R] Determining 32- vs. 64-bit Windows 3.0.2 Windows Colleagues, If I am setting up code for others and I don�t know their configuration, what is the simplest way to find out

[R] Determining 32- vs. 64-bit Windows

2014-04-10 Thread Fisher Dennis
3.0.2 Windows Colleagues, If I am setting up code for others and I don’t know their configuration, what is the simplest way to find out the following within R: a. is the system 32- or 64-bit? b. if the system is 64-bit, is R 32- or 64-bit? Dennis Dennis Fisher MD P < (The "P