blob: f8540ff9ca519e1ad0f3bda110b852199e7f6353 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
\name{gmkin}
\alias{gmkin}
\title{
Start a graphical user interface (GUI) based on the \code{gWidgetsWWW2} toolkit.
}
\description{
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.
}
\usage{
gmkin(script_name, show.log = FALSE)
}
\arguments{
\item{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.
}
\item{show.log}{
During development, it may be useful to see the log of the Rook apps.
}
}
\examples{
\dontrun{gmkin()} # Start the gmkin GUI
\dontrun{
g <- gmkin()
# Only for debugging or other advanced usage:
session <- gmkin:::get_current_session(g)
session$p.df
session$ds.df
session$ds.cur
session$m.cur
session$ws
}
}
\value{
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.
}
\author{
Johannes Ranke
}
|