If anyone is still having this problem, removing old session info in Rstudio cd ~/.local/share/rstudio/ helps and once you get Rstudio open prevent it from happening by changing settings in Tools -> Global options -> Restore .RData into workspace at startup