Hi all,
Want to ask two basic things. I have a pointer in a macro. How should I
call it in R? Also, in my fun I have a for loop involving pointers to
address of object. I am not sure can I simply put NumericVector here or
there is some other things to take care of? Below is the code.
#include
ros in R using Rcpp (Dirk Eddelbuettel)
>3. Re: Calling C++ Macros in R using Rcpp (Dale Smith)
>
>
> ------
>
> Message: 1
> Date: Sun, 28 Aug 2016 08:45:57 -0500
> From: Dirk Eddelbuettel
> To: Fatima Batool
> Cc: rcpp-devel@lists.r-forge.r-pr
Hi all,
Could anyone please advice what is going on in the following error and how
can I fix it?
sourceCpp("/Users/fatimabatool/documents/New/Rcodes/trial.cpp")
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include"
-DNDEBUG
-I"/Library/Frameworks/R.framework/Versions/3.6/Reso
fortunately) - try
>
> sudo xcode-select —install
>
> That should fix the error you see. However, Catalina broke more things so
> you may look at the links Dirk pointed out if you get new errors.
>
> Cheers,
> Simon
>
>
>
> > On Dec 27, 2019, at 8:16 PM, Fa
That's nothing extra, it's the first step in the link.
On Sat, Dec 28, 2019 at 2:14 PM Simon Urbanek
wrote:
> Did you follow the instructions I sent you?
>
> Sent from my iPhone
>
> On Dec 28, 2019, at 12:38, Fatima Batool wrote:
>
>
> Hi Drik and Simon,
t; <
> rcpp-devel@lists.r-forge.r-project.org>
> *Subject: *Re: [Rcpp-devel] building shared library error with sourceCpp
>
>
>
> That's nothing extra, it's the first step in the link.
>
>
>
> On Sat, Dec 28, 2019 at 2:14 PM Simon Urbanek
>
/SDKs/MacOSX.sdk
> -I/usr/local/include
>
> SHLIB_CXXLDFLAGS+=-Wl,-rpath,${R_HOME}/lib ${R_HOME}/lib/libc++abi.1.dylib
>
> SHLIB_CXX14LDFLAGS+=-Wl,-rpath,${R_HOME}/lib
> ${R_HOME}/lib/libc++abi.1.dylib
>
>
>
> - JJB
>
>
>
>
>
> *From: *Fatima Batool