Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/71.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
安装程序包时出错';stringr'';重塑2';,和';ggplot2';,和';嘎嘎声';在mac上_R_Macos_Rstudio_Rattle - Fatal编程技术网

安装程序包时出错';stringr'';重塑2';,和';ggplot2';,和';嘎嘎声';在mac上

安装程序包时出错';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

我不是Mac用户,但我正试图帮助一些学生在他们的Mac系统上安装Crattle。我建议他们跟随,这是基于易慧的评论。尽管系统上安装了“brew”,但他们仍会出现以下错误:

* 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库。我