2016-08-04 22 views
-1

installieren Hallo, ich habe ein Problem mit der Installation von Paketen zu RStudio. Wenn ich versucht habe, in Rstudio zu installieren, bekam ich in der Konsole das:Ich kann keine Pakete zu 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’ 

Haben Sie einen Tipp? Vielen Dank.

(Ich habe Rstudio-0.99.903-amd64 und Linux Mint 18)

+1

Diese Sprache aus meiner Wissensbasis zu weit ist, aber ich denke, dass die Wurzel des Fehlers ist entweder hier: 'common.h: 5:18: fataler Fehler: tiff.h: Adresář nebo soobor neexistuje' oder hier: 'návod pro cíl" common.o "selhal'. – lmo

+0

Ist das Problem mit RStudio verbunden oder systemweit? Ist es in R Gu oder in der Befehlszeile erfolgreich? Ist es nur dieses Paket oder irgendein Paket? – Gregor

+0

Ouuch Es tut mir leid "Adresář nebo soubor neexistuje" ist "Ordner oder Datei existiert nicht" und zweite "Návod pro cíl" common.o "selhal" bedeutet "Anweisung für Ziel" common.o "failture." – Grixus

Antwort

1

Haben Sie eine Lösung für diese finden? Eine Alternative wäre von meiner GitHub-Repository zu installieren, das devtools Paket mit:

devtools::install_github("gtatters/Thermimage", force=T)