R-studio(El Capitan)中安装软件包的非零退出状态

R-studio(El Capitan)中安装软件包的非零退出状态,r,packages,R,Packages,我试图在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’ s

我试图在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
我在这里无所适从。我正在学习数理统计,在我的论文中,我想用这个软件包进行图像压缩。我已经在这方面工作了几个星期,对代码相当陌生,所以这里和其他网站上的其他类似问题对我没有帮助。我已经花了很多精力试图解决这个问题,但真的一事无成


谢谢你,圣诞快乐

这意味着该软件包需要安装libtiff和libjpeg开发和库软件包(对于快速傅立叶变换,可能还需要安装fftw3?)。自述文件对此进行了讨论。安装这些软件需要一些谷歌搜索,以及从命令行在unix-y平台上安装软件的基本舒适度。谢谢,我现在就尝试一下,然后再给你回复。请注意,该软件包显然已经三年没有维护过了。不要指望它能与最新版本的R配合得很好。多亏了你们,我才能够安装Joran提到的丢失的软件包。罗兰,幸运的是,我能够毫无故障地使用该软件包,因此不必担心最新的R版本。这意味着该软件包需要安装libtiff和libjpeg开发和库软件包(对于快速傅立叶变换,可能还需要安装fftw3)。自述文件对此进行了讨论。安装这些软件需要一些谷歌搜索,以及从命令行在unix-y平台上安装软件的基本舒适度。谢谢,我现在就尝试一下,然后再给你回复。请注意,该软件包显然已经三年没有维护过了。不要指望它能与最新版本的R配合得很好。多亏了你们,我才能够安装Joran提到的丢失的软件包。罗兰,幸运的是,我能够使用的软件包,我需要没有错误,所以没有担心最新的R版本。