From ba0ffaa9579322d0dca4973b4750432fccd3e83b Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 12 Feb 2021 17:41:38 +0100 Subject: Adapt to mkin 1.0.x, rebuild docs --- docs/index.html | 59 +++++++++++++++++++++++++++++++++------------------------ 1 file changed, 34 insertions(+), 25 deletions(-) (limited to 'docs/index.html') diff --git a/docs/index.html b/docs/index.html index 6936d50..229d914 100644 --- a/docs/index.html +++ b/docs/index.html @@ -6,21 +6,21 @@ Graphical User Interface for Fitting Kinetic Models to Chemical Degradation Data • gmkin - - - - + + + + + - - +
@@ -96,14 +103,14 @@

Installing gmkin and gWidgetsWWW2

Windows and Linux users running R 3.1.0 or later can make use of my drat package repository on github. Before installing gmkin, you should update your R packages already installed, e.g. by starting R, and pasting the command

-
update.packages()
+
update.packages()

or similar, depending on your R installation.

For installing gmkin or upgrading to the latest released version, please install the drat package

-
install.packages("drat")
+
install.packages("drat")

add my repository

-
drat::addRepo("jranke")
+
drat::addRepo("jranke")

and install as usual

-
install.packages("gmkin")
+
install.packages("gmkin")

The latest changes to gmkin are recorded in the NEWS file, more details can be found in the commit history.

gmkin screenshot

@@ -112,8 +119,8 @@

Usage

Without further preparation, you can start the GUI by starting R and pasting the following commands into the R terminal (R console on Windows):

-
require(gmkin)
-gmkin()
+
require(gmkin)
+gmkin()

You may also want to adapt the browser that R starts (using e.g. options(browser="/usr/bin/firefox") on linux, or setting the default browser on Windows).

@@ -140,9 +147,9 @@

Installation using the devtools package

Users of the devtools package can also install gWidgetsWWW2 and gmkin directly from the respective github repositories:

- +
require(devtools)
+install_github("jverzani/gWidgetsWWW2", quick = TRUE)
+install_github("jranke/gmkin", quick = TRUE)

Installing gWidgetsWWW2 in this way yields a lot of warnings concerning overly long path names (see Notes on gWidgetsWWW2 above). Using quick = TRUE skips docs, multiple-architecture builds, demos, and vignettes, to make installation as fast and painless as possible.

@@ -150,11 +157,11 @@

Simplifying the start of gmkin under Windows

You can put the commands

-
require(gmkin)
-gmkin()
-while (TRUE) {
-  Sys.sleep(10)
-}
+
require(gmkin)
+gmkin()
+while (TRUE) {
+  Sys.sleep(10)
+}

into an R script (e.g. under C:\Users\<your username>\AppData\Roaming\gmkin_start.R), and create a Windows shortcut, e.g. on the Desktop, with the target "C:\Program Files\R\R-3.x.y\bin\R.exe" --slave -f c:\Users\<your username>\AppData\Roaming\gmkin_start.R, where R.x.y is the version of R that you would like to use with gmkin. This will start a non-interactive R console that runs the gmkin GUI. In the properties dialogue of the shortcut, you can also set the working directory in which it starts gmkin. Thanks to Jonas Klein of the Umweltbundesamt for the trick with using Sys.sleep in a while loop and for suggesting the AppData directory for the start script.

@@ -166,10 +173,12 @@
-