安装程序包时出错';stringr'';重塑2';,和';ggplot2';,和';嘎嘎声';在mac上
我不是Mac用户,但我正试图帮助一些学生在他们的Mac系统上安装Crattle。我建议他们跟随,这是基于易慧的评论。尽管系统上安装了“brew”,但他们仍会出现以下错误:安装程序包时出错';stringr'';重塑2';,和';ggplot2';,和';嘎嘎声';在mac上,r,macos,rstudio,rattle,R,Macos,Rstudio,Rattle,我不是Mac用户,但我正试图帮助一些学生在他们的Mac系统上安装Crattle。我建议他们跟随,这是基于易慧的评论。尽管系统上安装了“brew”,但他们仍会出现以下错误: * installing *source* package ‘stringr’ ... ** package ‘stringr’ successfully unpacked and MD5 sums checked ** R ** data *** moving datasets to lazyload DB ** inst
* installing *source* package ‘stringr’ ...
** package ‘stringr’ successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Error in library.dynam(lib, package, package.lib) :
shared object ‘stringi.so’ not found
ERROR: lazy loading failed for package ‘stringr’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/stringr’
Warning in install.packages :
installation of package ‘stringr’ had non-zero exit status
ERROR: dependency ‘stringr’ is not available for package ‘reshape2’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/reshape2’
Warning in install.packages :
installation of package ‘reshape2’ had non-zero exit status
ERROR: dependency ‘reshape2’ is not available for package ‘ggplot2’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/ggplot2’
Warning in install.packages :
installation of package ‘ggplot2’ had non-zero exit status
ERROR: dependencies ‘ggplot2’, ‘stringr’ are not available for package ‘rattle’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/rattle’
Warning in install.packages :
installation of package ‘rattle’ had non-zero exit status
请发布stringr安装的实际错误消息。@Ralf Stubner,我更新了问题,看起来他们需要先安装
stringi
软件包。尝试install.packages(c(“stringi”、“stringr”、“Reformae2”、“ggplot2”、“Crattle”),dependencies=TRUE)
这是一个奇怪的错误:R声称安装了一个源程序包,但它没有编译包含的代码。因此,它抱怨缺少stringr.so
库。因为我也不是Mac用户,我再也帮不了你了。@MaryamRahmaniMoghaddam你是怎么解决的?我也有同样的问题(Fedora/Linux),就像上面描述的其他软件一样,R声称要安装一个源代码包,但它不编译包含的代码。因此,它抱怨缺少stringr.so库。我