我怎么能知道如果R是在64位上运行与32? [英] How can I know if R is running on 64 bits versus 32?
本文介绍了我怎么能知道如果R是在64位上运行与32?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的版本输出是:
> version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 2
minor 15.2
year 2012
month 10
day 26
svn rev 61015
language R
version.string R version 2.15.2 (2012-10-26)
nickname Trick or Treat
,其中操作系统是的mingw32。这是否意味着我只用32位?我怎样才能改变这种状况?
where os is mingw32. Does that mean I'm using only 32 bits? How can I change that?
感谢
推荐答案
您可以通过确定这Sys.getenv(R_ARCH)
这将返回要么 / I386
或 / 64
。
You can determine this via Sys.getenv("R_ARCH")
which will return either /i386
or /x64
.
这篇关于我怎么能知道如果R是在64位上运行与32?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文