Hi All, I'm trying to install the quantreg library on my MEPIS box (debian-based linux). When I try >install.packages("quantreg") it fails to loads and errors with: /usr/bin/ld: cannot find -lblas-3. I tried installing a ton of packages to fix the missing part but the only thing I manage to do it cause problems with another shared library and had to re-install a couple of packages to even get R to run again (It's pretty late here and I'm just too tired to remember all the packages I messed with) . As a work around I tried downloading an .rpm for the package and converting it to a .deb using alien. I then installed the .deb through kpackage. It installed without any complaints and I can run the library command with quantreg. However when I try to run a quantreg command (in this case, rq) at the R prompt, I get: "Error: Object "rq" not found". This suggests to me that the package hasn't really installed itself or isn't working properly. Does anyone have any ideas? I'd really like to be able to use this library with R. In fact at the moment R doesn't do me much good without it. Thanks. -ME
mark engle wrote:> Hi All, > I'm trying to install the quantreg library on my MEPIS box (debian-based > linux). When I try >install.packages("quantreg") it fails to loads and > errors with: /usr/bin/ld: cannot find -lblas-3. I tried installing a ton of > packages to fix the missing part but the only thing I manage to do it cause > problems with another shared library and had to re-install a couple of > packages to even get R to run again (It's pretty late here and I'm just too > tired to remember all the packages I messed with) . > > As a work around I tried downloading an .rpm for the package and converting it > to a .deb using alien. I then installed the .deb through kpackage. It > installed without any complaints and I can run the library command with > quantreg. However when I try to run a quantreg command (in this case, rq) at > the R prompt, I get: "Error: Object "rq" not found". This suggests to me > that the package hasn't really installed itself or isn't working properly. > > Does anyone have any ideas? I'd really like to be able to use this library > with R. In fact at the moment R doesn't do me much good without it. > Thanks.How was your R or r-base-core installed? If it came from one of Dirk's Debian packages it should already have a dependency on one of the atlas3 packages (either atlas3-base or atlas3-sse or atlas3-sse2 or atlas3-3dnow) that provides a blas-3 library. I would suggest installing one of the atlas3 packages (sse2 for recent Pentium or 3dnow for a recent Athlon chip). Although the arrangements with the atlas3 packages are complex they provide a great performance boost on some linear algebra operations with large matrices.
Mark, I have a .deb packages of quantreg 3.40 and 3.50 here -- they were was created last July when I was preparing explicit .deb packages for Quantian. Newer Quantian releases have (almost) all of CRAN and BioConductor straight in /usr/local which was easier for me to set up. Quantian may be of interest to you -- a live dvd similar to mepis, but loaded with scientific software and openMosix ready. See http://dirk.eddelbuettel.com/quantian Email me off-list if you want the deb of quantreg 3.50. Cheers, Dirk -- Better to have an approximate answer to the right question than a precise answer to the wrong question. -- John Tukey as quoted by John Chambers
mark engle wrote:> Sorry if I posted to the wrong list, I am a new user of R. Locate libblas-3 > doesn't return anything. The closest file I can find > is /usr/lib/libblas.so.2 and I don't have a etc/alternatives/. I am using > the debs from apt-get that Dirk mantains for R-base and the other R-packages. > > Any ideas? Thanks for your time. > -Mark >I suggest that you remove and re-install the atlas3-base or atlas3-sse2 or atlas3-3dnow package. They do not contain the libblas-3 file but the act of installing them creates the links in /etc/alternatives and in /usr/lib BTW, I will be off line until Monday evening so I suggest you follow up to R-SIG-Debian@R-project.org