摘要:
1. 编辑 /etc/apt/sources.listsudo cp /etc/apt/sources.list /etc/apt/sources.list.backupsudo gedit sources.list添加 deb http://cran.case.edu/bin/linux/ubuntu natty/注:或其他mirror地址,见http://cran.r-project.org/mirrors.html2. sudo apt-get updatesudo apt-get install r-base即可安装R基础包3. 终端键入R,进入R.libPaths():查看包的安装目 阅读全文