Thanks a lot for the suggestion.
Hi,
Currently I am connecting my institute's server through unix shell to run R (My desktop is Windows). The version of R is 3.2.0. However, I want to update it to newer versions because ensembldb package does not work in 3.2.0.
When I googled which commands to use I always came up with the "sudo apt-get update" which is not working for my case as it is for ubuntu. Actually the admins downloaded the latest R to this "/mnt/software/src/R-3.3.1". But I do not know how to update R using that. I found the below code but If I run it, where is it going to install it ?
> cd /mnt/software/src/R-3.3.1
>./configure --prefix=/mnt/software/stow/R-3.3.1
>make
>make install
Sorry, I am really confused & clueless.
Best Regards,
Gokce
2 answers
./configure --prefix=/mnt/software/stow/R-3.3.1
I suspect you need superuser rights to install in this location. If that is the case, and so you get a permission denied error, you could install instead in your home directory, like:
./configure --prefix=$HOME/R
make && make install
R will then be in ~/R/bin/
Log in to answer this question.
Have you discussed with your sysadmins? Are they able to update the version for you? And if not, what are their reasons?
At the end I solved the problem by entering the full path of where the latest R version located.
Rather than just writing
Rto the console which is short cut to the R.3.2.0, I am writing/PATH/R-3.3.1and run the latest version.