作者psinqoo (零度空间)
看板R_Language
标题[问题] xts in linux
时间Sun Mar 22 19:33:47 2015
文章分类提示:
- 问题: 当你想要问问题时,请使用这个类别
[问题类型]:
经验谘询(我想用R 连接某些资料库,请问大家的经验)
[软体熟悉度]:
使用者(已经有用R 做过不少作品)
[问题叙述]:
请简略描述你所要做的事情,或是这个程式的目的
xts 无法安装於 linux ubuntu 12.04.2 LTS
R 3.0.2
[程式范例]:
/bin/bash: gfortran:命令找不到
make: *** [period.max.o] Error 127
ERROR: compilation failed for package ‘xts’
[环境叙述]:
r 3.0.2
ubuntu
[关键字]:
xts linux ubuntu
xts
--
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 1.164.4.226
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/R_Language/M.1427024031.A.6D4.html
※ 编辑: psinqoo (1.164.4.226), 03/22/2015 19:36:35
1F:推 Wush978: try: sudo apt-get install gfortran 03/22 19:41
刚才试
/usr/bin/ld: cannot find -lgfortran
collect2: error: ld returned 1 exit status
make: *** [xts.so] Error 1
ERROR: compilation failed for package ‘xts’
※ 编辑: psinqoo (1.164.4.226), 03/22/2015 19:44:00
2F:→ Wush978: 那sudo apt-get install build-essential 呢? 03/22 22:51
3F:→ psinqoo: OK ^^ 谢谢 Wush 03/23 11:00