Package installation is disabled in this version of RStudio

We upgraded our dev environment with RStudio Pro below version from RStudio community edition and seeing all users are unable to install any packages or also we are unable to activate R.Can someone please advise us as this is impacting our current work?

[root@GLUSVN-ST914XXX:/etc/rstudio]# rstudio-server version

1.2.5001-3 (Professional)

> install.packages("reticulate") Error in install.packages : Package installation is disabled in this version of RStudio

Also unable to activate R on command promt and throws below error:

[root@GLUSVN-ST914XXX:/etc/rstudio]# R

/opt/anaconda3/lib/R/bin/exec/R: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory

[root@GLUSVN-ST914XXX:/etc/rstudio]#

Thanks
Vasant Desai

Hi Vasant,

We've followed up with this question in our premium Support channel so we're going to close this.

That said, typically when people see errors like

Error in install.packages : Package installation is disabled in this version of RStudio

It typically indicates that package installation has been disabled in the configuration settings as described here: https://docs.rstudio.com/ide/server-pro/r-sessions.html#discouraging-user-installations
We'd recommend checking your configuration settings and confirming whether package installation has been disabled.