From edd at debian.org  Mon Dec 18 17:42:44 2017
From: edd at debian.org (Dirk Eddelbuettel)
Date: Mon, 18 Dec 2017 10:42:44 -0600
Subject: [Rd] Rcpp - Linking to DLL from another package?
In-Reply-To: <CABFfbXsc6z+aa5TrC74gTthhmXVYiJ6NyYpeOnROYTTBhWxvSQ@mail.gmail.com>
References: <9DD73F68AC266D4AA329E07B678177B1F059D92A@EE-MBX3.ee.emp-eaw.ch>
 <23095.50515.694572.127889@bud.eddelbuettel.com>
 <CABFfbXsc6z+aa5TrC74gTthhmXVYiJ6NyYpeOnROYTTBhWxvSQ@mail.gmail.com>
Message-ID: <23095.61444.493095.86900@bud.eddelbuettel.com>


On 18 December 2017 at 16:10, Jeroen Ooms wrote:
| On Mon, Dec 18, 2017 at 2:40 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
| >
| > (Moderately wrong list: r-package-devel for packaging questions, rcpp-devel
| > for Rcpp questions)
| >
| > On 18 December 2017 at 13:24, Stravs, Michael wrote:
| > | I am trying to make a package B that extends another package A. Package A uses Rcpp, and I want to extend a class X used there.
| 
| Another, perhaps simpler example is the xslt package which is an
| extension for the xml2 package. The xml2 package exposes its object
| types (via ./inst/include/xml2_types.h) so that the xslt package get
| to the underlying libxml2 objects.

That is nice too, but doesn't in your case the object code comes from the
external libxml2 only?

Michael wanted to get at code from another R package, and those shared
libraries from R packages are not system-wide visible. Hence the problem.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org



[Rd] Rcpp - Linking to DLL from another package?
Dirk Eddelbuettel