Hello,
Is there a manual that describes how to convert from Rcpp types to
Armadillo/RcppArmadillo types and then back to R or Rcpp types?
Also, just to confirm, is matrix multiplication in RcppArmadillo
really as easy as C = A * B?
Thank you.
___
Rcpp-
Yes, I have concluded that I will be using RcppArmadillo - I have
noticed that it is easier to use after read the RcppGSL vignette.
On Fri, Oct 14, 2011 at 5:13 PM, Dirk Eddelbuettel wrote:
>
> On 14 October 2011 at 16:51, Slava Razbash wrote:
> | I been planning to use RcppArmadillo to code pack
On 14 October 2011 at 16:51, Slava Razbash wrote:
| I been planning to use RcppArmadillo to code packages intended for
| release on CRAN. Following this discussion, it seems that I should
| switch to RcppGSL because it does not have this function that causes
| problems when compiling on Mac.
No,
I been planning to use RcppArmadillo to code packages intended for
release on CRAN. Following this discussion, it seems that I should
switch to RcppGSL because it does not have this function that causes
problems when compiling on Mac.
On Fri, Oct 14, 2011 at 3:01 PM, Dirk Eddelbuettel wrote:
>
>
On 13 October 2011 at 18:47, terrance savitsky wrote:
| coding packages with RcppArmadillo intended for release on C-RAN. I surely
| hope the licensing issue resolves and these problems are temporary.
While hope does spring eternal, I see little chance for this.
OS X switches to the llvm/clang
Thank you for guidance, Dirk. My package with inclusion of symmatl() builds
and loads without issue under Windows using the Rtools toolchain for
R-2.13.1. Since my package must build on all platforms supported by R to
successfully upload to C-RAN, I will remove symmatl(). This may not be the
onl
OS X is stuck at a known buggy version of g++, namely g++-4.2.1. Conrad has
some issues with that upstream, we mostly cope.
I just did a quick grep and symmatl() is defined in a short file
fn_symmat.hpp without any #define or #if statement, and that file is directly
included.
If the code wor
Hello again Rcpp experts, I asked my colleague to attempt an install on his
personal Macbook just to be sure he wasn't experiencing security issues at
work. Anyway, he now receives an easier-to-comprehend error message. Yet,
it appears to not recognize the 'symmatl' function of Armadillo (contai
> | I wrote an function to check that you have a valid R development
> | environment (with help from Simon Urbanek) for devtools. See code
> | below - and check with has_devel()
>
> Nice. We should borrow that idea as the issue comes up /a lot/.
Please!
> One improvement I would make--even thoug
On 13 October 2011 at 18:15, Jian Kang wrote:
| Thanks for your reply.
|
| Here is the response of 'Hello World' program:
|
| > src='#include
| + using namespace std;
| + void main()
| + {
| + cout << "Hello World!" << endl;
| + cout << "Welcome to C++ Programming" << endl;
| + }'
| >
| > fx <
On 13 October 2011 at 10:11, Hadley Wickham wrote:
| > My best guess is that you have not installed the Rtools correctly. Can you
| > compile a simple 'hello, world' example in C or C++? Can you rebuild R
| > packages from source?
|
| I wrote an function to check that you have a valid R develop
There are a couple of things:
* As far as I know, 'src' should not include a main() statement, nor
should it have #include statements (these can be added in the
'includes' argument in cxxfunction)
* The first argument in cxxfunction is sig. Since you don't supply an
explicitly named sig argument,
Thanks for your reply.
Here is the response of 'Hello World' program:
> src='#include
+ using namespace std;
+ void main()
+ {
+ cout << "Hello World!" << endl;
+ cout << "Welcome to C++ Programming" << endl;
+ }'
>
> fx <- cxxfunction(src,plugin = "Rcpp",verbose=T)
>> setting environment varia
> My best guess is that you have not installed the Rtools correctly. Can you
> compile a simple 'hello, world' example in C or C++? Can you rebuild R
> packages from source?
I wrote an function to check that you have a valid R development
environment (with help from Simon Urbanek) for devtools.
Hi,
And thanks for posting here.
On 13 October 2011 at 16:16, Slava Razbash wrote:
| I am trying to compile the example program with "inline" from the
| jstatsoft article by Eddelbuettel and Francois (2011). I am using
| WinXP and R 2.13.2 and RCPP 0.9.7. I am using Rtools 2.14.
|
| My code:
|
15 matches
Mail list logo