RStudio no longer works

I tried reinstalling r and rstudio but now it no longer works and crashes when plotting pressure. It works in the console which leads me to believe something is wrong with rstudio when I reinstalled or deleted the previous rstudio app. Any help would be greatly appreciated.