"package 'ElemStatLearn' is not available for this version of R

问题:

# install.packages('ElemStatLearn')

# "package 'ElemStatLearn' is not available for this version of R

require(e1071)
install.packages('ElemStatLearn')
require(ElemStatLearn)#package containing the dataset#Loading the data
attach(mixture.example) #is just a simulated mixture data with 200 rows and 2 classes
names(mixture.example)

解决:


install.packages(packageurl, repos=NULL, type="source")

# https://cran.r-project.org/src/contrib/Archive/ElemStatLearn/ElemStatLearn_2015.6.26.tar.gzpackageurl <- "https://cran.r-project.org/src/contrib/Archive/ElemStatLearn/ElemStatLearn_2015.6.26.tar.gz"
install.packages(packageurl, repos=NULL, type="source")

完整错误:

Warning message:
"unable to access index for repository https://CRAN.R-project.org/package=ElemStatLearn/src/contrib:无法打开URL'https://CRAN.R-project.org/package=ElemStatLearn/src/contrib/PACKAGES'"
Warning message:
"package 'ElemStatLearn' is not available for this version of RA version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages"
Warning message:
"unable to access index for repository https://CRAN.R-project.org/package=ElemStatLearn/bin/windows/contrib/4.1:无法打开URL'https://CRAN.R-project.org/package=ElemStatLearn/bin/windows/contrib/4.1/PACKAGES'"
载入需要的程辑包:ElemStatLearnWarning message in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
"不存在叫'ElemStatLearn'这个名字的程辑包"
Error in attach(mixture.example): 找不到对象'mixture.example'
Traceback:1. attach(mixture.example)

The package has been removed from CRAN:
CRAN - Package ElemStatLearn (r-project.org)

You can still install an archived version.

参考:Installing "ElemStatLearn" error

参考:R

参考:package ‘ElemStatLearn’ is not available (for R version 4.0.2)

“package ‘ElemStatLearn‘ is not available for this version of R相关推荐

  1. Warning in install.packages : package ‘RGtk2’ is not available for this version of R

    Warning in install.packages : package 'RGtk2' is not available for this version of R.install.package ...

  2. 【R语言】package ‘xxx‘ is not available for this version of R

    在面对R语言安装一些包的时候往往会遇到package 'xxx' is not available for this version of R的问题,其他的方法网上都查的到,但几乎都没用:于是可以直接 ...

  3. R语言下载CLL包报错arning in install.packages : package ‘CLL’ is not available for this version of RA ve

    错误: Warning in install.packages :package 'CLL' is not available for this version of R.A version of t ...

  4. package ‘**’ is not available for this version of R

    我发现安装R包不成功时,很多会报这一句,比如: > install.packages("STRINGdb")   将程序包安装入'C:/Users/nice0/AppData ...

  5. R语言ggplot2可视化使用ggplotly(plotly version of R)可视化散点图(scatter plot)

    R语言ggplot2可视化使用ggplotly(plotly version of R)可视化散点图(scatter plot) 目录 R语言ggplot2可视化使用ggplotly(plotly v ...

  6. R语言安装包报错:package ‘EDASeq ’ is not available for Bioconductor version ‘3.15‘

    今天使用TCGA数据库联合分析时,发现EDASeq一直安装不上 于是直接进入Bioconductor官网,下载EDASeq的source package: 再进入Rstudio/Tools/Insta ...

  7. R语言安装.tar.gz包

    R语言安装.tar.gz包 # 以ElemStatLearn包的安装为例 # "package 'ElemStatLearn' is not available for this versi ...

  8. 毕业论文知识点记录(六)——基于R语言优化maxent模型

    毕业论文知识点记录(六)--基于R语言优化maxent模型 第一步:R安装 这个网上都有很多详细的步骤,就不再详细介绍了. 第二步:R安装包 因为优化maxent模型需要用到kuenm程序包,但是官网 ...

  9. 【佳学基因人工智能】RNA测序数据的信息分析——基因解码信息源的准备

    [佳学基因人工智能]RNA测序数据的信息分析--基因解码信息源的准备 人的基因信息解码策略 人的基因信息解码有两种策略,一是数据库比对策略,二是基因解码策略.数据库比对策略只能用数据库中记录过的案例. ...

最新文章

  1. python培训出来的有公司要吗-参加Python培训后真的能找到工作吗?上海Python培训...
  2. 图书管理系统之外键的增删改查
  3. iReport工具的使用(三)
  4. 补偏救弊 | 关于一致性读与语句性能关系的一大误区
  5. 数据结构(C#版本)_基本概念及线性表
  6. java手机单机游戏_手机单机游戏推荐简介
  7. 网络中的的一级域名和二级域名和三级域名
  8. 面试之防火墙软硬件架构
  9. 数据库系统概论-数据库系统阶段的特点
  10. 计算机上的32位是什么意思啊,解答32位是什么意思
  11. zte android截屏快捷键,中兴红牛V5手机怎么截屏 中兴红牛V5截图技巧图解
  12. 伏神月破、伏神跟飞神、动爻、日月关系的思考
  13. 大小限制_微信传文件有大小限制怎么办?教你3秒把100MPPT压缩成10M
  14. VOD (Video On Demand),视频点播技术
  15. [转载]Java Web 服务,第 1 部分: Java Web 服务在未来一年内的发展
  16. Unity UGUI图文混排源码(二)
  17. EventBus使用详解
  18. 6个部件组成一个圆球_六块木头组成一个球形益智玩具,叫什么
  19. Java爬虫框架WebMagic
  20. 计算机等级考试证件照怎么做,2019年9月各省全国计算机等级考试报名照片要求...

热门文章

  1. 字符串翻转的两种方法(C++版本)
  2. SSC:面向大规模场景识别的语义扫描context(IROS2021)
  3. 基于 U-Net 的医学影像分割算法综述
  4. 轻量级RGB-D显著目标检测的中层融合
  5. 论文简述 | CamVox: 一种低成本、高精度的激光雷达辅助视觉SLAM系统
  6. 基于双目事件相机的视觉里程计
  7. 汇总|C++系统计时方法以及系统时间戳获取方法
  8. 混合深度卷积,更少参数下的轻量级网络
  9. OpenCv java 颜色空间(9)
  10. 针对阿片类药物使用障碍的药物重定位