Closed GeorgianaElena closed 2 years ago
omg, this actually did the trick 🤯
🤯🤯🤯🤯🤯🤯🤯🤯🤯
Wow, just amazing work @GeorgianaElena!
Wow, unbelievable!!! Great catch @GeorgianaElena!
Btw, from your picture, it seems there are still issues trying to load the dataset, am I correct?
Right now,
Rprofile.site
doesn't get sourced at RStudio startup for some reason. RunningSys.getenv("RETICULATE_PYTHON")
returns an empty string. But if I runsource("/usr/lib/R/etc/Rprofile.site")
, then I can see the env var being correctly set.THis https://yihui.org/en/2018/04/rprofile-trailing-newline/ and other posts I've seen suggest that a missing empty line at the end of the Rprofile file might be why the files doesn't get sourced automatically. I believe it is worth trying as I couldn't find any other reason for this to not be working.
So this PR adds a trailing new line to
Rprofile.site
otherwise the file is not sourced at startup by RStudio.