CUAHSI / CUAHSI/HydroDesktop

Hydro R choose version of R

Open
#175 0 comments 0 reactions 0 assignees View on GitHub
CodePlex
Dominant language
C#
Stars
76
Forks
21
PR merge metrics
No merged PRs in 30d

Description

jirikadlec2[CodePlex]
I suggest improving the quotSet path to Rquot interface that is shown when the user installs HydroDesktop and runs HydroR for the first time.

In 95% of the cases, if the user installed R, he or she installed it in C:\Program Files\R\R-{X.Y.Z}\bin\i386\R.exe where {X.Y.Z} is the R version (for example R-3.0.1})

Here is how the quotSet path to Rquot could work when HydroR is run for first time:

Check if there is a folder C:\Program Files\R If yes, check for all subfolders that have the name like R-{X-Y-Z} bin\i386\R.exe inside them. If no, then R is probably not installed or it is in a non-standard location and user must set the path to R manually.
If more than 1 folder is found, Show a combobox quotselect R versionquot where user can choose the version of R.
After user selects the R version, check if the R.exe is valid and save the setting and start working with HydroR.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.