search for: do_readstata

Displaying 3 results from an estimated 3 matches for "do_readstata".

2008 May 26
1
read.dta error
...lib/R/bin/exec/R terminated ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7c13138] /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb7c130f0] /usr/local/lib/R/site-library/foreign/libs/foreign.so[0xb759c164] /usr/local/lib/R/site-library/foreign/libs/foreign.so(do_readStata+0x0)[0xb759c060] [0x0] ======= Memory map: ======== 08048000-08049000 r-xp 00000000 08:01 706917 /usr/lib/R/bin/exec/R 08049000-0804a000 rw-p 00000000 08:01 706917 /usr/lib/R/bin/exec/R 0804a000-08cb4000 rw-p 0804a000 00:00 0 [heap] b5eb4000-b7587000 rw-p b5eb4000 00:00 0 b7587000-...
2002 May 02
1
Returning a dataframe from a C function (How) ?
I'm writing an R extension. The language I'm using is ANSI C. One of the functions I'm writing will accept a string and return a dataset as a dataframe. i.e the prototype will be of the form: dataframe foo(R_String) { } Does anyone have any skeleton code for such a function, i.e. one that receives an R "string" and returns a dataset as a dataframe ? The main concerns I
2004 Feb 04
1
RE: error (fwd)
...Subject: RE: error > > Cere, > > This is useful information. How large is the original data file? If it is > small (<1Gb) then the 2.7Gb is excessive. Have you searched the R users > group on www.r-project.org? > > Also, can you try: > > rval <- .External("do_readStata", "file", PACKAGE = "foreign") > > where "file" is the stata file name on both machines. This is the internal R > read using C, so if that works it is elsewhere in the "read.dta" function > which is easy to fix. > > Mark > > >...