[R] Can't load e1071
Andrew Perrin
clists at perrin.socsci.unc.edu
Tue Jun 24 22:04:40 CEST 2003
On Tue, 24 Jun 2003, David Meyer wrote:
> Andrew,
>
> 1) The current R version is 1.7.1
hmmm...:
perrin:/usr/local/lib/R/site-library# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
perrin:/usr/local/lib/R/site-library# dpkg -l r-base
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii r-base 1.7.0-0.cran.1 GNU R statistical computing language and
env
perrin:/usr/local/lib/R/site-library#
apparently there's not a debian package available?
> 2) Which version of `e1071' are you using?
This is based on doing an install.packages('e1071') from within R as root
(which is how I have generally installed packages in the past).
> 3) Does the `e1071.so' file exist (in e1071/libs)?
>
Yes:
aperrin at perrin:~/afshome/papers/authoritarian/R$ ls -l
/usr/local/lib/R/site-library/e1071/libs/e1071.so
-rwxr-xr-x 1 root staff 109247 Jun 24 15:41
/usr/local/lib/R/site-library/e1071/libs/e1071.so
> best,
> David.
>
Thanks,
Andy
>
> On 2003.06.24 21:43, Andrew Perrin wrote:
> > After upgrading to 1.7.0 under debian linux, I can't get e1071 working
> > properly.
> >
> > The first problem I had was that g++-3.0 was the standard compiler but
> > wasn't installed, so I installed it. e1071 then installed correctly,
> > but I
> > get the following:
> >
> > aperrin at perrin:~/afshome/papers/authoritarian/R$ R
> >
> > R : Copyright 2003, The R Development Core Team
> > Version 1.7.0 (2003-04-16)
> >
> > R is free software and comes with ABSOLUTELY NO WARRANTY.
> > You are welcome to redistribute it under certain conditions.
> > Type `license()' or `licence()' for distribution details.
> >
> > R is a collaborative project with many contributors.
> > Type `contributors()' for more information.
> >
> > Type `demo()' for some demos, `help()' for on-line help, or
> > `help.start()' for a HTML browser interface to help.
> > Type `q()' to quit R.
> >
> > [Previously saved workspace restored]
> >
> > > library(e1071)
> > Error in dyn.load(x, as.logical(local), as.logical(now)) :
> > unable to load shared library
> > "/usr/local/lib/R/site-library/e1071/libs/e1071.so":
> > /usr/local/lib/R/site-library/e1071/libs/e1071.so: cannot
> > dynamically
> > load executable
> > Error in library(e1071) : .First.lib failed
> >
> >
> > any suggestions? Thanks.
> >
> > ----------------------------------------------------------------------
> > Andrew J Perrin - http://www.unc.edu/~aperrin
> > Assistant Professor of Sociology, U of North Carolina, Chapel Hill
> > clists at perrin.socsci.unc.edu * andrew_perrin (at) unc.edu
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> >
> >
>
----------------------------------------------------------------------
Andrew J Perrin - http://www.unc.edu/~aperrin
Assistant Professor of Sociology, U of North Carolina, Chapel Hill
clists at perrin.socsci.unc.edu * andrew_perrin (at) unc.edu
More information about the R-help
mailing list