小编use*_*338的帖子

为R3.3安装udunits2软件包

我只是浪费了一整天试图找出如何安装udunits2包以便能够安装单元包以便能够安装ggforce和ggraph包.

我正在尝试在Ubuntu 16.04上安装它,并且R> = 3.3,因为ggforce是在R 3.3下构建的.

我在这里按照这些说明操作:https: //github.com/edzer/units/issues/1

虽然我的机器上安装了libudunits-2.0和udunits(因为sudo apt-get install udunits2找不到udunits2包),而且我的$ PATH上的libudunits-2和udunits位置的PATH,当我尝试时安装udunits2,单位或ggforce我收到一个错误,说,

--* installing *source* package ‘udunits2’ ...
** package ‘udunits2’ successfully unpacked and MD5 sums checked
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking …
Run Code Online (Sandbox Code Playgroud)

r

59
推荐指数
3
解决办法
2万
查看次数

标签 统计

r ×1