windows下编译安装R源代码包的几点注意事项,欢迎提供win7下x64安装R3.0.1失败的解决方案
2013-08-20 11:47
423 查看
win 7 x64下编译安装R3.0.1.tar.gz失败。
错误提示:
错误相关网页:https://stat.ethz.ch/pipermail/r-devel/2012-August/064600.html
未发现解决方案,求解决方案。。
转战到Vbox下的win xp下继续使用Rtools30.exe与R 3.0.1.tar.gz 进行编译安装,不存在上述错误,但出现了无法create tmp/××××问题
按照官网的
Set the environment variable TMPDIR to point to a writable directory, with a path specified with forward slashes and no spaces. (The default
is /tmp, which may not be useful on Windows.)
设置环境变量,名称TMPDIR 路径为c:\temp 即可,
继续编译,出现了加载tools包时的parse(......) 语法错误,无法继续编译
解决方案:编码问题,利用Editplus 软件,修改tools下的R下的的所有文件File Format 为Unix/Mac OS X;File Encoding 为ANSI
编译完成。成功生成R.exe Rscript.exe 可以双击运行。
错误提示:
> collect2: ld returned 1 exit status > make[3]: *** [R.dll] Error 1 > make[2]: *** [../../bin/x64/R.dll] Error 2 > make[1]: *** [rbuild] Error 2 > make: *** [all] Error 2
错误相关网页:https://stat.ethz.ch/pipermail/r-devel/2012-August/064600.html
未发现解决方案,求解决方案。。
转战到Vbox下的win xp下继续使用Rtools30.exe与R 3.0.1.tar.gz 进行编译安装,不存在上述错误,但出现了无法create tmp/××××问题
按照官网的
Set the environment variable TMPDIR to point to a writable directory, with a path specified with forward slashes and no spaces. (The default
is /tmp, which may not be useful on Windows.)
设置环境变量,名称TMPDIR 路径为c:\temp 即可,
继续编译,出现了加载tools包时的parse(......) 语法错误,无法继续编译
解决方案:编码问题,利用Editplus 软件,修改tools下的R下的的所有文件File Format 为Unix/Mac OS X;File Encoding 为ANSI
编译完成。成功生成R.exe Rscript.exe 可以双击运行。
相关文章推荐
- windows python3.6下安装scrapy的几点注意事项
- 在windows下安装PostgreSQL的几点注意事项
- Windows XP和Windows 7双系统安装说明和注意事项
- opencv编译安装contrib包的注意事项和错误解决
- 最小化安装CentOS6 VMware-tools安装几点注意事项
- 在64位Windows 7/Windows Server 2008上安装ArcGIS Server 9.3.1的注意事项
- MongoDB安装为Windows服务方法与注意事项
- windows下python IDE安装注意事项&Python安装及编辑器UliPad安装
- Windows 下 Apple Mobile Device Support 安装失败分析和解决方案
- CentOS6.8安装caffe的几点注意事项
- fedora 安装 的 几点 注意事项
- MongoDB安装为Windows服务方法与注意事项
- Mysql安装注意事项、安装失败的五个原因分析
- windows 8.1安装VS2005出现安装失败:未能安装.NET framework 3.5解决方案
- Windows7下Microsoft SQL Server 2008安装图解和注意事项
- Windows 7系统安装前的注意事项
- windows下安装gulp-sass编译不过去报错的解决方案;
- Windows上安装Maven的注意事项
- windows下安装nodejs注意事项
- [解决方案] Error 0x80040609 - Windows Live Essentials beta 安装失败