R help archive: Re: [R] symbol decoration and .Call

Re: [R] symbol decoration and .Call

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Fri 17 Feb 2006 - 00:12:25 EST

  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@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@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

______________________________________________
R-help@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
Received on Fri Feb 17 00:17:58 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:31 EST