首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >当前版本的R版本3.6.1 (2019-07-05)是否仍然支持coefplot2 --“脚趾的动作”

当前版本的R版本3.6.1 (2019-07-05)是否仍然支持coefplot2 --“脚趾的动作”
EN

Stack Overflow用户
提问于 2019-08-28 14:55:58
回答 1查看 1.1K关注 0票数 2

我使用coefplot2绘制生态数据的回归估计值。我有一台新电脑,所以正在安装。适用于新设置的所有其他包和代码。但是我非常喜欢继续使用coefplot2,但是需要帮助。

我曾尝试使用source和bolker源站点安装coefplot2,如本文和其他站点中的几篇文章所推荐的那样,但没有成功。

代码语言:javascript
复制
install.packages("coefplot2", repos="http://www.math.mcmaster.ca/bolker/R", type="source")

install.packages("coefplot2",repos="http://r-forge.r-project.org")

> install.packages("coefplot2", repos="http://www.math.mcmaster.ca/bolker/R", type="source")
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 ‘\\staff.ad.griffith.edu.au/ud/fr/s2903680/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
trying URL 'http://www.math.mcmaster.ca/bolker/R/src/contrib/coefplot2_0.1.3.2.tar.gz'
Content type 'application/x-gzip' length 1357869 bytes (1.3 MB)
downloaded 1.3 MB

'\\staff.ad.griffith.edu.au\ud\fr\s2903680\Desktop\Research\data_analysis_pumice\havre'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.
* installing *source* package 'coefplot2' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in findpack(package, lib.loc) : 
  there is no package called 'coefplot2'
Calls: <Anonymous> -> findpack
Execution halted
ERROR: lazy loading failed for package 'coefplot2'
* removing '\\staff.ad.griffith.edu.au/ud/fr/s2903680/Documents/R/win-library/3.6/coefplot2'
Warning in install.packages :
  installation of package ‘coefplot2’ had non-zero exit status    

我已经安装了以前的依赖项,例如安装时要求安装‘重塑’。我想知道我是否需要安装'rtools‘。看起来很愚蠢,因为我不是一个开发人员-但如果它工作,我会这样做。

EN

回答 1

Stack Overflow用户

发布于 2019-08-29 09:59:29

(不是真正的答案,但对于评论来说太长了)

对我来说,两者都是来自repo的使用源代码安装:

代码语言:javascript
复制
install.packages("coefplot2",
    repos="http://www.math.mcmaster.ca/bolker/R",
    type="source")

和从github安装:

代码语言:javascript
复制
 remotes::install_github("palday/coefplot2",
           subdir = "pkg")

工作(后者只是R-forge代码库的副本/镜像)-后者更新一点。

我的猜测是问题出在网络驱动器/UNC路径上:还有其他SO问题herehere表明这可能是个问题。

你能在lib='some_local_directory' (然后是library("coefplot2",lib.loc='some_local_directory')?)中尝试install.packages()吗?

这篇评论的最后一部分是,我已经从coefplot2过渡到broom (用于系数表)+ ggplot2/dotwhisker -它是一个更加模块化的系统,更灵活,可以处理更广泛的模型类型。(假设您对ggplot2解决方案没意见。)

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/57686578

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档