Re: [R] Can't load e1071

About this list Date view Thread view Subject view Author view Attachment view

From: Andrew Perrin (clists@perrin.socsci.unc.edu)
Date: Wed 25 Jun 2003 - 06:04:40 EST


Message-id: <Pine.LNX.4.53.0306241602400.10465@perrin.socsci.unc.edu>

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@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@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@perrin.socsci.unc.edu * andrew_perrin (at) unc.edu
> >
> > ______________________________________________
> > R-help@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@perrin.socsci.unc.edu * andrew_perrin (at) unc.edu

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:12:08 EST