I recent wrote a post about testing external pointers with finalization in R using C++. The test package is now available at R-Forge for inspiration.
You may also like
Often you need fast access/lookup in R. For instance assume that you have the following data frame/matrix dat >head(dat) x y z […]
Assume that you have created a 3-dim array in R containing vectors of various size: > a<-array(list(),c(2,2,2)) # array where each element […]
I the past days I have been experimenting with how to use R as an interface to an C++ library. I have […]
I have written a small note about mapping a multidimensional index into a unique id. An unique id might be useful e.g. […]