[Rcpp-devel] Need some hep reading files
Roberto Spadim
roberto at spadim.com.br
Thu Jul 28 22:05:55 CEST 2022
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(xxxxxx)
Firstdata=Rcppread-data(FileHandle)
SecondData=Rcppread-data(FileHandle)
….
Rcpp-closefile(Filehandle)
Is it possible, to return some kind of object to “filehandle” where i could
avoid fopen fseek fread fclose every time i need to call read data
function? Or maybe return an index of a rcpp side array of file handlers
--
Roberto Spadim
SPAEmpresarial - Software ERP/Scada
Eng. Automação e Controle, Eng. Financeira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20220728/b88ba35b/attachment.html>
More information about the Rcpp-devel
mailing list