[Rcpp-devel] Problem compling rinside_sample0 on OSX
Haha, looks like the thread got sidetracked.... I have a 3-button mouse all the time. How should I "switching to 0.7.11 from its tarball may do the trick" ... ? Libraries from CRAN installed into .../Library/R/2.10/library/Rcpp and .../LibraryR/2.10/library/RIniside I tried to download the OSX binary 0.7.11 tar ball and untar into /Library/R/2.10/library/ , but got the same error. Thanks, Dan
On Tue, Apr 6, 2010 at 6:45 AM, Romain Francois <romain at r-enthusiasts.com>wrote:
Le 06/04/10 14:34, Douglas Bates a ?crit :
On Tue, Apr 6, 2010 at 5:19 AM, Romain Francois <romain at r-enthusiasts.com> wrote:
Le 06/04/10 12:14, Dirk Eddelbuettel a ?crit :
Hi Dan, Thanks for switching to the list. On 5 April 2010 at 22:12, Dan Kulp wrote: | Hey, | I just installed Rcpp RInside successful using CRAN, but when I try
to
| "make rinside_sample0" I get the following linking errors: | | ld warning: option -s is obsolete and being ignored | Undefined symbols: | "SEXPREC* Rcpp::grow<Rcpp::Named>(Rcpp::Named const&, SEXPREC*)", | referenced from: | SEXPREC* Rcpp::pairlist<Rcpp::Function, Rcpp::Named, | Rcpp::Named>(Rcpp::Function const&, Rcpp::Named const&, Rcpp::Named | const&)in libRInside.a(RInside.o) | SEXPREC* Rcpp::pairlist<Rcpp::Function, Rcpp::Named, | Rcpp::Named>(Rcpp::Function const&, Rcpp::Named const&, Rcpp::Named | const&)in libRInside.a(RInside.o) | ld: symbol(s) not found | collect2: ld returned 1 exit status | make: *** [rinside_sample0] Error 1 I think I just had that yesterday at work -- you do have to be careful
to use
_matching_ RInside and Rcpp releases. Which I why going with CRAN is a
good
option. Using the _released_ versions 0.7.11 for Rcpp and 0.2.2 for RInside
should
'just work'. As Romain said, please send along the version numbers
you used.
Totally. It seems though that when you install from cran you get Rcpp 0.7.10 even though cran advertizes 0.7.11, but I did not try all
mirrors.
It is not uncommon for the OS X binaries on CRAN to lag the other versions of a package. It seems that building the OS X binaries is more involved than even the Windows binaries. I solve the problem of lagging OS X binaries by installing Linux on any Macs I use and ignoring the OS X system. Now if only I could get around the stupid 1-button mouse and bizarre key mappings. :-)
There is a setting in System preferences > Mouse that lets you emulate a two button mouse (at least with the magic mouse that was shipped with mine) For the keyboard, I am still hostage. I often google for the keystrokes.
(The true sign of a died-in-the-wool Macophile is when they try to convince why a 1-button mouse is really a good idea.)
not there yet.
| Is this an OSX specific thing, or is the example code not sync'd with
the
| library from CRAN?.... or something else? We do try to make pretty sure that this works for _released_ versions. > Rcpp tends to change a lot so there sometimes is something changing at
its
side that may not yet be reflected at the RInside side. We try to
minimise
that but it happens. Sticking with the releases should help as a
remedy.
Thanks, Dirk
-- 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
_______________________________________________ Rcpp-devel mailing list Rcpp-devel at lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
Dan Kulp, PhD Postdoctoral Fellow Biosciences Division, B-9 Los Alamos National Laboratory Los Alamos,NM 87545 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20100406/053ce51e/attachment-0001.htm