diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2013-11-18 20:13:58 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2013-11-18 20:13:58 +0100 |
commit | 66620036c4943c03072b113a63fcd983390102b8 (patch) | |
tree | 182d7c0d59eaf5c0dd6c133cdc057abf79f0bc59 /R | |
parent | 5bd512dd2da97d14354b1d5ee70de29bd81fae7c (diff) |
Add GUI start function, keep GUI here in mkin
Diffstat (limited to 'R')
-rw-r--r-- | R/gmkin.R | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/R/gmkin.R b/R/gmkin.R new file mode 100644 index 0000000..912d31c --- /dev/null +++ b/R/gmkin.R @@ -0,0 +1,11 @@ +gmkin <- function() { + if (require(gWidgetsWWW2)) load_app(system.file("GUI/gmkin.R", package = "mkin")) + else { + message( + "\nYou need to install gWidgetsWWW2 in order to run the mkin GUI gmkin.\n", + "This package is not currently on CRAN but can be installed from github\n", + "using the devtools package:\n", + "library(devtools)\n", + "install_github('gWidgetsWWW2', 'jverzani')") + } +} |