Displaying 2 results from an estimated 2 matches for "rcppresultset".
2010 Mar 30
1
Adding RcppFrame to RcppResultSet causes segmentation fault
Hi,
I'm a bit puzzled. I uses exactly the same code in RcppExamples
package to try adding RcppFrame object to RcppResultSet. When running
it gives me segmentation fault problem. I'm using gcc 4.1.2 on redhat
64bit. I'm not sure if this is the cause of the problem. Any advice
would be greatly appreciated. Thank you.
Rob.
int numCol=4;
std::vector<std::string> colNames(numCol);
colNames[0] = "alpha...
2010 Dec 03
1
Error using Rcpp under windows xp
...transform(orig.begin(), orig.end(), vec.begin(), sqrt);
Rcpp::Pairlist res(Rcpp::Named( "result", vec),
Rcpp::Named( "original", orig));
return res;
}
I got bunch of error messages like:
test.o:test.cpp:(.test+0x141): undefined reference to
'RcppResultSet::RcppResultSet()'
...
undefined reference to 'double*
Rcpp::internal::r_vector_start<14,double>(SEXPREC*)'
collect2: ld returned 1 exit status
Can someone help me out?
Thanks,
--
View this message in context: http://r.789695.n4.nabble.com/Error-using-Rcpp-under-windows-xp-t...