We have a server and I have a user but not root access. The packages of R are installed on server but not RStudio. I tried to install RStudio but couldn't find any way, is there any way to install RStudio or any other IDE (which is as powerful as RStudio) on linux without root privileges?
Have you tried, instead of trying to hack the system, to understand your sysadmin? Even if you install R-studio, which is possible, your sysadmin will figure it out very soon, and ... will get angry.
When I was an angry sysadmin, I was definitely against the installation of R-studio neither on the main node of HPC, nor on the computing nodes. On the main node - because RStudio users may hang this node soon creating a mess for other users, and may destroy some critical services at the same time. On the computing nodes - because they don't have GUI libraries, and they have to have a standard package set.
Once I had several people who wanted to run R-Studio on HPC, I with my fellow angry sysadmin installed R-Studio server on a dedicated node, which we excluded from the job queue, and people started working via the web interface.
Why do you need R-studio on HPC at all? You can run it on your laptop mounting your HPC as a folder via SSHFs to debug your scripts using small subsamples of real data. Once you are done with debugging, you can run your scripts on HPC in R without R studio.
Like many other linux-packages, RStudio can be installed from source in a preferred directory by giving this option at configuration
You should also consider using Jupyter notebooks. You can install jupyter with conda as well.
1) You need to install all the R packages and python packages you want to use. 2) If you are going to use conda, eliminate all the path variables for R and Python you have set. You need to let conda handle them. In other words: conda do yes--ok, conda do no--ok, conda do "guess so"--squish like grape.