[R] symbol decoration and .Call

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Feb 16 14:12:25 CET 2006


1) Please read the posting guide and use the appropriate list, not R-help.

2) Please tell us exactly what you did, including your OS, R version and 
so on as the guide asks.  Looks to me like you used a C++ compiler to 
compile C.

On Thu, 16 Feb 2006, Vumani Dlamini wrote:

> Dear R-users,
> I am a novice user of .Call and am trying to use the C code in R-Ext to
> kickstart my learning process. All the code compiles but when I try to use
> .Call it gives the error (using "out.c" as an example),
>
> Error in .Call("out", x, y) : C entry point "out" not in load table
>
> when i use PEDUMP to check whether the symbol is loaded I find that it is
> loaded as "_Z3outP7SEXPRECS0_" and when I use this instead of "out" the
> program work.
>
> How can I remove the decoration so that only "out" is loaded?
>
> Thanks, Vumani
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list