CUAHSI / CUAHSI/HydroDesktop

HydroR auto-detect path to R

Open
#174 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]
When the user installs HydroDesktop and Runs HydroR for the first time, HydroR asks to quotset path to R.exequot.

Most R Windows installations come with three different R.exe files:
For example, R 3.0.1 is installed as:

C:\Program Files\R\R-3.0.1\bin\R.exe
C:\Program Files\R\R-3.0.1\bin\i386\R.exe
C:\Program Files\R\R-3.0.1\bin\x64\R.exe

The only R.exe that works with HydroR is the C:\Program Files\R\R-{X.Y.Z}\bin\i386\R.exe

The other two R.exe executables don't work. It's easy for the user to confuse the path to R.

Suggested Fix:

If the user chooses the wrong R.exe such as: C:\Program Files\R\R-3.0.1\bin\R.exe

or C:\Program Files\R\R-3.0.1\bin\x64\R.exe, try to check if the correct path C:\Program Files\R\R-{X.Y.Z}\bin\i386\R.exe exists and automatically set the path to R to the correct R.exe path.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by locating the HydroR first-run R.exe path selection entry point, then verify how the i386 path is handled when the user selects the other executables; done means the correct i386 path is detected and selected when it exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, r
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.