From 062df4d773cd4e57c862054fe9b5232b5a055c34 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 13 Sep 2018 23:46:59 +0200 Subject: Require mkin version that actually works with gmkin Static documentation rebuilt by pkgdown --- docs/index.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'docs/index.html') diff --git a/docs/index.html b/docs/index.html index a654b22..0df4c29 100644 --- a/docs/index.html +++ b/docs/index.html @@ -31,7 +31,7 @@ gmkin - 0.6.8 + 0.6.9 @@ -93,14 +93,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

@@ -109,8 +109,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).

@@ -137,9 +137,9 @@ gmkin()

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)
+
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.

@@ -147,11 +147,11 @@ install_github("jranke/gmkin", quick = TRUE) 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.

-- cgit v1.2.1