This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to install R in WinSCP server

Hi,

I have to install R 4.0.4. version on a server WinSCP and I use Putty to run command.

Which are the best commands to do it?

I'm not very practical in Putty and WinSCP...someone could help me?

Thank u!!

r

Hello, you know which is the operating system of the server? - it is Ubuntu? You already have access to the command line on this server? You have Administrator rights? The server has access to the Internet?

Yes, the operating system of the server is Ubuntu. I have a profile thanks to which I can use files and app on the server. However, I have also username and pass of the Administrator, in which I should install R. Sincerely, I am not confidential with this kind of thinks, I should use R 4.0.4 in the server to manipulate big data that I shouldn't manipulate in local

Please write uname -a into Putty and post the output here. WinSCP is just a client used to share file between you and your server via a FTP (File Transfer Protocol): Putty is a client used to connect via SSH to your server: it gives you a terminal which allows you to write and execute commands remotely.

When I run uname -a, I found in the shell of putty:

Linux platonesrv1 5.4.0-66-generic #74-Ubuntu SMP Wed Jan 27 22:54:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

1 answer

It seems your server is running Ubuntu, so you could use aptitude to install packages. Please note that in order to install software to the whole server you'll need an account with privileges (to run command with sudo). I suggest to follow this guide because it'll show how to delete old version of R previous installed, how to change repository and how to get finally updated version of R.

Log in to answer this question.