Error in installing.packages : permission denied

Try running RStudio as administrator or double check your write permissions on that folder.

Note: Please do not post photos of your screen, they are hard to read and not very useful, post formatted code instead, here is how to do it