Nice, thanks Dirk, I will test it!
Em qui., 23 de jun. de 2022 às 21:28, Dirk Eddelbuettel
escreveu:
>
> On 23 June 2022 at 20:46, Roberto Spadim wrote:
> | Uhm, yes I see
> | I testd with package, and linux, it works
> | But with Windows it don't find the liblzma
>
> "Par for the course" as the
On 23 June 2022 at 20:46, Roberto Spadim wrote:
| Uhm, yes I see
| I testd with package, and linux, it works
| But with Windows it don't find the liblzma
"Par for the course" as they say -- Windows has not standard library location
so you will need an 'extra convention' as either the CRAN rules o
Uhm, yes I see
I testd with package, and linux, it works
But with Windows it don't find the liblzma
Em qui., 23 de jun. de 2022 às 07:59, Dirk Eddelbuettel
escreveu:
>
> On 23 June 2022 at 10:05, Serguei Sokol wrote:
> | Le 23/06/2022 à 04:07, Roberto Spadim a écrit :
> | > Hi folks
> | >
> | >
One belated follow-up: one can in general control visibility so
- a function can be in C(++) and used by other C(++) functions
(and we have examples)
- a function can be exported to R easily via [[Rcpp::export()]] thanks to
magic of Rcpp::compileAttributes()
- a function can also be "priva
Le 23/06/2022 à 17:12, THIOULOUSE JEAN a écrit :
...
I can make a PR if you wish.
Yes, please do. Thanks a lot !
Done: https://github.com/sdray/ade4/pull/31
Serguei.
Le 23/06/2022 à 16:10, Jean Thioulouse a écrit :
Le 23 juin 2022 à 16:04, Serguei Sokol a écrit :
Le 23/06/2022 à 15:47,
> Le 23 juin 2022 à 16:58, Serguei Sokol a écrit :
>
> Rcpp or plain C++ or even C ;) , you still have to declare used functions.
> In Rcpp package, the most natural way to do it, is to put such declarations
> in a file $pkg/inst/include/.h. In your case, it will be
> inst/include/ade4.h
>
>
Rcpp or plain C++ or even C ;) , you still have to declare used functions.
In Rcpp package, the most natural way to do it, is to put such
declarations in a file $pkg/inst/include/.h. In your case, it
will be inst/include/ade4.h
In this file you put:
#include
int matcentrageCpp (arma::mat& A,
> Le 23 juin 2022 à 16:04, Serguei Sokol a écrit :
>
> Le 23/06/2022 à 15:47, Jean Thioulouse a écrit :
>> Thank you Serguei, I tried this, but I still get the "undeclared identifier"
>> error for these internal functions during package compilation:
>> clang++ -arch arm64 -std=gnu++14
>> -I"/
Le 23/06/2022 à 15:47, Jean Thioulouse a écrit :
Thank you Serguei, I tried this, but I still get the "undeclared identifier"
error for these internal functions during package compilation:
clang++ -arch arm64 -std=gnu++14
-I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG
-I'/Li
Thank you Serguei, I tried this, but I still get the "undeclared identifier"
error for these internal functions during package compilation:
clang++ -arch arm64 -std=gnu++14
-I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG
-I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Res
Le 23/06/2022 à 15:02, THIOULOUSE JEAN a écrit :
Hi
Sorry to bother you again with my C/C++ problems in the ade4 package (available on
CRAN & GitHub).
Thanks to your help, I have succeeded in converting several of the C functions
to C++ using Rcpp. Now the package compiles without problem and
Hi
Sorry to bother you again with my C/C++ problems in the ade4 package (available
on CRAN & GitHub).
Thanks to your help, I have succeeded in converting several of the C functions
to C++ using Rcpp. Now the package compiles without problem and all my C++
functions run fine in the dedicated Gi
On 23 June 2022 at 10:05, Serguei Sokol wrote:
| Le 23/06/2022 à 04:07, Roberto Spadim a écrit :
| > Hi folks
| >
| > I have a .xz file and need to read it and "convert" to a DataFrame using
| > Rcpp if possible.
| >
| > But... I'm with a problem (first time testing this) using liblzma with
|
Le 23/06/2022 à 04:07, Roberto Spadim a écrit :
Hi folks
I have a .xz file and need to read it and "convert" to a DataFrame using
Rcpp if possible.
But... I'm with a problem (first time testing this) using liblzma with
Rcpp, I already know how to do this with CMakeLists.txt, but I don't
kno
14 matches
Mail list logo