Re: [Rcpp-devel] Problem compling rinside_sample0 on OSX

2010-04-06 Thread Dan Kulp
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

Re: [Rcpp-devel] Problem compling rinside_sample0 on OSX

2010-04-06 Thread Romain Francois
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

Re: [Rcpp-devel] short, unsigned short, long, unsigned long, long double

2010-04-06 Thread Romain Francois
Le 06/04/10 15:46, Douglas Bates a écrit : > On Tue, Apr 6, 2010 at 8:40 AM, Romain Francois > wrote: >> Le 06/04/10 15:32, Dirk Eddelbuettel a écrit : >>> >>> On 6 April 2010 at 14:27, Romain Francois wrote: >>> |>Perhaps I am not answering the question that you asked - that sort of >>> |>

Re: [Rcpp-devel] Problem compling rinside_sample0 on OSX

2010-04-06 Thread Dirk Eddelbuettel
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 appreciate your guys time, too b

Re: [Rcpp-devel] Problem compling rinside_sample0 on OSX

2010-04-06 Thread Dan Kulp
Success! The snag was installing both packages from their source packages, not the binary OSX ones. 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 all my data analysis, but I have a set of c++ lib

Re: [Rcpp-devel] Problem compling rinside_sample0 on OSX

2010-04-06 Thread Dirk Eddelbuettel
On 6 April 2010 at 09:22, Dan Kulp wrote: | Sorry about that, I thought you had figured out the CRAN version numbers | | Rcpp : 0.7.11 | RInside: 0.2.2 | | I also tried installing the package as you recommend .. doesn't help, | clearly because I already have 0.7.11 | | Any more suggestions?

Re: [Rcpp-devel] Problem compling rinside_sample0 on OSX

2010-04-06 Thread Dan Kulp
By the way: > Rscript -e "RInside:::CxxFlags()" -I/Users/dwkulp/Library/R/2.10/library/RInside/lib/i386 > Rscript -e "RInside:::LdFlags()" /Users/dwkulp/Library/R/2.10/library/RInside/lib/i386/libRInside.a ~Dan On Tue, Apr 6, 2010 at 9:22 AM, Dan Kulp wrote: > Sorry about that, I thought you

Re: [Rcpp-devel] Problem compling rinside_sample0 on OSX

2010-04-06 Thread Dan Kulp
Sorry about that, I thought you had figured out the CRAN version numbers Rcpp : 0.7.11 RInside: 0.2.2 I also tried installing the package as you recommend .. doesn't help, clearly because I already have 0.7.11 Any more suggestions? ~Dan On Tue, Apr 6, 2010 at 9:14 AM, Dirk Eddelbuettel wr

Re: [Rcpp-devel] Problem compling rinside_sample0 on OSX

2010-04-06 Thread Dirk Eddelbuettel
On 6 April 2010 at 08:58, Dan Kulp wrote: | Libraries from CRAN installed into .../Library/R/2.10/library/Rcpp and | .../LibraryR/2.10/library/RIniside We asked about the _version numbers_ which you still have not provided. Please do (inside R) library(help=Rcpp) library(he

Re: [Rcpp-devel] Problem compling rinside_sample0 on OSX

2010-04-06 Thread Dan Kulp
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

Re: [Rcpp-devel] short, unsigned short, long, unsigned long, long double

2010-04-06 Thread Douglas Bates
On Tue, Apr 6, 2010 at 8:40 AM, Romain Francois wrote: > Le 06/04/10 15:32, Dirk Eddelbuettel a écrit : >> >> On 6 April 2010 at 14:27, Romain Francois wrote: >> |>  Perhaps I am not answering the question that you asked - that sort of >> |>  thing happens when answering email while still on the f

Re: [Rcpp-devel] short, unsigned short, long, unsigned long, long double

2010-04-06 Thread Romain Francois
Le 06/04/10 15:32, Dirk Eddelbuettel a écrit : > > On 6 April 2010 at 14:27, Romain Francois wrote: > |> Perhaps I am not answering the question that you asked - that sort of > |> thing happens when answering email while still on the first cup of > |> coffee. More helpful might be the comments

Re: [Rcpp-devel] short, unsigned short, long, unsigned long, long double

2010-04-06 Thread Dirk Eddelbuettel
On 6 April 2010 at 14:27, Romain Francois wrote: | > Perhaps I am not answering the question that you asked - that sort of | > thing happens when answering email while still on the first cup of | > coffee. More helpful might be the comments in the limits include file | > for libstdc++ on Debian/U

Re: [Rcpp-devel] Problem compling rinside_sample0 on OSX

2010-04-06 Thread Romain Francois
Le 06/04/10 14:34, Douglas Bates a écrit : > > On Tue, Apr 6, 2010 at 5:19 AM, Romain Francois > 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 Rcp

Re: [Rcpp-devel] Problem compling rinside_sample0 on OSX

2010-04-06 Thread Douglas Bates
On Tue, Apr 6, 2010 at 5:19 AM, Romain Francois 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 >> | "m

Re: [Rcpp-devel] short, unsigned short, long, unsigned long, long double

2010-04-06 Thread Romain Francois
Le 06/04/10 14:24, Douglas Bates a écrit : > On Tue, Apr 6, 2010 at 7:15 AM, Douglas Bates wrote: >> On Tue, Apr 6, 2010 at 6:54 AM, Romain Francois >> wrote: >>> Hello, >>> >>> I have added support for these primitive types in Rcpp, so that one can >>> wrap containers such as : >>> >>> std::vec

Re: [Rcpp-devel] short, unsigned short, long, unsigned long, long double

2010-04-06 Thread Romain Francois
Le 06/04/10 14:15, Douglas Bates a écrit : > On Tue, Apr 6, 2010 at 6:54 AM, Romain Francois > wrote: >> Hello, >> >> I have added support for these primitive types in Rcpp, so that one can >> wrap containers such as : >> >> std::vector, ... >> >> Is this something that should be protected in cas

Re: [Rcpp-devel] short, unsigned short, long, unsigned long, long double

2010-04-06 Thread Douglas Bates
On Tue, Apr 6, 2010 at 7:15 AM, Douglas Bates wrote: > On Tue, Apr 6, 2010 at 6:54 AM, Romain Francois > wrote: >> Hello, >> >> I have added support for these primitive types in Rcpp, so that one can >> wrap containers such as : >> >> std::vector, ... >> >> Is this something that should be protec

Re: [Rcpp-devel] short, unsigned short, long, unsigned long, long double

2010-04-06 Thread Douglas Bates
On Tue, Apr 6, 2010 at 6:54 AM, Romain Francois wrote: > Hello, > > I have added support for these primitive types in Rcpp, so that one can > wrap containers such as : > > std::vector, ... > > Is this something that should be protected in case there is no "short", > "long", etc ? You can check in

[Rcpp-devel] short, unsigned short, long, unsigned long, long double

2010-04-06 Thread Romain Francois
Hello, I have added support for these primitive types in Rcpp, so that one can wrap containers such as : std::vector, ... Is this something that should be protected in case there is no "short", "long", etc ? Romain -- Romain Francois Professional R Enthusiast +33(0) 6 28 91 30 30 http://rom

Re: [Rcpp-devel] Problem compling rinside_sample0 on OSX

2010-04-06 Thread Dirk Eddelbuettel
On 6 April 2010 at 12:19, Romain Francois 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 | > |

Re: [Rcpp-devel] Problem compling rinside_sample0 on OSX

2010-04-06 Thread Romain Francois
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: > | > | l

Re: [Rcpp-devel] Problem compling rinside_sample0 on OSX

2010-04-06 Thread Dirk Eddelbuettel
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