Hi, 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 I have: platform i586-pc-linux-gnu arch i586 os linux-gnu system i586, linux-gnu status Under development (unstable) major 1 minor 2.0 year 2000 month 11 day 07 language R Any ideas? Thank you, Zsombor -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Sun, 19 Nov 2000, Zsombor Cseres-Gergely wrote:> Hi, > > I have a problem with R-devel and Stataread 2.5. Stataread installs > (compiles, at gives no error messages). But typingYou need version 2.6 of stataread. -thomas Thomas Lumley Assistant Professor, Biostatistics University of Washington, Seattle -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 failedDid 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Sun, Nov 19, 2000 at 08:44:13AM -0800, Thomas Lumley wrote:> You need version 2.6 of stataread.That works (basically). But I gave up reading a 30M Stata file with 128M RAM + 128M Swap. It could not do it after an hour or so. Thanks, Zsombor -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._