在windows中使用R经常遇到某某包不能正常安装或更新的问题,比如:
> require(ggplot2)
Loading required package: ggplot2
Failed with error: ‘package ‘ggplot2’ was built before R 3.0.0: please re-install it’
或者:
> library(ggplot2)
Error : package ‘proto’ was built before R 3.0.0: please re-install it
Error: package or namespace load failed for ‘ggplot2’
即使你换镜像有时也会运气不好无法更新ggplot2或proto。
请问:在unix、linux或ubuntu中存在这样的问题吗?
是不是在unix中安装R扩展包都是直接从源代码来编译然后再安装?
谢谢!请指教!
在windows中能否自己编译R扩展包?