Ubuntu 安裝R package {biOps} - Linux

Donna avatar
By Donna
at 2013-05-17T20:45

Table of Contents

作業系統 Ubuntu 12.10

使用統計軟體 R 3.0,因為需要用影像分析,
安裝 package {biOps} 時出現以下列訊息:




> install.packages("biOps")
Installing package into ‘/home/ljta/R/x86_64-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
嘗試 URL 'http://cran.rstudio.com/src/contrib/biOps_0.2.2.tar.gz'
Content type 'application/x-gzip' length 1162278 bytes (1.1 Mb)
開啟了 URL
==================================================
downloaded 1.1 Mb

* installing *source* package ‘biOps’ ...
** package ‘biOps’ successfully unpacked and MD5 sums checked
checking for gcc... gcc -std=gnu99
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -std=gnu99 accepts -g... yes
checking for gcc -std=gnu99 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fftw3.h usability... no
checking fftw3.h presence... no
checking for fftw3.h... no
configure: WARNING: Can't find fftw3 header
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking tiff.h usability... no
checking tiff.h presence... no
checking for tiff.h... no
configure: WARNING: Can't find libtiff header
checking for jpeg_destroy_compress in -ljpeg... yes
checking for TIFFOpen in -ltiff... no
Try static libs needed on OS X
checking for TIFFOpen in -ltiff... no
Error: Could not find libtiff.
ERROR: configuration failed for package ‘biOps’
* removing ‘/home/ljta/R/x86_64-pc-linux-gnu-library/3.0/biOps’
Warning in install.packages :
installation of package ‘biOps’ had non-zero exit status

The downloaded source packages are in
‘/tmp/RtmpUwoWIh/downloaded_packages’



我稍微 google 了一下,感覺並不是 R 的問題,而是ubuntu 少了些什麼東西。
但本身對 Linux 是初學者,看不懂相關的文章。還請了解的人幫忙解決。謝謝!

--
Tags: Linux

All Comments

Lauren avatar
By Lauren
at 2013-05-20T15:05
看起來是找不到 tiff,搜套件庫把有 dev 結尾的 tiff 裝上
Lauren avatar
By Lauren
at 2013-05-25T13:17
sudo aptitude update && sudo aptitude search tiff
sudo aptitude install libtiff-dev
Candice avatar
By Candice
at 2013-05-29T04:45
謝謝!已解決 (sudo apt-get install libtiff-dev)

yum 安裝 vsftpd 失敗@@

Mia avatar
By Mia
at 2013-05-17T15:34
--andgt; Finished Dependency Resolution e2fsprogs-1.39-33.el5.i386 from installed has depsolving problems --andgt; Missing Dependency: e2fsprogs-libs = 1 ...

Final Term 有趣的Terminal模擬器

Damian avatar
By Damian
at 2013-05-17T11:23
http://finalterm.org/ 提供了Semantic text menus 可以在ls 的結果按右鍵做檔案操作 在ps的結果按右鍵kill process之類的動作 還有command completion 一些奇怪的功能 可以抓來玩看看XD -- ...

能用指令開啟wifi和藍芽功能嗎?

Lauren avatar
By Lauren
at 2013-05-17T02:31
第一次在這個版發問 而且剛接觸Linux這個系統 發的問題如果太沒水準 請鞭小力點 最近學校電腦有用red hat上課 覺得Linux蠻有趣的 回家之後也想玩Linux 所以就選用了ubuntu 下載完13.04之後 就馬上把它安裝在小筆電上面 但是我的小筆電的鍵盤壞了 目前只能用外接鍵盤 所以沒辦法開 ...

請問DVI和X-window

Bennie avatar
By Bennie
at 2013-05-16T22:10
在Gnome當掉的時候, 按alt-ctrl-F1切到terminal, 但DVI卻偵測不到訊號; 同一台電腦以前用D-SUB沒有這個問題, 是要作什麼設定才可以讓DVI monitor可以切換呢? OS是 CentOS 4.x 跟驅動程式有關係嗎? 謝謝! - ...

archlinux 的usb3.0速度

Hazel avatar
By Hazel
at 2013-05-16T20:56
kernel是最新版的3.9.2-2-ck 但是用dd測試usb3.0隨身碟的速度卻只有9MB/s 上網找好像也沒有找到什麼解決方法, 用ubuntu live cd 測試速度倒是頗正常的 也有人遇到這個問題嘛? 還是之前版本的usb速度有支援? - ...