[R] Help on Installing Matrix Package in Linux (Fedora)

Marc Schwartz marc_schwartz at comcast.net
Thu Jul 10 04:20:11 CEST 2008


Indeed.

Presumably R was installed using an RPM from the Fedora repository and 
the 'devel' RPM, which contains the requisite header files was not.

Using:

   # yum install R-devel

should get you moving forward.

BTW, there is a new Fedora specific e-mail list for R. More info here:

   https://stat.ethz.ch/mailman/listinfo/r-sig-fedora

HTH,

Marc Schwartz

on 07/09/2008 08:11 PM Krzysztof Sakrejda-Leavitt wrote:
> Maybe I am wrong about this, but I think your problem is actually:
> 
> Mutils.h:9:41: error: R.h: No such file or directory
> Mutils.h:10:22: error: Rversion.h: No such file or directory
> Mutils.h:11:56: error: Rdefines.h: No such file or directory
> 
> I think these are important files for compiling additional packages, 
> especially since the rest of your errors look like they are from missing 
> definitions.
> 
> I would do one of the locate/find flavor of commands and see where the 
> R.h/etc... files are, then make sure your include path is set 
> correctly... maybe check in Mutils.h for the lines which are supposed to 
> include the R.h/etc files... to see if they will work for your system.
> 
> hth,
> 
> Krzysztof
> 
> 
> Hyunseung Kang wrote:
>> Hi,
>> I have been trying to install the Matrix package on R running in Linux 
>> (Fedora). But, I get the following error message (at the bottom). I am 
>> logged in as the root user. Any help would be appreciated! Thanks!
>> -Hyunseung Kang
>>
>> * Installing *source* package 'Matrix' ...
>> Using  GNU make  for building the package
>> ** libs
>> ** arch - gcc -m32 -std=gnu99 -I/usr/include/R  -I/usr/local/include   
>> -I./UFconfig -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
>> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 
>> -march=i386 -mtune=generic -fasynchronous-unwind-tables -c CHMfactor.c 
>> -o CHMfactor.o
>> In file included from CHMfactor.h:4,
>>                  from CHMfactor.c:2:
>> Mutils.h:9:41: error: R.h: No such file or directory
>> Mutils.h:10:22: error: Rversion.h: No such file or directory
>> Mutils.h:11:56: error: Rdefines.h: No such file or directory

<snip>



More information about the R-help mailing list