Linux 🐧 RStudio Startup Blank Page

Continuing the discussion from Error : Error Starting R:

Just recalled faced same error few months ago, rprofile r package doesn't support packages installations.

  1. usethis::edit_r_profile()
  2. copy the rprofileas a draft and remove the content in ./Renviron
  3. install the r packages in rprofile scripts and copy and paste back the content into ~/.Renviron and run the R.
  4. R and RStudio working now
  • amment the on ~/.Renvironand ~/.Rprofile but not /etc/R/Rprofile.site, /etc/R/Renviron,/etc/R/Renviron.site.
  • set the path R_LIBS_USER=${R_LIBS_USER-'/usr/lib/R/library'} in /usr/lib/R/etc/Renviron.orig

Only repo GitHub - scibrokes/owner: Personal CV facing error as time being but not other repos, normally when specific project caused startup blank page error, try to switch to no project and setwd() set the path the that project for github fetch (pull/push).


remarks: just wonder why rprofile and startup::startup() became slower, take dozen of seconds but not start on spot without delay as usual.

1 Like