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 Less Than" Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com [[alternative HTML version deleted]]
Look at
Sys.info()
R.version()
Hope this is helpful,
Dan
Daniel J. Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services
From: r-help-bounces@r-project.org [mailto:r-help-bounces@r-project.org] On
Behalf Of Fisher Dennis
Sent: Thursday, April 10, 2014 12:48 PM
To: r-help@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 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 Less Than" Company)
Phone: 1-866-PLessThan (1-866-753-7784)
Fax: 1-866-PLessThan (1-866-753-7784)
www.PLessThan.com<http://www.PLessThan.com>
[[alternative HTML version deleted]]
______________________________________________
R-help@r-project.org<mailto:R-help@r-project.org> mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
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 , Fisher Dennis <fisher at plessthan.com> wrote:> 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 Less Than" Company) > Phone: 1-866-PLessThan (1-866-753-7784) > Fax: 1-866-PLessThan (1-866-753-7784) > www.PLessThan.com > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.-- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com