diff options
Diffstat (limited to 'README.html')
-rw-r--r-- | README.html | 12 |
1 files changed, 9 insertions, 3 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("jranke/gmkin", 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\<your username>\AppData\Roaming\gmkin_start.R</code>), and create a Windows shortcut, e.g. on the Desktop, with the target <code>"C:\Program Files\R\R-3.x.y\bin\R.exe" --slave -f c:\Users\<your username>\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> |