-1
嗨我有任何軟件包安裝到RStudio的問題。當我嘗試安裝在Rstudio中時,我得到了這個控制檯:我無法安裝任何軟件包到Rstudio
--2016-08-04 17:05:11-- https://cran.rstudio.com/src/contrib/Thermimage_2.2.1.tar.gz
Překládám cran.rstudio.com (cran.rstudio.com)… 54.192.92.115
Navazuje se spojení s cran.rstudio.com (cran.rstudio.com)|54.192.92.115|:443… spojeno.
HTTP požadavek odeslán, program čeká na odpověď… 200 OK
Délka: 678953 (663K) [application/x-gzip]
Ukládám do: „/tmp/RtmpBir6CA/downloaded_packages/Thermimage_2.2.1.tar.gz「
0K .......... .......... .......... .......... .......... 7% 180K 3s
50K .......... .......... .......... .......... .......... 15% 272K 3s
100K .......... .......... .......... .......... .......... 22% 550K 2s
150K .......... .......... .......... .......... .......... 30% 537K 1s
200K .......... .......... .......... .......... .......... 37% 531K 1s
250K .......... .......... .......... .......... .......... 45% 513K 1s
300K .......... .......... .......... .......... .......... 52% 609K 1s
350K .......... .......... .......... .......... .......... 60% 554K 1s
400K .......... .......... .......... .......... .......... 67% 523K 1s
450K .......... .......... .......... .......... .......... 75% 1,93M 0s
500K .......... .......... .......... .......... .......... 82% 682K 0s
550K .......... .......... .......... .......... .......... 90% 2,54M 0s
600K .......... .......... .......... .......... .......... 98% 715K 0s
650K .......... ... 100% 208M=1,3s
2016-08-04 17:05:12 (513 KB/s) – „/tmp/RtmpBir6CA/downloaded_packages/Thermimage_2.2.1.tar.gz「 uloženo [678953/678953]
* installing *source* package ‘tiff’ ...
** package ‘tiff’ successfully unpacked and MD5 sums checked
** libs
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c common.c -o common.o
In file included from common.c:1:0:
common.h:5:18: fatal error: tiff.h: Adresář nebo soubor neexistuje
compilation terminated.
/usr/lib/R/etc/Makeconf:134: návod pro cíl „common.o「 selhal
make: *** [common.o] Chyba 1
ERROR: compilation failed for package ‘tiff’
* removing ‘/home/grix/R/x86_64-pc-linux-gnu-library/3.2/tiff’
Warning in install.packages :
installation of package ‘tiff’ had non-zero exit status
ERROR: dependency ‘tiff’ is not available for package ‘Thermimage’
* removing ‘/home/grix/R/x86_64-pc-linux-gnu-library/3.2/Thermimage’
Warning in install.packages :
installation of package ‘Thermimage’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpBir6CA/downloaded_packages’
你有什麼建議嗎?謝謝。
(我有Rstudio-0.99.903-amd64和Linux Mint的18)
這種語言離我的知識庫太遠,但我認爲錯誤的根源在這裏:'common.h: 5:18:致命錯誤:tiff.h:Adresářnebo soubor neexistuje'或here:'návodprocíl「common.o」selhal'。 – lmo
與RStudio相關的問題還是系統範圍?在R Gui或命令行中它是否成功?它只是這個包還是包? – Gregor
ouuch對不起,「Adresářnebo soubor neexistuje」是「文件夾或文件不存在」,第二個「Návodprocíl」common.o「selhal」意思是「針對目標」common.o「故障的指示。 – Grixus