How to update R 3.x to the new R 4.x in Linux Ubuntu

How can I update my R 3.x to the new shiny R4.x?

Updating R 3.x packages to the new R 4.0.

Update all packages

‘/home/henriquegomide/R/x86_64-pc-linux-gnu-library/3.6/’

References

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store