全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
1994 1
2017-01-08
各位大神我刚刚学R安装RODBC包的时候提示这个问题,有没有能帮忙解决一下的
install.packages('RODBC')
Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘RODBC’
你想从源代码尝试安装这些
y/n: y
安装源码包‘RODBC’

试开URL’https://mirrors.tuna.tsinghua.ed ... RODBC_1.3-14.tar.gz
Content type 'application/octet-stream' length 1163799 bytes (1.1 MB)
==================================================
downloaded 1.1 MB

* installing *source* package ‘RODBC’ ...
** 成功将‘RODBC’程序包解包并MD5和检查
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... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
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 sql.h usability... no
checking sql.h presence... no
checking for sql.h... no
checking sqlext.h usability... no
checking sqlext.h presence... no
checking for sqlext.h... no
configure: error: "ODBC headers sql.h and sqlext.h not found"
ERROR: configuration failed for package ‘RODBC’
* removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/RODBC’

下载的程序包在
        ‘/private/var/folders/5l/r45bkp596c99qgn3g2txsp7m0000gn/T/RtmpoPOx2w/downloaded_packages’里
Warning message:
In install.packages("RODBC") : 安装程序包‘RODBC’时退出狀態的值不是0

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2017-1-9 16:44:03
红发_香克斯 发表于 2017-1-8 11:08
各位大神我刚刚学R安装RODBC包的时候提示这个问题,有没有能帮忙解决一下的
install.packages('RODBC')
P ...
估计你之前装的时候有部分附加的包没有装完(check里面no的部分)重新再装一次好了
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群