-
Notifications
You must be signed in to change notification settings - Fork 38
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
Customize R binary #89
Comments
Can you always pass RData files between different R versions? Anyway, if you want to run another R version, you can always use |
Perhaps, but I like the 'callr' interface and there is no documentation on how to use it with a processx object. Could we not simply add |
I think it might be better to have a new |
With the fix of #95, much of this already works. However the library path setup still needs work, we probably need to unset some env vars like ❯ r(function() getRversion(), arch = "/Library/Frameworks/R.framework/Versions/3.5/Resources/bin/R")
[1] ‘3.5.3’
❯ r(function() getRversion(), arch = "/Library/Frameworks/R.framework/Versions/3.4/Resources/bin/R")
Error: callr subprocess failed: cannot read workspace version 3 written by R 4.0.4; need R 3.5.0 or newer
Type .Last.error.trace to see where the error occured
❯ r(function() getRversion(), arch = "/Library/Frameworks/R.framework/Versions/3.6/Resources/bin/R")
Error in get_result(output = out, options) :
callr subprocess failed: could not start R, exited with non-zero status, has crashed or was killed
Type .Last.error.trace to see where the error occured
❯ .Last.error$stdout
[1] "WARNING: ignoring environment value of R_HOME\n" |
Personally I think version=2 in all |
Hello,
At the moment it doesn't seem to be possible to run a different installed R version (i.e. override the binary path). This might come in handy for a package I'm using which doesn't work with the latest R (yet).
Thanks,
Rick
The text was updated successfully, but these errors were encountered: