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

From: Marc Schwartz <marc_schwartz_at_comcast.net>
Date: Wed, 09 Jul 2008 21:20:11 -0500

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>



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 10 Jul 2008 - 02:29:36 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 10 Jul 2008 - 05:31:46 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive