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. C语言学习笔记(一)_hello world

    一.建立一个文件a.c,写入: #include <stdio.h> //使用printf库函数之前,必须include <stdio.h>int main()//main函数 ...

  2. c# SqlHelper Class

    using System;using System.Collections;using System.Collections.Generic;using System.Data;using Syste ...

  3. Ubuntu 14.04 (32位)上搭建Hadoop 2.5.1单机和伪分布式环境

    引言 一直用的Ubuntu 32位系统(准备下次用Fedora,Ubuntu越来越不适合学习了),今天准备学习一下Hadoop,结果下载Apache官网上发布的最新的封装好的2.5.1版,配置完了根本 ...

  4. 使用Memcached提高.NET应用程序的性能

    在应用程序运行的过程中总会有一些经常需要访问并且变化不频繁的数据,如果每次获取这些数据都需要从数据库或者外部文件系统中去读取,性能肯定会受到影响,所以通常的做法就是将这部分数据缓存起来,只要数据没有发 ...

  5. jquery中prop()与attr()方法的区别

    一.prop() 简单来说是当需要判断真假时使用,如复选框时: if( $(this).prop('checked')){ //当返回true时在这里调用 }else{ //当返回false时在这里调 ...

  6. NC WebService接口开发流程

    一.定义类: 接口类 包定义在public下,接口类名为I开头,Service结尾 实现类 包定义在private下,实现类名以ServiceImpl结尾 VO类 若有VO类,也放在public下 U ...

  7. 学习python之练习(二)

    #2.已知a1=1,a2=2,an=a(n-1)+a(n-2)(n>=3),求数列{a1,a2,a3....an}的总和 import math arr = [0]*100 num = 0 fo ...

  8. 有关pascal的填充语句小技巧

    背景 今天打代码,用了一次fillchar(a,sizeof(a),1); 结果a数组(of longint)所赋的值却不是1 探索 ···pascal program fillchartest; v ...

  9. jsp中利用response.senddirect(str)重定向,传递参数新思路

    用Servlet进行请求重定向,参数传递好办,直接用request.setAttribute(str1,str2); 但是如果不用Servlet 而是直接用jsp进行转发呢? 我们首先要知道   请求 ...

  10. mysqld: Incorrect key file for table

    错误 140624 0:53:42 [ERROR] /usr/libexec/mysqld: Incorrect key file for table './xx/xxx.MYI'; try to r ...