Mac + clang + libc++ combination?
Michael
On Aug 28, 2012, at 3:09 PM, Dirk Eddelbuettel wrote:
>
> Hi Michael,
>
> Congrats on your recent flooding of CRAN with packages :)
>
> On 28 August 2012 at 18:46, Michael Braun wrote:
> | Is it possible that there is some kind of i
ompiler in
XCode, I thought you might like to know about this, and perhaps let me know if
I have made some kind of mistake.
Thanks,
-------
Michael Braun
Associate Professor of Marketing
MIT Sloan School of Management
617-253-3436
Romain:
Thanks for your helpful response. This works perfectly.
Michael
On Feb 26, 2012, at 8:50 AM,
wrote:
> hello,
>
> You can grab the result of dyn.load and use it as the PACKAGE argument of
> Module.
>
> Romain
>
>
> Le 26 févr. 2012 à 01:11, Michae
ourse, if what I want to do is known to be impossible, that
would also be a helpful response.
Respectfully,
Michael
On Feb 25, 2012, at 3:24 PM, Dirk Eddelbuettel wrote:
>
> Hi Michael,
>
> On 25 February 2012 at 19:45, Michael Braun wrote:
> | Hi. I would like to sta
es with
self-compiled code, outside of the R package structure (I believe I have good
reasons for doing this). The library may also include other C++ functions that
are loaded with no problem. It's just the module that is not recognized.
Thanks in advance for any suggestions.
Michael
I'm considering an STL vector
of either Eigen or Armadillo matrices, for example. Good idea, or bad?
Thanks again,
Michael
On Jul 27, 2011, at 3:55 PM, Dirk Eddelbuettel wrote:
>
> On 27 July 2011 at 15:04, Michael Braun wrote:
> | It is taking the SEXP as the argument. If
elp at all. But let's get the simple case fixed
first.
Are you aware of anyone at all who has had success combining Rcpp and OpenMP?
On Jul 27, 2011, at 2:55 PM, Davor Cubranic wrote:
> On 2011-07-27, at 10:33 AM, Michael Braun wrote:
>
>> I want to avoid making a copy of the
s a double as an argument,
instead of the SEXP. So I think there is something going on with passing the
SEXP to func, and then using Rcpp::as to convert the SEXP to double.
Is this close to what you are asking?
On Jul 27, 2011, at 1:26 PM, Davor Cubranic wrote:
> On 2011-07-26, at 8:01 PM,
with OpenMP; this is such a simple example.
Perhaps you have something specific in mind. Is there any way you (or someone
else on the list) could give me another hint?
Thanks,
Michael
On Jul 26, 2011, at 8:26 PM, Dirk Eddelbuettel wrote:
>
> Michael,
>
> On 26 July 2011 at 17:
could not figure out how to include the two different functions.)
Thanks,
Michael
-----------
Michael Braun
Associate Professor of Management Science (Marketing Group)
MIT Sloan School of Management
100 Main St.., E62-535
Cambridge, MA 02139
br
rsion of rcpp I installed is 0.9.4 on the most recent version of
> R.
>
>
>
> Can anyone show me what is wrong here?
>
> Besides the syntax problems, what I am doing here should work, right?
>
> I know there are non-Rcpp ways to get this done, but this is just something
Hi, Rcpp-friends:
File this post under "rookie mistake, "educational illustration," or "feature
request," but I noticed something in accessing elements from Rcpp matrices that
I found somewhat curious. Consider the following code, for which the objective
is just to print elements of a matrix.
arn a lot from the process.
On Apr 7, 2011, at 12:59 AM, Dirk Eddelbuettel wrote:
>
> On 7 April 2011 at 00:31, Michael Braun wrote:
> | A couple of weeks ago, I posted a problem in compiling and running one of
> the
> | examples from the Rcpp-quickref pdf. There were two suggest
anic wrote:
> On April 6, 2011 07:49:32 pm Michael Braun wrote:
>> I've been able to upgrade my compiler to g++ 4.6 on the Mac, and I also
>> checked this on a Red Hat Linux system with g++ 4.4. In both cases, the
>> OpenMP code does compile and run, so I agree that i
ssing
things up. (Incidentally, this fails on the Mac when using inline as well, but
that appears to be yet another issue).
I tried to make this example as small and replicable as possible. If you need
me to present this problem another way, please let me know.
Thanks,
Michael
--
elbuettel wrote:
>
>
> On 24 March 2011 at 17:50, Michael Braun wrote:
> | Dirk:
> |
> | This does work when I use the Intel compiler, so perhaps you are right. I
> am, however, using the standard Apple-provided version, which is 4.2.1.
> |
> | I suspect ther
cpp -o michael.o
> g++ -shared -o michael.so michael.o -fopenmp -lgomp
> -L/usr/local/lib/R/site-library/Rcpp/lib -lRcpp
> -Wl,-rpath,/usr/local/lib/R/site-library/Rcpp/lib -llapack -lblas -lgfortran
> -lm -L/usr/lib64/R/lib -lR -L/usr/lib64/R/lib -lR
> edd@max:/tmp$
&
onInfo(), I confirmed that I have Rcpp 0.9.2 installed.
It seems like I am doing *exactly* what is in the documentation. Am I missing
something?
Thanks,
Michael
-------
Michael Braun
Homer A. Burnell (1928) Career Development Professor,
and Assistant P
+ version 4.2.1 on a Mac Pro running OSX 10.6.6.
Any thoughts?
Thanks,
Michael
-------
Michael Braun
Homer A. Burnell (1928) Career Development Professor,
and Assistant Professor of Management Science (Marketing Group)
MIT Sloan School of Manag
19 matches
Mail list logo