Spark R session not working on databricks

I am having trouble with Rstudio on databricks. I am trying to attach to the spark session, but i am getting this error. I have seen online how to bypass this, but i am still confused and it does not work. Please Help!