Hi Yeng, welcome!
I'm afraid your post is a little bit confusing, in the title, you say you are installing RStudio, then in your post you say you are trying to install R and then your code suggests you have problems loading the SAIGE package. Neither of these are the same thing so could you please clarify a little bit?