我正在尝试安装factoextra。我运行的是R v.4.0.3。我用过 > install.packages("devtools")
> library("devtools")
> install_github("kassambara/factoextra") 然后,它会询问我是否希望更新这些包: WARNING: Rtools is required to build R packages, but is not currently installed.
Please download and i
我正试图跟随Kieran (socviz.co)的在线数据即资源,并且在设置这样做时遇到了最小的困难。我似乎无法成功地安装他的“socviz”软件包。这是希利建议的代码:
devtools::install_github('kjhealy/socviz')
这将返回:
ERROR: dependency 'rlang' is not available for package 'socviz'
* removing 'C:/Users/annem/OneDrive/Documents/R/win-library/3.4/socviz
我最近安装了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 ‘rlang’
In addition: Warning message:
package ‘tidyverse’ was built under R version
我是R的新手,我的tidymodels最近给了我issues,所以从一篇stckoverflow文章中,我了解了如何从github更新“调优”包,但是这给了我问题,所以我重新安装了rtools。
我已经重新安装了path variables.,设置了rtools
发行
现在,每当我尝试Error: package ‘digest’ does not have a namespace.时,都会出现错误
我尝试过重新安装problem copying C:\R\R-4.0.3\library\00LOCK\rlang\libs\x64\rlang.dll to C:\R\R-4.0.3\libra
我试着用办公室里的电脑来使用Rstudio,因为我意识到在计算机中安装了Rstudio。但是,当我试图安装我需要的软件包时,软件包无法安装。我尝试了这么多包,但同样的问题happen.Even,我试图更新安装的软件包,如rlangVersion1.02的最新版本,它也是失败的。安装软件包后,我也尝试重新启动Rstudio,但找不到以前安装的包。
下面是当我试图安装非常标准的软件包(如scales包)时收到的错误消息:
install.packages("scales")
also installing the dependencies ‘rlang’, ‘lifecycle’
我在同一台PC上同时安装了SAS9.3和R (2.14.0),我想使用submit / R;和endsubmit;在SAS中提交R语句。
但是:
SAS option RLANG is valid only at startup of the SAS System. The SAS option is
ignored.
你能给我解释一下如何绕过这个障碍吗?
我只想安装"questionr“包。但是以下错误一直在发生。无法加载应该安装的包(library( package )),我在3.5文件夹中也找不到该包。以前从未遇到过这个问题。
你知道这是怎么回事吗?我将非常感谢你的帮助!谢谢
install.packages("questionr")
Installing package into ‘C:/Users/bisc048/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
also installing the dependencies
我在Mac上使用R,我想使用caret包进行一些数据分析。然而,caret依赖于rlang包,当我试图加载caret包时,我得到了这个错误-
> library(caret)
Error: package or namespace load failed for ‘caret’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
namespace ‘rlang’ 0.2.2 is already loaded, but >= 0.3.0.1 is required
In addition:
我正在开发一个软件包,它支持与另一种形状的库结构交互,该库结构支持并行安装多个版本的包(RVClibrary,很快就安装在CRAN上)。最近,我遇到了一些奇怪的行为,我希望有人能解释。
在安装软件包时,它有时会有一个比二进制版本晚的源版本。在这种情况下,源代码(未编译的C代码)尚未编译(由.?)但是包含比已经编译的二进制版本更晚的版本。在我的案例中,如下所示:
There is a binary version available but the source version is later:
binary source needs_compilation
rlang 0.
我正在这个上运行这些示例。重新安装ggiraph后,返回此错误,代码与以前的代码相同。
Error:
! Problem while converting geom to grob.
ℹ Error occurred in the 1st layer.
Caused by error in `check.length()`:
! 'gpar' element 'lwd' must not be length 0
Run `rlang::last_error()` to see where the error occurred.
有什么建议吗?
我使用(7.12)访问服务器上的数据,并在本地安装"R Open“。我试图使用SAS / inside运行R代码,因为我认为这可以处理R的本地安装(SAS EG中的proc iml不能这样做)。我已检查是否启用了RLANG,即通过输入
proc options option=RLANG;
run;
我得到:
RLANG Enables SAS to execute R language statements.
没有任何错误。不幸的是,在SAS EG运行的同一台服务器上没有安装R,因此通过提交R代码,我得到以下错误消息:
»ERROR: SAS could no
在install.packages("caret")出现以下错误后:
Installing package into ‘...../R/win-library/3.4’
(as ‘lib’ is unspecified)
also installing the dependencies ‘rlang’, ‘recipes’
There are binary versions available but the source versions are later:
binary source needs_compilation
rlang 0.3.4
我已经开始通过RStudio重用R了,我已经有一段时间没有使用它了。由于某些原因,我在安装tidyverse和其他一些包时遇到了问题。在我之前的经验中,这是一项非常简单的任务。我刚刚重新安装了最新版本的RStudio,它似乎没有帮助。
问题似乎是我有一个非零的退出,并且许多依赖包不可用。也可以像下面这样获取文本。
Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before pr
此函数自行正确运行。在R中执行时,它将打开View函数,窗口被正确标记为mtcars (而不是df):
#' Print a data frame appropriate to output type
#'
#' @param df the data frame to be printed
#'
#' @return either kable (in PDF) or datatable (in HTML) output
#' @importFrom DT datatable
#' @importFrom knitr kable
#'