On 28 June 2013 at 15:04, John Swan wrote:
| Once this is installed alongside Xcode 4.6 and Xcode 5.0 DP, both inline and
| sourceCpp now work perfectly, and Xcode development appears to be unaffected.
Thank you both. If you have a suggested patch for the Rcpp-FAQ to document
more clearly how OS
Hi John,
Excellent, glad that worked out. In case you (or others on Mac) want to
play with C++11: http://gallery.rcpp.org/articles/first-steps-with-C++11/
R compiles with Clang. Clang has pretty complete support for C++11. The
older gcc 4.2.x compiler does not. But at this point you will have to
Hi Anirban,
Just a quick note to thank you again and inform you that you were quite right.
The build of gfortran that you recommended still has a broken link, but it is
still available here:
http://cran.r-project.org/bin/macosx/tools/gfortran-4.2.3.dmg
Once this is installed alongside Xcode 4.6
Hi John,
You should only need gfortran. llvm-gcc "should" work. If you don't have
Apple's gcc, then you want the "other" gfortran from the developer website:
http://r.research.att.com/gfortran-4.2.3.dmg
The link seems to be down (at least I cannot access it, check with Simon
Urbanek). That gfort
Hi Anirban,
Thank you for your help. I believe you're right, I was coming to the same
conclusion myself.
One thing however, I have Mountain Lion with Xcode 4.6 installed for iOS
development. As far as I understand it, gcc 4.2 is not included with that
version of Xcode.
Don't I have to install
inline + RcppArmadillo work on Mac. I tested the code in a Mac (Mountain
Lion 10.8.4) before posting. Install gfortran from:
http://r.research.att.com/gfortran-lion-5666-3.pkg. You can look here for
more information: http://r.research.att.com/tools/. If that does not work,
post in R-SIG-Mac.
On W
On 26 June 2013 at 19:55, Dirk Eddelbuettel wrote:
|
| On 27 June 2013 at 02:39, John Swan wrote:
| | Hi all,
| |
| | Thanks for all the advice. I had a large number of rookie mistakes in there!
|
| [...]
|
| | Is there any way I can get more verbose information, get at the
environment vari
On 27 June 2013 at 02:39, John Swan wrote:
| Hi all,
|
| Thanks for all the advice. I had a large number of rookie mistakes in there!
[...]
| Is there any way I can get more verbose information, get at the environment
variables or compiler options used by Rcpp or anything?
Yes. Read the hel
Hi all,
Thanks for all the advice. I had a large number of rookie mistakes in there!
However, I still can't get anything to work. Details below:
I do have RcppArmadillo installed:
> installed.packages()
Package LibPath
library(inline); library(RcppArmadillo)
rowSumsRA <- cxxfunction(signature(x = "numeric"), plugin="RcppArmadillo",
body='return Rcpp::wrap(arma::sum(as(x),0));')
colSumsRA <- cxxfunction(signature(x = "numeric"), plugin="RcppArmadillo",
body='return Rcpp::wrap(arma::sum(as(x),1));')
Anirban
> D
Hi John,
Thanks for posting here.
On 26 June 2013 at 11:11, John Swan wrote:
| Hi,
|
| I just purchased Dirk's book on Seamless Rcpp and I'm finding it very useful.
|
| However, I'm having a strange error running RcppArmadillo inline, where the
| book examples seem to manage it effortlessly.
Hello,
I don't have a copy of the book at hand. Below are some insights on what
you are doing wrong.
Hope this helps.
Romain
Le 26/06/13 11:11, John Swan a écrit :
Hi,
I just purchased Dirk's book on Seamless Rcpp and I'm finding it very
useful.
However, I'm having a strange error running
12 matches
Mail list logo