下面的内容过去是有用的,现在却不起作用:
apt-get install r-base=3.3.1-1trusty0 r-base-dev=3.3.1-1trusty0 r-recommended=3.3.1-1trusty0 r-base-core=3.3.1-1trusty0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you ha
我正在尝试使用topicmodels安装R的conda包。根据,我在控制台上放置了以下命令:
conda install -c conda-forge r-topicmodels
但我有个错误:
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- r-profvis
- r-topicmodels
正如我所看到的,profvis是RStudio的内置包。删除它,就会导致RStudio的删除。
如何安装topicmodels包?
我无法在我的ubuntu机器上安装e1071。
我试着用:
sudo apt-get install r-cran-e1071
给出一个错误消息:
Warning messages:
1: In open.connection(con, "r") :
unable to connect to 'cran.r-project.org' on port 80.
2: E: Unable to locate package r-cran-e1071
和
install.packages("e1071", dep = TRUE, type = &
我尝试使用install.packages('ggpubr')命令安装ggpubr包,但收到错误:
Installing package into ‘/home/nasser/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
dependency ‘cowplot’ is not available
然后,我尝试使用install.packages('cowplot')命令安装cowplot包,再次得到以下错误Warning i
一年多来,我一直害怕更新我的R版本,因为当我第一次开始在我的mac上使用R时,我害怕失去"rgdal“package...which (也许还会吗?),必须从源代码安装/不能通过R内的包安装程序安装,这很复杂,为了获得对我至关重要的这个包,我不得不从一个比我更有经验的R用户那里寻求帮助。
但我最终决定,我需要承担风险并更新R。我使用了以下说明:
#--run in the old version of R
setwd("C:/Temp/")
packages <- installed.packages()[,"Package"]
save(pack
我在一台没有sudo权限的计算机上运行,并安装了R版本2.13.1,我想安装一个包(Rcpp)。如果我尝试通过install.packages()安装软件包
我得到了
package ‘Rcpp’ is not available (for R version 2.13.1)
我想是因为默认情况下,在CRAN中需要R版本2.15或更高版本。
我无法更新R版本,因为我不是超级用户。有没有办法(没有sudo)为我的旧R版本安装旧版本的Rcpp?
我在执行代码时出现了以下错误。
Code:install.packages("ithir",repos=“”)
错误:
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘
我无法在我的Macbook Pro 10.10.5 OS X Yosemite的R和RStudio中安装R包"MareyMap“
这个包需要预安装包"trkplot“和"tcltk",我成功地安装了它们。我也尝试过在通过homebrew安装R之后安装它,但没有成功。
每次我尝试在R提示符后安装"MareyMap“时,都会得到这样的结果:
Warning message:
In install.packages("MareyMap") :
installation of package ‘MareyMap’ had non-zero e
在运行install.packages('some_package')并成功安装它之后,RStudio询问我是否要更新旧包的列表:
The downloaded source packages are in
‘/tmp/Rtmpu75mCG/downloaded_packages’
Old packages: 'acepack', 'base64', 'colorspace', 'DBI', 'digest', 'ggplot2', 'gridSVG',
无法安装phytools
与devtools一起尝试
library(devtools)
install_github("liamrevell/phytools")
和
install.packages("phytools")
我总是犯同样的错误
ERROR: dependency ‘mnormt’ is not available for package ‘phytools’
而且我不能安装mnormt,因为
package ‘mnormt’ is not available (for R version 3.6.3)
gfortran已经安装在我的系统中。
我无法加载ggplot2包,即使我已经安装了其他包。有人能帮帮忙吗。我附上了下面的错误消息:
> library(ggplot2)
Error in library.dynam(lib, package, package.lib) :
DLL ‘digest’ not found: maybe not installed for this architecture?
In addition: Warning message:
package ‘ggplot2’ was built under R version 3.0.2
Error: package or namespace
我尝试使用install.package("validate")安装validate包,但收到以下错误消息:
Installing package into ‘C:/Users/xxx/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
There is a binary version available but the source version is later:
binary source needs_compilation
validate 0.9.3 1.0.1
我在Ubuntu18.04上从CRAN安装lme4包时遇到了问题。我在R 3.4.4上运行install.packages("lme4"),得到以下错误: ERROR: configuration failed for package ‘nloptr’
* removing ‘/home/peter/R/x86_64-pc-linux-gnu-library/3.4/nloptr’
ERROR: dependency ‘nloptr’ is not available for package ‘lme4’
* removing ‘/home/peter/R/x86_64-pc
下午好!
在ubuntu下,我正在尝试安装一个特定的R版本。因此,我下载了以下.tar文件:
https://cran.r-project.org/src/base/R-3/R-3.5.0.tar.gz
在那之后,我解开了源的拉链。然后我用了:
cd /home/mouad//Téléchargements/R-3.5.0/
然后:
$ ./configure
在这一步之前,一切都很顺利。但是,当尝试使用$make时,会出现以下错误:
$ make
make: *** Pas de cible spécifiée et aucun makefile n'a été trouvé. Ar
我有一个依赖于包extrafont的包。如果用户的系统中不存在字体外及其依赖项Rttf2pt1,则我的包的安装将失败。我在包的描述文件中将extrafont作为“依赖”。当我运行devtools::install_git()从URL安装包时,输出终止于:
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called 'Rttf2pt1
我试着在ubuntu R 2.14.1上安装gplots包
install.packages('gplots')
我收到了这样的信息:
Warning in install.packages :
package ‘gplots’ is not available (for R version 2.14.1)
我可能认为这只是这个版本的本地问题,因为其他人可以正确地安装它。我试着用谷歌搜索寻找解决方案,但看起来都不一样。
有什么办法可以解决这个问题吗?
我不能安装来自“安装新软件”和的Subclipse。
当我试图安装Subcliish4.2.3时,我得到了以下内容:
对于第二个选项“更新我的安装以便与正在安装的项兼容”:
对于第三个选项“显示原始错误并构建自己的解决方案”,我得到了以下错误:
Cannot complete the install because of a conflicting dependency.
Software being installed: Subclipse 4.2.3.201707071932 (org.tigris.subversion.subclipse.feature.grou