Your DSS has UIF enabled. In this setup, any user that is not a DSS system user cannot install R packages into the built-in code env. Moreover, we do not recommend installing R packages into the built-in R code env but rather create a new R managed code env and install required packages there:
Later on, you can switch to this code env from Kernel -> Change kernel.
Hope this helps.