Skip to content
New issue

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

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

Already on GitHub? # to your account

Be aware of installation problems in the documentation and with R path #264

Open
Tracked by #267
Philippe-Laval opened this issue Jul 19, 2023 · 2 comments
Open
Tracked by #267

Comments

@Philippe-Laval
Copy link

// Please note: R 4.0.0 must be installed in "C:\Program Files\R\R4" (and not in the "C:\Program Files\R\R4.0.0" folder).
// The R_HOME environment variable must be "C:\Program Files\R4" and not "C:\Program Files\R4\bin".

// in fsi, when typing "RProvider." we get an error displayed :
// - If installing in 4.0.0:
// open RProvider.Error: No R engine at C:\Program Files\R\R-4
// - If R_HOME is "C:\Program Files\R\R4\bin"
// open RProvider.Error: No R engine at C:\Program Files\R\R4\bin\bin\x64

@nhirschey
Copy link
Contributor

Maybe try R 4.0.2.

See #224

You may be seeing new problems, but RProvider relies on RDotNet and there have been issues getting it to work properly since 4.0.2.

last I checked winter 2022-2023 I could run it but there were encoding errors and problems loading stats.dll, so in practice not really usable with newer versions of R on windows.

@Philippe-Laval
Copy link
Author

I tried also R 4.0.2. The problem comes from the path to R sofware. The default installation path are :
C:\Program Files\R\R-4.0.0 or C:\Program Files\R\R-4.0.2.
This will includes some '.'. I expect RProvider can not get it correctly. So I installed in C:\Program Files\R\R4. The message when typing open RProvider.zoo will give you No R engine at C:\Program Files\R\R-4

Also your documentation indicates to include "bin in R_HOME which is false.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants