runExample("simple", thisR = TRUE) ## Create 'obj'
FreeADFun(obj) ## Free external pointers
obj$fn() ## Re-allocate external pointers
Run the code above in your browser using DataLab