[R] RPMs needed to compile R using the tar.gz file

Patrick Connolly p_connolly at slingshot.co.nz
Sat Aug 6 11:20:36 CEST 2011


On Fri, 05-Aug-2011 at 02:32PM +0200, peter dalgaard wrote:

|> 
|> On Aug 5, 2011, at 14:10 , Alexander Engelhardt wrote:
|> 
|> > Am 05.08.2011 12:24, schrieb Patrick Connolly:
|> >> I don't wish to install R by rpm.  I need to know what Fedora rpms I
|> >> need to install to give me the capability to install R using the
|> >> tar.gz source file as I've done for years.
|> > 
|> > Try this command:
|> > 
|> > rpm -qpR your_R.rpm | xargs rpm -ivh
|> > 
|> > The part before the pipe symbol lists all dependent packages, and the xargs command uses those packages and appends them to 'rpm -ivh'.
|> > I guess you'll need the R rpm to check for its dependencies, but you don't have to install it.
|> > 
|> > I didn't test the command, but I guess it will work, maybe with some minor tweaking.
|> 

|> The command will likely work, but it might not give the right answer.
|> 
|> In some cases, you'll need -devel version of the RPMs, and they are
|> not necessarily required by the binary RPM of R. So take Brian's
|> advice over on R-devel. (Or do it the sloppy way that I have always

Brian's was great advice.  It got me onto everything I needed to
compile from R-2.13.1.tar.gz except the readlines.  Even I was clever
enough to be able to work out what was missing, so I'm back to doing
painless R compilation.  I am indebted to those who did all that
clever work that makes it so simple.


|> used on Linuxen: Get a basic install going, and whenever a
|> capability turns out to be missing, figure out which -devel RPM is
|> needed and install it; lather, rinse, repeat...)

That's what I did with the Kubuntu installation but I figured there
was a smarter way to do it.  Brian's suggestion was just what I needed.

Apologies if this should have been an Rdev question.  I don't have the
smarts to follow most of the discussions on Rdev and thought there
would be other Fedora users who could be in a similar position.


best

-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___    Patrick Connolly   
 {~._.~}                   Great minds discuss ideas    
 _( Y )_  	         Average minds discuss events 
(:_~*~_:)                  Small minds discuss people  
 (_)-(_)  	                      ..... Eleanor Roosevelt
	  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.



More information about the R-help mailing list