我电脑里的R在路径上, struct 是这样的……
Path
C:\Program Files\R\R-x.y.z\bin
Structure
-
bin
-
x64
x64
x64
R.exe
Rscript.exe
- other files
R.exe
Rscript.exe
-
如你所见,有两个文件名为100.101也是如此.这些冗余文件之间有什么区别?
我电脑里的R在路径上, struct 是这样的……
C:\Program Files\R\R-x.y.z\bin
bin
x64
x64
x64
R.exe
Rscript.exe
R.exe
Rscript.exe
如你所见,有两个文件名为100.101也是如此.这些冗余文件之间有什么区别?
我相信它们是从Windows上的R版本同时提供32位和64位版本的日子里遗留下来的.在R—4.2.0中,他们放弃了32位[1],现在只发布了64位版本的R,但可能有很多工具仍然依赖于both c:/R/R-x.y.z/bin/R.exe
和c:/R/R-x.y.z/bin/x64/R.exe
的存在.
在我做的一个快速测试中(Windows上的R—4.2.3),它们显然是不同的文件,但帮助suggests的意图:
C:\R\R-4.2.3> R.exe --help
Usage: R.exe [command args]
where 'command args' can be
--arch n for n=i386, x64, 32 or 64
any other arguments listed by R.exe --arch x64 --help
C:\R\R-4.2.3> x64\R.exe --help
Usage: Rterm [options] [EnvVars]
Start R, a system for statistical computation and graphics, with the
specified options
EnvVars: Environment variables can be set by NAME=value strings
Options:
-h, --help ...
--version
--encoding=enc
--encoding enc
--save
--no-save
...
(第二次通话中的输出大大缩短,我很抱歉.
单从--help
看,顶层bin\R.exe
看起来真的是一个方便的包装.
C:\R\R-4.2.3> R.exe --arch 32
The system cannot find the path specified.
因此,我的知情但不权威的猜测/假设是,它们都是为了在它们的便利包装器中进行向后兼容性的度量.我可能错了.
左:
NEWS4.html
(没有预期的时间轴).