我想安装Mosaic软件包,但是我不断收到以下错误:ggformula需要ggstance,但找不到

时间:2019-06-26 11:22:02

标签: r ggplot2 mosaic

我想使用mosaic软件包,安装后,由于反复发生错误,无法加载它:Error: package ‘ggstance’ required by ‘ggformula’ could not be found

这是在Windows计算机上,所有软件包都已更新,可以在R-studio(3.6.0)中运行。我试图关闭R,卸载ggplot2之类的已加载软件包,镶嵌可能是问题所在。还尝试了分别加载ggformula和ggstance。在安装ggstance时查看代码部分中的问题。因为它可能不可复制(因为我认为我的设置可能有误),所以我只提供了此代码,如果需要更多代码,我很乐意提供。

> install.packages("ggstance")
Installing package into ‘\\icnas1.cc.ic.ac.uk/scorneli/R/win-library/3.6’
(as ‘lib’ is unspecified)

  There is a binary version available but the source version is later:
         binary source needs_compilation
ggstance  0.3.1  0.3.2             FALSE

installing the source package ‘ggstance’

trying URL 'https://cran.rstudio.com/src/contrib/ggstance_0.3.2.tar.gz'
Content type 'application/x-gzip' length 129258 bytes (126 KB)
downloaded 126 KB

'\\icnas1.cc.ic.ac.uk\scorneli'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.
'\\icnas1.cc.ic.ac.uk\scorneli\R\R-3.6.0' is not recognized as an internal or external command,
operable program or batch file.
Warning in install.packages :
  installation of package ‘ggstance’ had non-zero exit status

当我安装各个必需的软件包时,我希望它能解决问题,但是仍然出现相同的错误。希望有人可以在我看不到的代码中看到错误或没有足够的知识来查看。我希望人们在使用其他软件包时遇到类似的问题。

0 个答案:

没有答案