On 12.07.2017 01:09, Dirk Eddelbuettel wrote:
On 11 July 2017 at 23:44, David Bellot wrote:
| it looks like I couldn't find a proper solution, even after googling every
| where. The question is simple:
|
| I have a bit64 vector of integers (timestamps of financial tick data, you
| bet ?) and I wa
On 11 July 2017 at 23:44, David Bellot wrote:
| it looks like I couldn't find a proper solution, even after googling every
| where. The question is simple:
|
| I have a bit64 vector of integers (timestamps of financial tick data, you
| bet ?) and I want to pass it to a C++ function. The good ol'
My understanding is that `integer64` actually stores its contents in an R
numeric vector, so presumedly you should be able to handle this by
forcefully casting the contents as you access it, e.g.
#include
using namespace Rcpp;
// [[Rcpp::export]]
NumericVector timesTwo(NumericVector input) {
Hi,
it looks like I couldn't find a proper solution, even after googling every
where. The question is simple:
I have a bit64 vector of integers (timestamps of financial tick data, you
bet ?) and I want to pass it to a C++ function. The good ol' method is to
convert it to strings, pass it and cast