You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm raising this issue to ask for advice on library loading when the RCall session starts up. I have a .Rprofile in my working directory like this:
print("inside of R profile")
require(tidyverse)
I would expect the tidyverse library to be loaded and available in my REPL, however I get an error:
I like to load a "base" set of R libraries in my .Rprofile for when my R session starts up, and the behavior of RCall does not line up in this sense with my typical R workflow.
Any advice on loading libraries in a startup script is appreciated!
The text was updated successfully, but these errors were encountered:
My recommendation is to use library instead of require to throw an effort when package loading fails. Alternatively, check the return value of require. My strong suspicion is that something is going wrong in loading tidyverse and hence magittr (which is where the pipe operator %>% is actually defined).
I'm raising this issue to ask for advice on library loading when the RCall session starts up. I have a .Rprofile in my working directory like this:
I would expect the

tidyverse
library to be loaded and available in my REPL, however I get an error:I like to load a "base" set of R libraries in my .Rprofile for when my R session starts up, and the behavior of RCall does not line up in this sense with my typical R workflow.
Any advice on loading libraries in a startup script is appreciated!
The text was updated successfully, but these errors were encountered: