简体   繁体   English

R错误-无法从tidyverse加载包'colorspace'

[英]R error - package 'colorspace' not loading from tidyverse

I'm new to R, and am following some instructions to start exploring graphics. 我是R的新手,并且正在按照一些说明开始探索图形。 I have installed tidyverse, but when I try to library(tidyverse) I get the following: 我已经安装了tidyverse,但是当我尝试library(tidyverse)时,我得到了以下信息:

Error: package or namespace load failed for 'tidyverse' in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called 'colorspace' 错误:在loadNamespace(i,c(lib.loc,.libPaths()),versionCheck = vI [[i]])中“ tidyverse”的包或名称空间加载失败:没有名为“ colorspace”的包

I've gone to the colorspace page on cran and downloaded the file manually, but when I tried to install it I got this: 我去了cran上的colorspace页面并手动下载了文件,但是当我尝试安装它时,我得到了:

Installing package into 'C:/Users/Neil/Documents/R/win-library/3.5' (as 'lib' is unspecified) Warning in install.packages : package 'colorspace_1.2-5.zip' is not available (for R version 3.5.1) 将软件包安装到“ C:/Users/Neil/Documents/R/win-library/3.5”(未指定“ lib”)install.packages中的警告:软件包“ colorspace_1.2-5.zip”不可用(适用于R版本3.5.1)

Does this mean I can't use colorspace at all with my (up to date) version of R, and does that mean I can't use tidyverse as a result? 这是否意味着我的R版本(最新版本)根本不能使用色彩空间,是否也就不能使用tidyverse? Or is there a way around this? 还是有办法解决?

Thanks. 谢谢。 A Newbie. 一个新手。

Try installing the devtools package and then run: 尝试安装devtools软件包,然后运行:

devtools::install_github('cran/colorspace')

This would install from Github, not CRAN. 这将从Github安装,而不是CRAN。

Does that work? 那样有用吗?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 色彩空间 R 包是 Tidyverse 的一部分吗? (相互矛盾的信息) - Is the colorspace R package part of the Tidyverse? (conflicting information) 加载 tidyverse 时出错:package 或 namspace laod 失败 - Error with loading tidyverse: package or namspace laod failed 无法在 R 中安装 tidyverse 包。错误没有调用包 - Cannot install tidyverse package in R. Error there is no package called 加载 ggplot2 时抛出错误:package 或命名空间加载失败....没有 package 称为“颜色空间” - Loading ggplot2 throwing the Error: package or namespace load failed .... there is no package called ‘colorspace’ 为什么在加载软件包tidyverse时出现错误? - Why do I get an error when loading the package tidyverse? 加载 tidyverse 导致错误消息没有名为“readr”的包 - Loading tidyverse leads to error message there is no package called 'readr' 全新安装后加载 tidyverse 时出错 - R (loadNamespace, broom, backports) - Error loading tidyverse after fresh install - R (loadNamespace, broom, backports) 运行 R Markdown '包或命名空间加载失败'时出现 tidyverse 错误 - tidyverse error while running R Markdown 'package or namespace load failed' 库中的错误(tidyverse):没有名为'tidyverse'的包 - Error in library(tidyverse) : there is no package called ‘tidyverse’ 从 GitHub 加载 R package 时出现“包或命名空间加载失败”错误 - "package or namespace load failed" error in loading R package from GitHub
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM