On 26 October 2016 at 18:24, Sergio Bra wrote: | I need to execute something like this in R: | | R> res<-new(myClass) | R>res$myMethod(1000) | | So, when you say that I can manage it from the R side, are you talking about | programming that behaviour in a *.R file? In case of an affirmative answer, | same file where I have theĀ loadModule sentence?
Yes. Anywhere in your package works. I seem to set default values only with free functions. So I fear you need to re-jig your code a little. I coul of course be overlooking something too... Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org _______________________________________________ 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