aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2013-11-18 20:13:58 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2013-11-18 20:13:58 +0100
commit66620036c4943c03072b113a63fcd983390102b8 (patch)
tree182d7c0d59eaf5c0dd6c133cdc057abf79f0bc59 /R
parent5bd512dd2da97d14354b1d5ee70de29bd81fae7c (diff)
Add GUI start function, keep GUI here in mkin
Diffstat (limited to 'R')
-rw-r--r--R/gmkin.R11
1 files changed, 11 insertions, 0 deletions
diff --git a/R/gmkin.R b/R/gmkin.R
new file mode 100644
index 00000000..912d31c2
--- /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')")
+ }
+}

Contact - Imprint