作者PanJC ((#‵Д′)f〒﹌﹌﹌﹌﹌ꄩ
站內Statistics
標題[程式] R 無法安裝新的 package
時間Wed Apr 11 13:34:14 2012
各位好,
我的 system 是 ubuntu 10.10, R 的板本是 2.15.0
我無法安裝 R 的 package, 錯誤訊息如下
> install.packages()
Loading Tcl/Tk interface ... done
--- Please select a CRAN mirror for use in this session ---
Installing package(s) into ‘/home/panjc/R/i686-pc-linux-gnu-library/2.15’
(as ‘lib’ is unspecified)
嘗試 URL '
http://cran.cs.pu.edu.tw/src/contrib/CFL_0.1.tar.gz'
Content type 'text/html' length 183 bytes
開啟了 URL
==================================================
downloaded 183 bytes
嘗試 URL '
http://cran.cs.pu.edu.tw/src/contrib/coda_0.14-7.tar.gz'
Content type 'text/html' length 183 bytes
開啟了 URL
==================================================
downloaded 183 bytes
錯誤在untar2(tarfile, files, list, exdir) : incomplete block on file
錯誤在untar2(tarfile, files, list, exdir) : incomplete block on file
The downloaded source packages are in
‘/tmp/RtmpFbKj9F/downloaded_packages’
警告訊息:
1: In install.packages() :
installation of package ‘CFL’ had non-zero exit status
2: In install.packages() :
installation of package ‘coda’ had non-zero exit status
找了 google 也沒有人遇到這樣的問題, 請問有人會處理這個情況嗎?
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.123.62.168
1F:→ gsuper:試試看用 synaptic 安裝 , 搜尋 : r-cran-CFL;r-cran-coda 04/11 13:54
2F:→ gsuper:再不然就仔細看安裝訊息,找找看自己缺哪些 lib (library) 04/11 13:54
3F:→ gsuper:然後再去 synaptic 用 lib 開頭做搜尋 04/11 13:55
4F:→ gsuper:真的不行就放棄換一個 我也常碰到裝不進去的 package 04/11 13:56
5F:→ PanJC:謝謝 r-cran-coda 果真能成功安裝. 但我有兩台電腦, 同 os 04/11 14:17
6F:→ PanJC:但一台能用 install.packages() 安裝, 另一台卻不能, 真奇怪 04/11 14:17
7F:→ PanJC:不知道是出了什麼問題 04/11 14:18
8F:→ gsuper:安裝 coda 之前有些基礎的 library 你沒安裝 04/11 14:38
9F:→ gsuper:靠 Synaptic 可以自動處理這個問題 04/11 14:39
10F:→ gsuper:但不能100%保證可安裝 有時是版本太舊或其它鬼問題 04/11 14:39
11F:→ gsuper:一台能裝一台不能 代表能裝的那台已裝過特定 library 04/11 14:40
12F:→ gsuper:或是有裝過一些會衝突的軟體(比方說那個讓我重灌的湯姆貓) 04/11 14:41
13F:→ PanJC:多謝 04/11 14:46