From 0dca2a73bf56c503085bd5c4e8f1cabc0473f8f3 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Sat, 13 Feb 2021 11:59:51 +0100 Subject: Update README for online docs --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 19f3980..6e09f34 100644 --- a/README.md +++ b/README.md @@ -151,14 +151,20 @@ while (TRUE) { into an R script (e.g. under `C:\Users\\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\\AppData\Roaming\gmkin_start.R`, -where R.x.y is the version of R that you would like to use with gmkin. This +`"C:\Program Files\R\R-4.x.y\bin\R.exe" --slave -f c:\Users\\AppData\Roaming\gmkin_start.R`, +where R-4.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. +Caveat: The last time I tested this (13 February 2021), starting gmkin with +such a shortcut slowed down loading the GUI elements significantly. This was +under Windows 10 64 bit. Therefore, for Windows I would currently recommend to +start the R GUI application and start gmkin from there as described under +'Usage'. + ## Acknowledgements Financial support, feedback and suggestions by the German Federal Environmental -- cgit v1.2.1