[R] Stataread + R-Devel fails for me
Douglas Bates
bates at stat.wisc.edu
Sun Nov 19 18:06:23 CET 2000
Zsombor Cseres-Gergely <z.cseres-gergely at ucl.ac.uk> writes:
> I have a problem with R-devel and Stataread 2.5. Stataread installs
> (compiles, at gives no error messages). But typing
>
> > library(stataread)
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
> unable to load shared library "/usr/local/lib/R/library/stataread/libs/stataread.so":
> /usr/local/lib/R/library/stataread/libs/stataread.so: undefined symbol: errorcall
> Error in library(stataread) : .First.lib failed
Did you recompile the package under R-devel? Some of the names of
internal routines that are not part of the API have changed between
R-1.1.1 and R-Devel.
I have no difficulty compiling and testing stataread under R-devel on
a Debian 2.2 Linux system.
$ /usr/local/bin/R CMD check stataread
* checking for working latex ... OK
* using log directory /tmp/stataread.Rcheck
Installing package `stataread' ...
libs
gcc -I/usr/local/lib/R/include -I/usr/local/include -mieee-fp -D__NO_MATH_INLINES -fPIC -g -O2 -c stataread.c -o stataread.o
gcc -shared -o stataread.so stataread.o -L/usr/local/lib
R
help
>>> Building/Updating help pages for package `stataread'
Formats: text html latex example
read.dta text html latex example
write.dta text html latex example
DONE (stataread)
DONE (INSTALL)
* checking for file `stataread/DESCRIPTION' ... OK
* checking package directory ... OK
* checking DESCRIPTION Package entry ... OK
* checking DESCRIPTION Version entry ... OK
* checking DESCRIPTION Title entry ... OK
* checking DESCRIPTION License entry ... OK
* checking DESCRIPTION Author entry ... OK
* checking Rd files ... OK
* checking for undocumented objects ... OK
* creating stataread-Ex.R ... OK
* checking examples ... OK
* creating stataread-manual.tex ... OK
...
Furthermore, there is no symbol errorcall in the shared library
object.
$ nm -g /tmp/stataread.Rcheck/stataread/libs/stataread.so | egrep errorcall
$
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list