.onLoad<-function(libname, pkgname){
#create environment for results if in interactive Mode
MeHaloCoAenv<<-new.env()
# invisible()
#this allow use of tcltk functionalities
# attach(MeHaloCoAenv)
#test if we can launch runGUI()
if (interactive()){
try(runGUI())
}
}#end .onload
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.