“package ‘ElemStatLearn‘ is not available for this version of R
"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相关推荐
- 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 ...
- 【R语言】package ‘xxx‘ is not available for this version of R
在面对R语言安装一些包的时候往往会遇到package 'xxx' is not available for this version of R的问题,其他的方法网上都查的到,但几乎都没用:于是可以直接 ...
- 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 ...
- package ‘**’ is not available for this version of R
我发现安装R包不成功时,很多会报这一句,比如: > install.packages("STRINGdb") 将程序包安装入'C:/Users/nice0/AppData ...
- R语言ggplot2可视化使用ggplotly(plotly version of R)可视化散点图(scatter plot)
R语言ggplot2可视化使用ggplotly(plotly version of R)可视化散点图(scatter plot) 目录 R语言ggplot2可视化使用ggplotly(plotly v ...
- R语言安装包报错:package ‘EDASeq ’ is not available for Bioconductor version ‘3.15‘
今天使用TCGA数据库联合分析时,发现EDASeq一直安装不上 于是直接进入Bioconductor官网,下载EDASeq的source package: 再进入Rstudio/Tools/Insta ...
- R语言安装.tar.gz包
R语言安装.tar.gz包 # 以ElemStatLearn包的安装为例 # "package 'ElemStatLearn' is not available for this versi ...
- 毕业论文知识点记录(六)——基于R语言优化maxent模型
毕业论文知识点记录(六)--基于R语言优化maxent模型 第一步:R安装 这个网上都有很多详细的步骤,就不再详细介绍了. 第二步:R安装包 因为优化maxent模型需要用到kuenm程序包,但是官网 ...
- 【佳学基因人工智能】RNA测序数据的信息分析——基因解码信息源的准备
[佳学基因人工智能]RNA测序数据的信息分析--基因解码信息源的准备 人的基因信息解码策略 人的基因信息解码有两种策略,一是数据库比对策略,二是基因解码策略.数据库比对策略只能用数据库中记录过的案例. ...
最新文章
- python培训出来的有公司要吗-参加Python培训后真的能找到工作吗?上海Python培训...
- 图书管理系统之外键的增删改查
- iReport工具的使用(三)
- 补偏救弊 | 关于一致性读与语句性能关系的一大误区
- 数据结构(C#版本)_基本概念及线性表
- java手机单机游戏_手机单机游戏推荐简介
- 网络中的的一级域名和二级域名和三级域名
- 面试之防火墙软硬件架构
- 数据库系统概论-数据库系统阶段的特点
- 计算机上的32位是什么意思啊,解答32位是什么意思
- zte android截屏快捷键,中兴红牛V5手机怎么截屏 中兴红牛V5截图技巧图解
- 伏神月破、伏神跟飞神、动爻、日月关系的思考
- 大小限制_微信传文件有大小限制怎么办?教你3秒把100MPPT压缩成10M
- VOD (Video On Demand),视频点播技术
- [转载]Java Web 服务,第 1 部分: Java Web 服务在未来一年内的发展
- Unity UGUI图文混排源码(二)
- EventBus使用详解
- 6个部件组成一个圆球_六块木头组成一个球形益智玩具,叫什么
- Java爬虫框架WebMagic
- 计算机等级考试证件照怎么做,2019年9月各省全国计算机等级考试报名照片要求...