From 5cba6b4cdaee9fdb24f9cea338aafb522ceb0361 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 13 Oct 2017 12:37:43 +0200 Subject: Install with drat, static documentation rebuilt by pkgdown --- docs/articles/gmkin_manual.R | 34 ++++++++++++++++++++++++++++++++++ docs/index.html | 13 +++++++------ 2 files changed, 41 insertions(+), 6 deletions(-) create mode 100644 docs/articles/gmkin_manual.R (limited to 'docs') diff --git a/docs/articles/gmkin_manual.R b/docs/articles/gmkin_manual.R new file mode 100644 index 0000000..0fd5ece --- /dev/null +++ b/docs/articles/gmkin_manual.R @@ -0,0 +1,34 @@ +## ---- include = FALSE---------------------------------------------------- +library(knitr) +opts_chunk$set(tidy = FALSE, cache = FALSE) + +## ---- eval = FALSE------------------------------------------------------- +# library(gmkin) + +## ---- eval = FALSE------------------------------------------------------- +# gmkin() + +## ---- eval = FALSE------------------------------------------------------- +# write.table(schaefer07_complex_case, sep = ",", dec = ".", +# row.names = FALSE, quote = FALSE, +# file = "schaefer07.csv") + +## ---- eval = FALSE------------------------------------------------------- +# Model cost at call 1 : 15156.12 +# Model cost at call 3 : 15156.12 +# Model cost at call 7 : 14220.79 +# Model cost at call 8 : 14220.79 +# Model cost at call 11 : 14220.79 +# Model cost at call 12 : 3349.268 +# Model cost at call 15 : 3349.268 +# Model cost at call 17 : 788.6367 +# Model cost at call 18 : 788.6366 +# Model cost at call 22 : 374.0575 +# Model cost at call 23 : 374.0575 +# Model cost at call 27 : 371.2135 +# Model cost at call 28 : 371.2135 +# Model cost at call 32 : 371.2134 +# Model cost at call 36 : 371.2134 +# Model cost at call 37 : 371.2134 +# Optimisation by method Port successfully terminated. + diff --git a/docs/index.html b/docs/index.html index 38efd2c..7d2d95a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -68,14 +68,15 @@

Installing gmkin and gWidgetsWWW2

-

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

+

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()

or similar, depending on your R installation.

-

For installing gmkin or upgrading to the latest released version, please use the command

-
install.packages("gmkin", repos = c("http://r-forge.r-project.org", getOption("repos")))
-

If you have not set your CRAN mirror yet, you may have to select one from the list that appears.

-

The above command temporarily adds the R-Forge repository to your package sources. It should pull the gmkin package and its dependencies, notably the gWidgetsWWW2 package which is not available from the CRAN archive (see below). Mac users that have the necessary development files installed can probably install from the source files in this repository (not tested).

-

In a previous version of this README I have described how to permanently add the R-Forge repository to your options. However, I noticed this has unwanted side effects, so I do not recommend it any longer. Therefore, you may want to revert such changes to your R startup options.

+

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

+
install.packages("drat")
+

add my repository

+
drat::addRepo("jranke")
+

and install as usual

+
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

-- cgit v1.2.1