+1 > I would LOVE to offer assistance, but I don't think I can do much - my C/C++ > knowledge is fairly limited.
Seems to me like you're doing pretty well so far! As often as not, identifying the *location* of the problem is the hardest part. > I checked out Rcpp's src/Date.cpp . It seems all the work is done on > Date::update_tm(), which calls gmtime_(). But where is struct tm and time_t > defined? I guess this is the internal representation of dates in R, correct? Have you looked at the doxygen docs? They're machine-generated and can be confusing on first read. On the other hand, they're big-C Complete. Following your trail, see examples of time_t here: http://dirk.eddelbuettel.com/code/rcpp/html/Date_8cpp_source.html Also, http://www.cplusplus.com/reference/clibrary/ctime/time_t/ -Christian -- A man, a plan, a cat, a ham, a yak, a yam, a hat, a canal – Panama! _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel