Maybe "using source from CRAN" -- how/where do I document that better? Where
would you have looked?


 IMHO  http://dirk.eddelbuettel.com/code/rcpp.html should have an
installation section, where you explicitly state the multiple ways in which
you can install:
1. install.packages("Rcpp")

2. "R CMD INSTALL ...."

3. To install from binary tgz you should bla,bla..

My confusion:
>From 1, usually  install.package(PKG) I've used for installing a package
like RSvgDevice, where I would be calling it from R.  In this case I was
expecting to install some header/source files that I could build and link
against.

>From 2, I don't use a lot of R command-line so I wasn't aware that you could
R CMD INSTALL a source package and it would compile+install for you.


Also, in all the tar files you have, very few have README or INSTALL files,
which could have been helpful with the above information.


Thanks again for your quick response and help get me going.   I already have
RInside working in my code to generate specific plots of my datasets.
~Dan

On Tue, Apr 6, 2010 at 10:45 AM, Romain Francois
<[email protected]>wrote:

> Le 06/04/10 18:02, Dirk Eddelbuettel a écrit :
>
>
>> On 6 April 2010 at 09:47, Dan Kulp wrote:
>> | Success!   The snag was installing both packages from their source
>> packages,
>> | not the binary OSX ones.
>>
>> Fiddlesticks! I once knew that, but forgot, and it doesn't hit Romain on
>> OS X
>> as he builds from source anyway.
>>
>
> I'd guess that the RInside binary was built against Rcpp 0.7.10 which has
> some binary incompatibilities with Rcpp 0.7.11, or the other way around
> ..?.?
>
> (Rcpp::Named as been promoted from a class to a function so that might be
> it. The interface has been retained, so I think this is why compiling both
> from source works. )
>
> We try out best not to introduce binary incompatibilities like this one,
> but it is not an easy task to track them. thanks for reporting this.
>
> I know that on windows, if package B that depends on package A and A is
> resubmitted, Uwe rebuilds both A and B for the windows binaries, not sure
> this also is the case for OSX binaries. (Beyond C incompatibilities other
> things can break such as S4 classes, etc ...)
>
>
>  | I appreciate your guys time, too bad installation from CRAN didn't "just
>> | work".  For me there is a lot of potential for this library.  I use R
>> for
>>
>> Maybe "using source from CRAN" -- how/where do I document that better?
>> Where
>> would you have looked?
>>
>
> Maybe we can couple more tightly, e.g have RInside depend on Rcpp (>=
> 0.7.11). Dunno.
>
> Not sure this would have happened with dynamic linking, but this might be
> completely unrelated.
>
>
>  | all my data analysis, but I have a set of c++ libraries used for
>> generating
>> | the data (my application is protein design), it would be great to fuse
>> the
>> | two.
>>
>> Yup. And given how feature-complete Rcpp has gotten it is quite a joy to
>> use too.
>>
>> | One question, does RInside allow you to load installed packages (
>> | library("RSvgDevice") ) ?
>>
>> "Should". See the other examples which load libraries.  Devices have their
>> own pecularities so I don't know off-hand about this for SVG generation.
>> In
>> principle it should and if it doesn't in practice we can now count on you
>> to
>> debug it ;-)
>>
>> Good it works now.
>>
>> Dirk
>>
>
> Same analysis, it should work.
>
> --
> Romain Francois
> Professional R Enthusiast
> +33(0) 6 28 91 30 30
> http://romainfrancois.blog.free.fr
> |- http://bit.ly/9aKDM9 : embed images in Rd documents
> |- http://tr.im/OIXN : raster images and RImageJ
> |- http://tr.im/OcQe : Rcpp 0.7.7
>
>


-- 
Dan Kulp, PhD
Postdoctoral Fellow
Biosciences Division, B-9
Los Alamos National Laboratory
Los Alamos,NM 87545
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to