在Mac OS X 10.9.5上安装软件包hydroTSM出错 - R(版本3.1.2)

时间:2014-11-30 06:55:59

标签: r macos install

我已经搜索了我的问题的提示,并通过类似帖子的提示取得了一些进展,但最终仍然卡住了。我正在尝试在Mac上安装hydroTSM软件包(OS X 10.9.5)。使用R Studio我成功安装并加载了最新的zoo和xts包(依赖项)。我试过了:

install.packages("hydroTSM", lib="/Library/Frameworks/R.framework/Versions/3.1/Resources/library", type="source")

并且安装似乎一直运行,直到它安装rgeos包,然后我得到:

* installing *source* package ‘rgeos’ ...
** package ‘rgeos’ successfully unpacked and MD5 sums checked
configure: CC: clang
configure: CXX: clang++
configure: rgeos: 0.3-4
checking for /usr/bin/svnversion... yes
configure: svn revision: 460
checking geos-config usability... 
./configure: line 2056: geos-config: command not found
no
configure: error: geos-config not usable
ERROR: configuration failed for package ‘rgeos’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/rgeos’
Warning in install.packages :
  installation of package ‘rgeos’ had non-zero exit status
ERROR: dependency ‘rgeos’ is not available for package ‘spacetime’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/spacetime’
Warning in install.packages :
  installation of package ‘spacetime’ had non-zero exit status
ERROR: dependency ‘spacetime’ is not available for package ‘gstat’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/gstat’
Warning in install.packages :
  installation of package ‘gstat’ had non-zero exit status
ERROR: dependency ‘gstat’ is not available for package ‘automap’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/automap’
Warning in install.packages :
  installation of package ‘automap’ had non-zero exit status
ERROR: dependencies ‘gstat’, ‘automap’ are not available for package ‘hydroTSM’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/hydroTSM’
Warning in install.packages :
  installation of package ‘hydroTSM’ had non-zero exit status

下载的源包在

'/ private / var / folders / 87 / wn7lf03j7w39zjtnslph4lj80000gn / T / RtmpZ7UFC7 / downloaded_pa​​ckages'“

任何建议都非常感谢。

0 个答案:

没有答案