Good Evening.
I am pretty new to this programming universe, but I was given a task to
create an R/C++ package.
I am trying to link a third-party library to my R/C++ code using Rcpp
0.12.0 , I have successfully used other third party libraries on my R/C++,
but when I try to use this one that uses
Centre
>
>
>
> From: rcpp-devel-boun...@lists.r-forge.r-project.org <
> rcpp-devel-boun...@lists.r-forge.r-project.org> on behalf of Diego
> Monteiro
> Sent: September 9, 2015 1:55 PM
> To: rcpp-devel@lists.r-forge.r-project.org
> Subje
Hello, I'm trying to implement a conversion from a R type into my own Type
, but in the beginning I am getting an error.
The code is like the following :
template<> MyType as (SEXP x){
Rcpp::List dataSource(x);
[.]
}
This is the ERROR:
An exception has occurried: could not convert using R
(dset,"phTimeName"=dataset@phTimeName)
c(dset,"geomName"=dataset@geomName)
c(dset,"trajId"=dataset@trajId)
c(dset,"trajName"=dataset@trajName)
c(dset,"objId"=dataset@trajName)
traj1 <- getTrajectory(datasource,dataset)
return
quot;trajId"=dataset@trajId)
c(dset,"trajName"=dataset@trajName)
c(dset,"objId"=dataset@trajName)
traj1 <- getTrajectory(datasource,dataset)
return (traj1)
}
)
2016-02-17 21:22 GMT-02:00 Diego Monteiro :
> I will send the complete code and bold the