.onLoad <- function(libname, pkgname){
if (interactive()) {
packageStartupMessage('You have loaded Agroft: An Agriculture Field Trial Statistics Package.\n
You can start an Agroft session by typing "launch()" at the R prompt (>) and pressing enter.
More info on how to use Agroft can be found online at: http://ucd-ipo.github.io/agroft \n
To end your Agroft session, close the browser tab or window Agroft is running in.\n
Important!\n- Agroft does not save your work between sessions.
- Use the report feature in the app to save your progress.
Now launching Agroft...')
launch()
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.