Hi I have a package with functions that gui create with gWidgets, is there a way I can get this to work when the package loads, so the interface appears immediately.
I thought something like this:
.OnAttach <- function(libname, pkgname){ gui() }
will work, but I still learn about interceptions and events during loading and unloading of the package and material of the R environment.
EDIT:
This is what I have in my zzz file:
.onLoad <- function(libname = find.package("GspeEaR"), pkgname = "GspeEaR") { gui() }
Thanks,
Ben W.
function r package load
Ward9250
source share