Dear R experts, I am in transition to the R system from other statistical systems I was using (SPSS, Statistica, etc.). I have used R for a few months on my Windows PC, but now I would like to install R on a Linux box with SuSE 8.1. I downloaded the RPM for SuSE 8.1 from the CRAN mirror. But when I run the INSTALL script using the midnight commander it gives the following error message: # /usr/lib/mc/extfs/rpm run /tmp/R-base-1.7.1-1.i386.rpm INSTALL Installing "/tmp/R-base-1.7.1-1.i386.rpm" error: failed dependencies: libg2c.so.0 is needed by R-base-1.7.1-1 Could anyone tell me how to go on, where to find the missing file/package and what to do with it? Thank you G?bor -- Gabor BORGULYA MD MSc Semmelweis University of Budapest, 2nd Dept of Paediatrics Hungarian Paediatric Cancer Registry phone: +36 - 1 - 4591500 / 2834
BORGULYA G?bor <borgulya at gyer2.sote.hu> writes:> Dear R experts, > > I am in transition to the R system from other statistical systems I > was using (SPSS, Statistica, etc.). I have used R for a few months on > my Windows PC, but now I would like to install R on a Linux box with > SuSE 8.1. > > I downloaded the RPM for SuSE 8.1 from the CRAN mirror. > But when I run the INSTALL script using the midnight commander it > gives the following error message: > > # /usr/lib/mc/extfs/rpm run /tmp/R-base-1.7.1-1.i386.rpm INSTALL > Installing "/tmp/R-base-1.7.1-1.i386.rpm" > error: failed dependencies: > libg2c.so.0 is needed by R-base-1.7.1-1 > > Could anyone tell me how to go on, where to find the missing > file/package and what to do with it?I only have a SuSE 8.0 to look at, and that only has a static libg2c, but $ rpm -qf /usr/lib/gcc-lib/i486-suse-linux/2.95.3/libg2c.a g77-2.95.3-216 so a good guess is that you need to install g77 from the SuSE 8.1 install disks. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
Peter Dalgaard BSA ?rta:> BORGULYA G?bor <borgulya at gyer2.sote.hu> writes: >>But when I run the INSTALL script using the midnight commander it >>gives the following error message: >> >># /usr/lib/mc/extfs/rpm run /tmp/R-base-1.7.1-1.i386.rpm INSTALL >>Installing "/tmp/R-base-1.7.1-1.i386.rpm" >>error: failed dependencies: >> libg2c.so.0 is needed by R-base-1.7.1-1 >> > > $ rpm -qf /usr/lib/gcc-lib/i486-suse-linux/2.95.3/libg2c.a > g77-2.95.3-216 > > so a good guess is that you need to install g77 from the SuSE 8.1 > install disks.Thank you, installing g77 solved the problem! R is running !) G?bor