Skip to content
Prev 48101 / 63424 Next

read.table() code fails outside of the utils package

On 21/04/2014 18:08, Andrew Piskorski wrote:
That isn't true on platforms which support hiding entry points.  Try

% nm -g library/utils/libs/utils.so | grep readtablehead

on Linux.
Rather, you need to tell us why that should have worked ....  Maybe you 
failed to read in the code

R_init_utils(DllInfo *dll)
{
     R_registerRoutines(dll, NULL, CallEntries, NULL, ExtEntries);
     R_useDynamicSymbols(dll, FALSE);
     R_forceSymbols(dll, TRUE);
}

See 'Writing R Extensions'.