我正在尝试在R上安装一个软件包,即“BiOps”,这个软件包不再在CRAN存储库中了,所以我已经将tar.gz文件下载到我的mac并将R指向了它,但是一旦我这样做了,我得到以下内容:
install.packages("~/Documents/R/R Packages/biOps_0.2.2 (3).tar.gz", repos = NULL, type = "source")
* installing *source* package ‘biOps’ ...
** package ‘biOps’ successfully unpacked and MD5 sums checked
checking for gcc... clang
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 clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/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... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
configure: WARNING: Can't find libjpeg header
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... no
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 ‘/Library/Frameworks/R.framework/Versions/3.2/Resources/library/biOps’
Warning in install.packages :
installation of package ‘/Users/justinginger/Documents/R/R
Packages/biOps_0.2.2 (3).tar.gz’ had non-zero exit status
我在这里松散的结局。我正在学习数学和统计学,对于我的论文,我想用这个包来进行图像压缩。我已经在这方面工作了好几个星期,并且对代码非常不熟悉,所以在这里和其他网站上的其他类似问题都没有帮助我。我已经付出了很多努力来尝试解决这个问题,实际上无法到达任何地方!
谢谢你,圣诞快乐!