On 17 February 2016 at 21:22, Diego Monteiro wrote:
| I will send the complete code and bold the part where it get stuck.
Please do not send html markup, please make the code self-contained and
please make it clear how to run it (ie maybe add sample data).
In other words, stress each of the word
I made a typo above it's:
setMethod(
f = "*getTrajectoryR*",
signature = c("DataSourceInfo","DataSetInfo"),
definition = function(datasource, dataset)
{
loadPackages()
dsource <- list("connInfo"=datasource@connInfo,"title"=datasource@title
,"accessDriver"=datasource@accessDriver,"t
I will send the complete code and bold the part where it get stuck.
C++ code template created :
namespace Rcpp{
template<> te::da::DataSourceInfo as (SEXP datasource){
* Rcpp::List dataSource (datasource);*
te::da::DataSourceInfo ds;
Rcpp::String typestring = (dataSource["type"]);
std::s
On 17 February 2016 at 20:28, Diego Monteiro wrote:
| 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);
| [.]
| }
|
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