Re: [Rcpp-devel] Help needed for clang++ testing on OS X and Linux

2012-10-08 Thread Bob Carpenter
On 10/6/12 2:14 PM, Dirk Eddelbuettel wrote: > R CMD INSTALL Rcpp_0.9.14.2.tar.gz When I ran the above on Mac OS X "Mountain Lion", it worked, but it used g++ (from latest Xcode, 4.5.1) instead of clang++. I'd be happy to test with clang++ 3.1, which is the default under Xcode now, if you tell m

Re: [Rcpp-devel] Why inline function is much faster than .Call?

2012-08-27 Thread Bob Carpenter
On 8/27/12 4:27 PM, Douglas Bates wrote: Dirk is trying to point out that the two calls are using the same mechanism. All that the inline package does is wrap the process of compiling, linking and dynamically loading the C++ function. Executing a function compiled this way is exactly the same

Re: [Rcpp-devel] 64-bit ints on Windows 64-bit via size_t, unsigned long long, or unsigned __int64

2012-07-11 Thread Bob Carpenter
e an actual response inline below, but am leaving the rest here for the list. On 11 July 2012 at 18:07, Bob Carpenter wrote: | On 7/11/12 3:52 PM, Dirk Eddelbuettel wrote: | | > You can /absolutely/ use int64_t with Rcpp, | > you simply can't upload a package using it to CRAN. | | I can&#x

[Rcpp-devel] 64-bit ints on Windows 64-bit via size_t, unsigned long long, or unsigned __int64

2012-07-11 Thread Bob Carpenter
o the [rcpp] list". How should we specify the type of size_t in Windows 64 bit given that we can't say "size_t" or "unsigned long long"? The only other option seems to be "unsigned __int64". Here's the full table of types from the horse's mouth:

Re: [Rcpp-devel] help with an error on windows 7 64bits

2012-07-10 Thread Bob Carpenter
On 7/10/12 9:30 PM, Dirk Eddelbuettel wrote: On 10 July 2012 at 21:01, Jiqiang Guo wrote: | Dear List: | | I case across an error on Windows 7 64bits, any idea how can I avoid that? | I wish I could provide a demonstrative example, but it's too complicated now. | | This is the error report:

Re: [Rcpp-devel] type information about elements in Rcpp::List

2012-05-09 Thread Bob Carpenter
This list is really helpful! Comments inline below. There aren't any questions -- just more of an explanation of what we're trying to do. On 5/9/12 6:19 PM, Steve Lianoglou wrote: On Wed, May 9, 2012 at 5:34 PM, Jiqiang Guo wrote: As Dirk previously points out, every element of Rcpp::List

Re: [Rcpp-devel] type information about elements in Rcpp::List

2012-05-09 Thread Bob Carpenter
Thanks again, Dirk, for being so responsive to our newbie queries. There's some more inline below. On 5/8/12 11:34 PM, Dirk Eddelbuettel wrote: > > On 8 May 2012 at 23:17, Jiqiang Guo wrote: > | Suppose I have a function in CPP as > | > | void cppfun(Rcpp::List lst) { > | .. > | } > | >

[Rcpp-devel] Mac/Windows/Linux and C++/Java

2012-05-07 Thread Bob Carpenter
On 5/7/12 1:05 AM, Michael Hannon wrote: Steve Lianoglou wrote: I spent 1997--2011 developing C and Java (not C++) on Unix/Windows/Linux and moved to Mac OS X and C++ a year and a half ago. > I *am* curious to know what is so nice about Mac OS X. 1. It's a form of Unix, making the shell mo

[Rcpp-devel] R CMD check failing on skeletonc Rcpp module

2012-03-23 Thread Bob Carpenter
*** set a breakpoint in malloc_error_break to debug sh: line 1: 2493 Abort trap '/Library/Frameworks/R.framework/Resources/bin/R' --arch=x86_64 --no-save --slave < /var/folders/ju/juD0VflHENew03RUV+bbPU+++TM/-Tmp-//RtmpEs9sCx/file971c5161ca ERROR: loading failed for ‘x86_64’ * re