如何在Linux Mint 17.1上安装R 3.1.2 [英] How to install R 3.1.2 on Linux Mint 17.1

查看:102
本文介绍了如何在Linux Mint 17.1上安装R 3.1.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在计算机上安装了最新版本的Linux Mint(17.1).我安装了R版本3.0.2.但是,当我尝试安装软件包xslsx或dplyr时,系统说这些软件包不适用于我拥有的R版本,并且应该安装在R 3.1.2版本上.一直在尝试从所有可能的方式升级R,但是我没有取得成功的结果.有人遇到同样的问题吗?

I have installed the latest version of Linux Mint (17.1) in my computer. I installed R version 3.0.2. However, when I try to install the package xslsx, or dplyr, the system says that these packages are unavailable for the R version I have, and that the shall be installed on the R 3.1.2 version. 've been trying to upgrade R from all the possible means but I haven't had a sucessful result. Is anyone experiencing the same problem?

推荐答案

按照此处发布的说明进行操作:

Follow the instructions posted here: How to upgrade R in ubuntu?

请注意,Linux Mint 17.1依赖于Ubuntu Trusty软件包基础,因此您将需要使用trusty/作为Ubuntu版本.另外,请确保在过程结束时使用命令sudo apt-get upgrade r-base,而不仅仅是sudo apt-get upgrade,否则R将不会升级.

Note that Linux Mint 17.1 relies upon the Ubuntu Trusty package base, so you will need to use trusty/ as the Ubuntu version. Also, make sure to use the command sudo apt-get upgrade r-base at the end of the procedure, not just sudo apt-get upgrade, otherwise R won't be upgraded.

您的问题可能被认为是题外话,但对其他Mint用户可能会有帮助.

Your question may be considered off-topic, but it can be helpful to other Mint users.

这篇关于如何在Linux Mint 17.1上安装R 3.1.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆