DLL not found: maybe not installed for this architecture?

Rstudio is an IDE it has little to nothing to do with the package installation (other than providing a GUI if you choose to use it).