R中的tm软件包安装失败

时间:2013-03-06 18:20:44

标签: r installation tm

我正在尝试使用install.packages("tm")在我的Fedora机器上安装 tm 包,但是在尝试安装时我遇到了编译错误。这是我得到的错误的快照,

In file included from /usr/include/stdlib.h:25:0,    
                 from /usr/include/R/R.h:28,    
                 from grouped.c:1:    
/usr/include/features.h:313:5: error: expected identifier or ‘(’ before ‘&&’ token    
In file included from /usr/include/R/R.h:28:0,    
                 from grouped.c:1:    
/usr/include/stdlib.h:140:1: error: unknown type name ‘size_t’    
In file included from /usr/include/R/R.h:28:0,    
                 from grouped.c:1:    
/usr/include/stdlib.h:337:4: error: unknown type name ‘size_t’    
/usr/include/stdlib.h:367:4: error: unknown type name ‘size_t’    
/usr/include/stdlib.h:471:22: error: unknown type name ‘size_t’  
In file included from /usr/include/R/R.h:28:0,  
                 from grouped.c:1:  
/usr/include/stdlib.h:473:22: error: unknown type name ‘size_t’  
/usr/include/stdlib.h:473:38: error: unknown type name ‘size_t’  
/usr/include/stdlib.h:485:36: error: unknown type name ‘size_t’  
In file included from /usr/include/stdlib.h:497:0,  
                 from /usr/include/R/R.h:28,  
                 from grouped.c:1:  
/usr/include/alloca.h:33:22: error: unknown type name ‘size_t’  
In file included from /usr/include/R/R.h:28:0,  
                 from grouped.c:1:  

0 个答案:

没有答案