diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2019-07-08 11:53:01 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2019-07-08 11:53:01 +0200 |
commit | 06d7cf75f918e53c9b3c4aa0a9a8654cd7181136 (patch) | |
tree | bd2154bc91b40af1d9ad66e5ada7c6eff30fa98a /R | |
parent | 0e9109db089217fea76cb5481db2ed5f3f861f03 (diff) |
Start of adaption to mkin 0.9.49.5
Diffstat (limited to 'R')
-rw-r--r-- | R/gmkin.R | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -18,6 +18,22 @@ # This makes use of the ::: operator # To avoid this, gWidgetsWWW2 needs to be adapted + +#' Start a graphical user interface (GUI) based on the \code{gWidgetsWWW2} toolkit. +#' +#' This function starts a browser based GUI. Please visit the +#' \href{http://github.com/jverzani/gWidgetsWWW2}{github page of gWidgetsWWW2} +#' for an explanation how this toolkit works. +#' +#' @param script_name During development, a script name with a local working +#' version of gmkin can be passed. Defaults to the location of the gmkin.R +#' script shipped with the package. +#' @param show.log During development, it may be useful to see the log of the +#' Rook apps. +#' @return The function is called for its side effect, namely starting the GUI +#' in a browser. For the curious, the desperate or the adventurous, the gmkin +#' app (a GWidgetsApp object) is returned. +#' @export gmkin <- function(script_name, show.log = FALSE) { if (missing(script_name)) { script_name = system.file("GUI/gmkin.R", package = "gmkin") |