I try to debug an cpp file, which I source from R, using the lldb debuger.
sourceCpp("source.cpp")
Everything is woking fine, but I dont get how can I show the content of specific datatypes. Like NumericVector or CharackterVector.
E.g.:
(lldb) fr v myvec gives me:
(Rcpp::CharacterVector) myvec= {
Rcpp::PreserveStorage<Rcpp::Vector<4> > = (data = 0x000055555899e970)
cache = {
p = 0x00007fffffffc070
}
}
How it is possible to get the values of the vector in lldb?
Best, Till