作者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/m.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