[英]R-Studio on OSX can't load mosaic package
I am running OSX 10.10, R-Studio Version 0.99.484, and R version 3.2.2. 我正在运行OSX 10.10,R-Studio版本0.99.484和R版本3.2.2。
I just made a fresh install of R and R-Studio using the installers from their respective websites. 我只是使用各自网站上的安装程序重新安装了R和R-Studio。 I use install.packages to install "mosaic" and then I try loading it using library, but it gives me the following error:
我使用install.packages安装“ mosaic”,然后尝试使用库加载它,但它给了我以下错误:
library("mosaic", lib.loc="/Library/Frameworks/R.framework/Versions/3.2/Resources/library")
Error : object ‘dendro_data.hclust’ is not exported by 'namespace:ggdendro'
Error: package or namespace load failed for ‘mosaic’
I tried reinstalling ggdendro but nothing. 我尝试重新安装ggdendro,但一无所获。 Does anyone have any advice on how to deal with this issue?
有人对如何处理此问题有任何建议吗?
I encountered this same error and seem to have somewhere along the way resolved it. 我遇到了同样的错误,并且似乎在解决过程中出现了问题。 Steps taken include:
采取的步骤包括:
> install.packages("mosaic", lib="/Library/Frameworks/R.framework/Versions/3.2/Resources/library")
Do you want to install from sources the package which needs compilation?
是否要从源安装需要编译的软件包? y/n: n
y / n:n
> library("mosaic", lib.loc="/Library/Frameworks/R.framework/Versions/3.2/Resources/library")
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.