[R-sig-Fedora] Installing texlive dependencies

Peter Baker baker.peter2009 at gmail.com
Sat Apr 28 03:24:20 CEST 2012

Hi Petar

Glad this worked!

I only install R and R-devel along with the odd R package using yum -
usually I do this so that I know I have the right dependencies are
installed eg graphviz-R. Once installed I often just use
update.packages() which might conflict with 'yum update' if the
versions on CRAN are newer but yum just installs packages over the
top. Strictly speaking I probably should use something like

yum-builddep graphviz-R

to install required dependencies and then in R

> install.packages("Rgraphviz", dep=T)

should work just fine but only for packages already distributed as
RPMs. But I'm lazy. I know there is some talk of an automatic RPM
repository to mirror CRAN which would be great in that packages
wouldn't need to be compiled but just unpacked - which would be much
quicker. Of course thats an awful lot of work and I don't know how far
its got

I doubt it makes much practical difference except that using
'install.packages' may take quite a bit longer when installing many
packages and some dependencies/libraries might be missing so its a bit
more mucking around

Thanks for making a how-to - its a good idea


On Fri, Apr 27, 2012 at 9:39 PM, Petar Milin <pmilin at ff.uns.ac.rs> wrote:
> Dear Peter,
> Thank you so much! The texlive-collections did the trick! :-)
> So, I am making this digested how-to below, from your last message.
> PS: I noticed you are using yum to install R-packages. Isn't it better
> to use install.packages() and update.packages() from R?
> Best,
> Petar
> On Fri, 2012-04-27 at 00:04 +1000, Peter Baker wrote:
>> Hi Petar
>> I can only guess that the dependencies for R rpm's aren't quite
>> specified right for texlive 2011
>> but if the appropriate texlive 2011 packages are already installed
>> then there should be no problems
>> It is difficult to guess exactly what you need on your system but
>> here's what I have on mine. Collections pull in the actual packages.
>> For Fedora 16 you can install with
>> rpm -i http://jnovy.fedorapeople.org/texlive/2011/packages.fc16/texlive-release.noarch.rpm
>> (see http://fedoraproject.org/wiki/Features/TeXLive for details)
>> yum clean all
>> yum update
>> yum install texlive-collection-latex texlive-collection-latexextra
>> yuTo list all TeXLive Collections:
>> yum list all texlive*collection*

Dr Peter Baker | Senior Lecturer/Statistician | Epidemiology & Biostatistics

Room 416 | School of Population Health |The University of Queensland | Public
Health Building | Herston Rd | Herston Qld 4006 | Australia

Ph: +61 7 3346 4747 | Fax: +61 7 3365 5442 | http://www.sph.uq.edu.au/  |
Email: p.baker1 at uq.edu.au or baker.peter2009 at gmail.com

More information about the R-SIG-Fedora mailing list