From ripley at stats.ox.ac.uk  Tue Jan 24 19:22:49 2006
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 24 Jan 2006 18:22:49 +0000 (GMT)
Subject: [Rd] unexported symbols in libR.so of r-devel
In-Reply-To: <gj4q3ttumx.fsf@bass.biostat.umn.edu>
References: <gj4q3ttumx.fsf@bass.biostat.umn.edu>
Message-ID: <Pine.LNX.4.61.0601241818470.24056@gannet.stats>

On Tue, 24 Jan 2006, Na Li wrote:

>
> Thanks to Matthias Burger, I came to know that in r-devel, a lot of symbols
> are no longer exported in libR.so, which breaks the package rpvm since it
> calls these functions in serialize.c.

They are hidden.  Since they are in Rinternals.h, this was unintentional,
although they are not part of R's declared API and so are at risk (see 
Writing R Extensions).

Just remove 'attribute_hidden' (which I have done in the sources)

> R_InitInPStream
> R_InitOutPStream
>
> Since the change is fairly recent (earlier this month), I guess the core team
> will be making further changes.  In any case, please add these two to the
> exported list.

No more changes are planned.

> Thanks,
>
> Michael
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

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



[Rd] unexported symbols in libR.so of r-devel
Prof Brian Ripley