Dimitri Mahieux wrote: > Hi All, > > I have some questions about making a R-package. I would like to use a > namespace. The package contains analysis functions and also > a graphical user interface. I would like to allow user to use only the > analysis function and not the GUI functions which are mainly > bindings to graphical elements. I have exported analysis functions using > export directives in a namespace file but when I want to use > the GUI, it seems that all the GUI functions are unknown. > > Is there a way to solve this problem ? > If you don't export the functions, they won't normally be visible outside your package, but you can still use the ":::" notation to get them, e.g.
mypackage:::myfunction gets myfunction even if it was not exported. Duncan Murdoch ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.