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. On previous occasions when I've installed Fedora, I've used the DVD which has thousands of RPMs. Lately I've installed Fedora 15 from the Live CD which has a lot fewer and so a lot of necessary stuff is not installed yet. I've done the same not long ago with Kubuntu which required me to install about 20 debs before I could compile R. If I had access to that installation, I could probably work out what the corresponding rpms are. But I figured some clever person will have a list of the necessary rpms somewhere already. Or even a smarter search string than I can think of would be appreciated. There's a lot of information about installing R from an rpm but that's not what I wish to do. TIA -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___ Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:) Small minds discuss people (_)-(_) ..... Eleanor Roosevelt ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
Prof Brian Ripley
2011-Aug-05 11:13 UTC
[Rd] [R] RPMs needed to compile R using the tar.gz file
First off, this was an R-devel question (or maybe an r-sig-fedora one). It is not at all easy to give a complete answer: the list is very long and changes rapidly as Fedora updates. If you can use yum to install a minimal list and let it get the dependencies the list would be manageable. And the simplest way to get a minimal list would be to look in the spec file for the Fedora SRPM. But here's a start, from yum -v install R pkgconfig gcc-gfortran gcc-c++ (optional for R) libX11-devel libXt-devel libXmu-devel pango-devel tcl-devel tk-devel readline-devel libpng-devel libjpeg-turbo-devel libtiff-devel libicu-devel (Fedora uses lots of things like pcre, bzip2 which have copies in R.) A lot of that is actually documented in the R-admin manual. On Fri, 5 Aug 2011, Patrick Connolly wrote:> 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. > > On previous occasions when I've installed Fedora, I've used the DVD > which has thousands of RPMs. Lately I've installed Fedora 15 from the > Live CD which has a lot fewer and so a lot of necessary stuff is not > installed yet. > > I've done the same not long ago with Kubuntu which required me to > install about 20 debs before I could compile R. If I had access to > that installation, I could probably work out what the corresponding > rpms are. But I figured some clever person will have a list of the > necessary rpms somewhere already. Or even a smarter search string > than I can think of would be appreciated. > > There's a lot of information about installing R from an rpm but that's > not what I wish to do. > > TIA > > -- > ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. > ___ Patrick Connolly > {~._.~} Great minds discuss ideas > _( Y )_ Average minds discuss events > (:_~*~_:) Small minds discuss people > (_)-(_) ..... Eleanor Roosevelt > > ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. > > ______________________________________________ > 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. >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Pierre-Yves Chibon
2011-Aug-05 11:47 UTC
[Rd] [R] RPMs needed to compile R using the tar.gz file
On Fri, 2011-08-05 at 12:13 +0100, Prof Brian Ripley wrote:> And the simplest way to get a minimal list would be to > look in the spec file for the Fedora SRPM.See: http://pkgs.fedoraproject.org/gitweb/?p=R.git;a=blob_plain;f=R.spec;hb=HEAD Pierre
Alexander Engelhardt
2011-Aug-05 12:10 UTC
[R] RPMs needed to compile R using the tar.gz file
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. Cheers, Alex