c/foo_types.hpp
>
> And put your #define macros there.
>
>
>
> On Thu, Jun 2, 2016 at 3:32 AM, Scott Ritchie
> wrote:
>
>> Hi all,
>>
>> I would like to set my own Armadillo #define macros (i.e. some of those
>> listed http://arma.sourceforge.net/docs.
RcppArmadillo.h).
However, the first file to compile is RcppExports.cpp, which has `#include
` at the top of the file, so my preprocessor macros in my
source files are ignored when compiling.
Kind regards,
Scott Ritchie
___
Rcpp-devel mailing list
Rcpp-devel
tive float type. I found a related post here:
> https://github.com/kaneplusplus/bigmemory/issues/4
>
> Yue
>
>
>
> On Jun 2, 2015, at 12:27 AM, Scott Ritchie wrote:
>
> Hi Yue,
>
> The call (float *)xpMat->matrix() is simply telling C++ to interpret the
> stored mem
Hi Yue,
The call (float *)xpMat->matrix() is simply telling C++ to interpret the
stored memory as a float, so it’s simply breaking up the stored binary data
into float-sized chunks instead of double-sized chunks, so you get nonsense
numbers. To store as a float, you would have to cast double_bigma
went, working from a rudimentary knowledge of C).
So I think Jonathon's suggestion of FAQ entries would be useful, if only
for those who dive into Rcpp without knowing a whole lot about C++ to begin
with.
Cheers,
Scott Ritchie
On 30 September 2014 07:08, Romain Francois
wrote:
> If you
On 12 August 2014 21:24, Dirk Eddelbuettel wrote:
>
> On 12 August 2014 at 17:09, Scott Ritchie wrote:
> | Well that's frustrating.
> |
> | I've tried the OpenMPController package without success, and tried to
> | explicitly disable BLAS in the Armadillo headers
ich does this right.
>
> Dirk
>
> |
> | Best,
> | Yixuan
> |
> |
> | 2014-08-11 18:55 GMT-04:00 Dirk Eddelbuettel :
> |
> |
> | Hi Scott,
> |
> |
> | On 12 August 2014 at 08:43, Scott Ritchie wrote:
> | | Hi Everyone,
> | |
> | | I
Setting the environment variables within my Rcpp function using `putenv`
also doesn't seem to have an effect.
On 12 August 2014 10:04, Scott Ritchie wrote:
> Thanks Dirk and Yixuan,
>
> I think I'm misstating the question.
>
> I'm developing a package which makes
M_THREADS=1" to your
> .bashrc file, or compiling OpenBlas again by setting NUM_THREADS = 1 in the
> Makefile.rule?
>
>
> Best,
> Yixuan
>
>
> 2014-08-11 18:55 GMT-04:00 Dirk Eddelbuettel :
>
>
>> Hi Scott,
>>
>>
>> On 12 August 2014 at 08:4
nto thinking the machine only has 1 core?
Regards,
Scott Ritchie
___
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
Thanks for clearing that up for me Dirk,
I'm hoping to publish on CRAN at some point, so I'll go with the
suggested CXX_STD
= CXX11 in my Makevars files.
Cheers,
Scott Ritchie
On 30 July 2014 13:13, Dirk Eddelbuettel wrote:
>
> PS And of course, there is simpl
be broken when I install on the system without full C++11 extension
support. Can I just ignore this warning, and is what I have done correct?
My package versions on both systems are:
Rcpp_0.11.2
RcppArmadillo_0.4.320.0
Kind Regards,
Scott Ritchie
12 matches
Mail list logo