Le 29/07/2022 à 23:43, Roberto Spadim a écrit :
I don't know if I'm clear in last message
What I want to do is something like this, but i don't know if Rcpp can
'convert' the ifstream to SEXP and keep the object intact:
XPtr was designed to wrap any C++ pointer to SEXP structure and make a
bac
I don't know if I'm clear in last message
What I want to do is something like this, but i don't know if Rcpp can
'convert' the ifstream to SEXP and keep the object intact:
One RCPP function to open the file and return the "ifstream" object
ifstream some_open_function(){
ifstream infile;
infi
Hi folks,
I need to read a file and populate a numeric vector
But, i need to do it by steps with open read close, for example:
R:
FileHandle=rcpp-openfile(xx)
Firstdata=Rcppread-data(FileHandle)
SecondData=Rcppread-data(FileHandle)
….
Rcpp-closefile(Filehandle)
Is it possible, to return some
> Le 23 juin 2022 à 17:38, Serguei Sokol a écrit :
>
> 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.
It works perfectly, thank you very much Serguei !
Jean