aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2015-11-27 23:46:02 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2015-11-27 23:46:02 +0100
commit72b109ac04a50f009ea41d5f24e767d13e31e241 (patch)
tree2d6c21454ab9afd76a971b274980220409309231
parentcd8d43865f2eeccb84b7bba5187557810317a30a (diff)
Better Windows start simplification and acknowledgements
-rw-r--r--README.html12
-rw-r--r--README.md33
2 files changed, 28 insertions, 17 deletions
diff --git a/README.html b/README.html
index f1555ac..8d08614 100644
--- a/README.html
+++ b/README.html
@@ -125,9 +125,15 @@ install_github(&quot;jranke/gmkin&quot;, quick = TRUE)</code></pre>
<h2>Simplifying the start of gmkin under Windows</h2>
<p>You can put the commands</p>
<pre class="s"><code>require(gmkin)
-require(utils)
-gmkin()</code></pre>
-<p>into an <code>.Rprofile</code> file in the working directory where you would like to work with gmkin and create a shortcut to start R and gmkin in this directory. For your convenience, you can find such a file <a href="http://raw.githubusercontent.com/jranke/gmkin/master/Rprofile">here</a>. On Windows, you can save this file to the directory where you would like to start gmkin by right clicking on the link to this file, choose ‘save target as’ or similar, and choose <code>.Rprofile.</code> as the name (yes, there are two dots, one in the beginning, one in the end). This will lead to the creation of a file named <code>.Rprofile</code> which will be executed when you start R within this directory, e.g. by creating a shortcut that starts R in this directory (see <a href="http://cran.r-project.org/bin/windows/base/rw-FAQ.html#How-do-I-install-R-for-Windows_003f">How do I install R for Windows?</a>, and <a href="http://cran.r-project.org/bin/windows/base/rw-FAQ.html#How-do-I-run-it_003f">How do I run it?</a>).</p>
+gmkin()
+while (TRUE) {
+ Sys.sleep(10)
+}</code></pre>
+<p>into an R script (e.g. under <code>C:\Users\&lt;your username&gt;\AppData\Roaming\gmkin_start.R</code>), and create a Windows shortcut, e.g. on the Desktop, with the target <code>&quot;C:\Program Files\R\R-3.x.y\bin\R.exe&quot; --slave -f c:\Users\&lt;your username&gt;\AppData\Roaming\gmkin_start.R</code>, 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.</p>
+</div>
+<div id="acknowledgements" class="section level2">
+<h2>Acknowledgements</h2>
+<p>Financial support, feedback and suggestions by the German Federal Environmental Agency (<a href="http://www.umweltbundesamt.de">Umweltbundesamt</a>) in two projects in 2014 and 2015 was crucial for reaching version 0.6.3 in November 2015 and is gratefully acknowledged.</p>
</div>
</div>
diff --git a/README.md b/README.md
index 7b6a14d..48d04ec 100644
--- a/README.md
+++ b/README.md
@@ -147,20 +147,25 @@ You can put the commands
```s
require(gmkin)
-require(utils)
gmkin()
+while (TRUE) {
+ Sys.sleep(10)
+}
```
-into an `.Rprofile` file in the working directory where you would like to work
-with gmkin and create a shortcut to start R and gmkin in this directory. For
-your convenience, you can find such a file
-[here](http://raw.githubusercontent.com/jranke/gmkin/master/Rprofile).
-On Windows, you can save this file to the directory where you would like to
-start gmkin by right clicking on the link to this file, choose 'save target as'
-or similar, and choose `.Rprofile.` as the name (yes, there are two dots, one in the beginning,
-one in the end). This will lead to the creation of a file named `.Rprofile`
-which will be executed when you start R within this directory, e.g. by creating
-a shortcut that starts R in this directory (see [How do I install R for
-Windows?](http://cran.r-project.org/bin/windows/base/rw-FAQ.html#How-do-I-install-R-for-Windows_003f),
-and [How do I run
-it?](http://cran.r-project.org/bin/windows/base/rw-FAQ.html#How-do-I-run-it_003f)).
+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.
+
+## Acknowledgements
+
+Financial support, feedback and suggestions by the German Federal Environmental
+Agency ([Umweltbundesamt](http://www.umweltbundesamt.de)) in two projects in
+2014 and 2015 was crucial for reaching version 0.6.3 in November 2015 and is
+gratefully acknowledged.

Contact - Imprint