Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] winGRASS: add functionality for manually adding RStudio path to %PATH% within a GRASS session #1171

Open
hellik opened this issue Dec 12, 2020 · 1 comment
Labels
enhancement New feature or request windows Microsoft Windows specific

Comments

@hellik
Copy link
Member

hellik commented Dec 12, 2020

Is your feature request related to a problem? Please describe.

Actually in winGRASS, RStudio is added to %PATH% at startup via env.bat in order to be used within the winGRASS OSGeo4W shell

IF EXIST "%ProgramFiles%\RStudio\bin\rstudio.exe" set PATH=%PATH%;%ProgramFiles%\RStudio\bin

it seems that RStudio ships QT DLLs which may interfere and crash with QGIS bundled QT DLLs when QGIS is started with GRASS functionality.

Describe the solution you'd like

to avoid this QT DLL mismatch crash, adding a functionality into the wxGUI for manually adding RStudio path to %PATH% within a GRASS session instead of default by startup would be nice.

a starting point may be how %ADDON_PATH% is added to %PATH% by g.extension.

@hellik
Copy link
Member Author

hellik commented Jul 18, 2023

see related discussion [GRASS-user] Rscript error when using v.class.mlR if R-batch-files are not available in winGRASS for startung (addon) modulues requiring R.

I'll start a discussion on that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request windows Microsoft Windows specific
Projects
None yet
Development

No branches or pull requests

1 participant