R 安装sparklyr,ggplot2等包出现如下warning

package ‘****’ is not available (for R version 3.0.2)

系统环境 ubuntu14.04

上述问题纠结了我很久,尝试过自己安装packages.zip包,出现了版本不对的报错

this R is version 3.0.2, package 'ggplot2' requires R >= 3.1

于是考虑到升级系统,猜测可能是底层依赖以及R的版本过低,于是运行如下命令在我的电脑里生效了,大家如果遇到可以用此方法试下

sudo add-apt-repository ppa:marutter/rrutter

sudo apt-get update

sudo apt-get upgrade

如果出现如下错误:

Fetched 30.0 MB in 50min 49s (9,832 B/s)                                       
E: Failed to fetch http://ppa.launchpad.net/marutter/rrutter/ubuntu/pool/main/b/boot/r-cran-boot_1.3-17-1trusty0_all.deb  Connection failed

E: Failed to fetch http://ppa.launchpad.net/marutter/rrutter/ubuntu/pool/main/s/survival/r-cran-survival_2.40-1-1~ubuntu14.04.1~ppa1_amd64.deb  Connection failed

E: Failed to fetch http://ppa.launchpad.net/marutter/rrutter/ubuntu/pool/main/r/rpart/r-cran-rpart_4.1-10-1trusty0_amd64.deb  Size mismatch

E: Failed to fetch http://ppa.launchpad.net/marutter/rrutter/ubuntu/pool/main/r/r-cran-class/r-cran-class_7.3-14-1trusty0_amd64.deb  Size mismatch

E: Failed to fetch http://ppa.launchpad.net/marutter/rrutter/ubuntu/pool/main/r/r-cran-nnet/r-cran-nnet_7.3-12-1trusty0_amd64.deb  Size mismatch

E: Failed to fetch http://ppa.launchpad.net/marutter/rrutter/ubuntu/pool/main/r/r-cran-spatial/r-cran-spatial_7.3-10-1trusty0_amd64.deb  Size mismatch

E: Failed to fetch http://ppa.launchpad.net/marutter/rrutter/ubuntu/pool/main/c/codetools/r-cran-codetools_0.2-15-1cran1trusty0_all.deb  Size mismatch

E: Failed to fetch http://ppa.launchpad.net/marutter/rrutter/ubuntu/pool/main/r/r-base/r-base_3.3.2-1trusty0_all.deb  Size mismatch

E: Failed to fetch http://ppa.launchpad.net/marutter/rrutter/ubuntu/pool/main/r/r-base/r-recommended_3.3.2-1trusty0_all.deb  Size mismatch

E: Failed to fetch http://ppa.launchpad.net/marutter/rrutter/ubuntu/pool/main/r/r-base/r-doc-html_3.3.2-1trusty0_all.deb  Size mismatch

E: Failed to fetch http://ppa.launchpad.net/marutter/rrutter/ubuntu/pool/main/r/r-base/r-base-html_3.3.2-1trusty0_all.deb  Size mismatch

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

运行如下命令:sudo apt-get upgrade --fix-missing

R语言的报错比较粗糙,有些时候只是说not available,但并没有告诉你到底哪里不匹配,这里应该算是个小bug,但Mac-OS以及win目前还没遇到过

R 报错:package ‘***’ is not available (for R version ****) 的解决方案的更多相关文章

  1. 安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment in '(null)'的解决办法。

    国内私募机构九鼎控股打造APP,来就送 20元现金领取地址:http://jdb.jiudingcapital.com/phone.html内部邀请码:C8E245J (不写邀请码,没有现金送)国内私 ...

  2. xhprof查看性能测试图一直报错:failed to execute cmd: " dot -Tpng"多种因素解决方案

    xhprof查看性能测试图一直报错:failed to execute cmd: ” dot -Tpng”多种因素解决方案最近在新环境进行php代码性能测试,用了xhprof这个工具,搭建好以后,点击 ...

  3. svn报错can only be performed on a version resource [at this time].

    报错 can only be performed on a version resource [at this time].   有的文件能提交,有的文件不能提交 猜想:是不是因为缓存问题方法:tea ...

  4. 深度强化学习 之 运行环境 mujoco 报错 ERROR: GLEW initalization error: Missing GL version

    使用  mujoco环境  运行代码,报错 ERROR: GLEW initalization error: Missing GL version 一直无法解决,发现网址: https://blog. ...

  5. centos6的kibana7.1无法启动报错 FATAL Error: /lib64/libc.so.6: version `GLIBC_2.14' not found 升级glibc的问题处理

    centos6的kibana7.1无法启动报错 FATAL  Error: /lib64/libc.so.6: version `GLIBC_2.14' not found 升级glibc的问题处理 ...

  6. 报错信息ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by............)

    报错信息ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by............) L ...

  7. Atlas 安装报错 package Atlas-2.2.1-1.x86_64 is intended for a x86_64 architecture

    安装atlas 报错: package Atlas-2.2.1-1.x86_64 is intended for a x86_64 architecture 百度了好久没找到相关信息,最后看见官网文档 ...

  8. 爬取网页内容后写入文件报错UnicodeEncodeError: 'gbk' codec can't encode的问题解决方案

    老猿使用如下代码读取网页内容: req = urllib.request.Request(url=url,headers=header) text = urllib.request.urlopen(r ...

  9. Cocoapods的安装报错 - Error installing pods:activesupport requires Ruby version >=2.2.2

    1.打开终端 2 移除现有 Ruby 默认源 输入以下指令 $gem sources --remove https://rubygems.org/ 3.使用新的源 输入以下指令 $gem source ...

随机推荐

  1. Cadence16.6安装破解

    1.软件安装 1.运行stepup.exe.出现下面界面后开始安装License manager和project installation. 注意:只安装第一项License manager和第二项p ...

  2. MySQL的binlog数据如何查看

    binlog介绍 binlog,即二进制日志,它记录了数据库上的所有改变. 改变数据库的SQL语句执行结束时,将在binlog的末尾写入一条记录,同时通知语句解析器,语句执行完毕. binlog格式 ...

  3. 使用GITHUB的体会

    github的网页链接  https://github.com/zhangji123/test 学习总结 通过学习使用github软件使我掌握了其使用方法及其独特之处 1.github的网址: htt ...

  4. [转]linux14.04下caffe的安装步骤

     linux14.04下caffe的安装步骤   原文地址:http://blog.csdn.net/xiaoyang19910623/article/details/52997481?locatio ...

  5. [linux]linux普通用户安装rpm软件

    先下载rpm文件 yumdownloader xxxx.rpm 直接wget等其他方式下载也可以. 解压 rpm2cpio xxxx.rpm |cpio -idvm 修改环境变量 将新增的软件的可执行 ...

  6. MySQL报错“1366 - Incorrect integer value: '' XXXXXXX' at row 1 ”

    出现这个错误是因为我在表中插入了一条含有中文字符的语句: 修改方法:(两种) 1:命令行  set names gbk:(此为设置通信编码) 2:my.ini中查找sql-mode 将 sql-mod ...

  7. php安装gearman扩展实现异步分步式任务

    参考: 1.小喵爱你的博客 2.PHP Manual 依赖 1.gcc44 2.boost >=1.39 3.libevent 4.php5.3+ 5.update ld.so.conf 安装依 ...

  8. 编程之美2014挑战赛 复赛 Codehunt平台试题答案

    var appInsights=window.appInsights||function(config){ function r(config){t[config]=function(){var i= ...

  9. struts2中的constant配置详解

    <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE struts PUBLIC "-/ ...

  10. Duang的成长——使用造字程序输入生僻字

    使用造字程序输入生僻字 最近,一个字突然间火了起来,那就是——duang! (图片来自网络) 那么,问题来了!造字程序哪家强?(此处有掌声) 其实,微软早就考虑到各国文字的博大精深,在系统中集成了一个 ...