Can you please be more specific? does the questionr package fails to install? Or do you get a different error message after installing it?
In any case please post the complete error message you get.
RStudio is an IDE for the R programming language but it has no effect on your R package library, your R version on the other hand might have something to do with your issue.