Hi Andres,
Thank you for your response.
So I did try installing that package but I came up with an error, stating that my version of RStudio did not support it. I then uninstalled everything and reinstalled it and I got the following
I have no idea what it is referring to as I haven't used the rank function, so I am slightly confused.
As an additional question, is there an easier way in which I can update both R and RStudio without having to uninstall them and then reinstall?
Thanks