Delete RStudio History

I tried this solution but it did not work anymore