What is the easy way to upgrade R in Ubuntu

Hello everyone,

Currently, I am using the version3.6.0. Now, I would like to upgrade the version of R to 4.0.x. Could you tell me how can I update R?

I have gone through several websites and tutorial but seems a little difficult for me (as new ubuntu and R user).

Is there any packages like installr for Ubuntu?

apt-get update
apt-get install r-base r-base-dev

will install

R version 4.0.2 (2020-06-22) -- "Taking Off Again"

For 4.03, the process is more involved, and unlikely to be worth the effort.

@technocrat after giving the command r version is remaining same

Reading package lists... Done
Building dependency tree       
Reading state information... Done
r-base is already the newest version (3.6.3-2).
r-base-dev is already the newest version (3.6.3-2).
r-base-dev set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 229 not upgraded.

Maybe have a look at this? I cannot remember how I upgraded but I remember tha message.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.