aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2015-11-27 08:13:06 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2015-11-27 08:13:06 +0100
commitdda6acba471b6a23ea54734bb7e83b3b3e86f27b (patch)
tree779192fa0d4a10dd1e6ac23ee0142fec65f8e41c
parent2a6537f6f140e3929d944aaece8ab211a23e7f57 (diff)
Recommend upgrading packages before installation
This is recommended in the help file for install.packages. As package versions are not checked by install.packages upgrading to the latest published versions is the official method to make sure that versioned dependencies are met in the installation process.
-rw-r--r--README.html5
-rw-r--r--README.md14
2 files changed, 16 insertions, 3 deletions
diff --git a/README.html b/README.html
index ed8f5e7..f1555ac 100644
--- a/README.html
+++ b/README.html
@@ -77,7 +77,10 @@ img {
</div>
<div id="installing-gmkin-and-gwidgetswww2" class="section level3">
<h3>Installing gmkin and gWidgetsWWW2</h3>
-<p>Windows and Linux users running R 3.1.0 or later can make use of the package repository on R-Forge. For installing or upgrading to the latest released version, please start R and paste the command</p>
+<p>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</p>
+<pre class="s"><code>update.packages()</code></pre>
+<p>or similar, depending on your R installation.</p>
+<p>For installing gmkin or upgrading to the latest released version, please use the command</p>
<pre class="s"><code>install.packages(&quot;gmkin&quot;, repos = c(&quot;http://r-forge.r-project.org&quot;, getOption(&quot;repos&quot;)))</code></pre>
<p>If you have not set your CRAN mirror yet, you may have to select one from the list that appears.</p>
<p>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).</p>
diff --git a/README.md b/README.md
index 36183b1..7b6a14d 100644
--- a/README.md
+++ b/README.md
@@ -39,8 +39,18 @@ respective
### 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. For installing or upgrading to the latest released
-version, please start R and paste the command
+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
+
+```s
+update.packages()
+```
+
+or similar, depending on your R installation.
+
+For installing gmkin or upgrading to the latest released version, please
+use the command
```s
install.packages("gmkin", repos = c("http://r-forge.r-project.org", getOption("repos")))

Contact - Imprint