Possible to update to R 4.1.0 on Chromebook (Linux)?

New to R but was able to get it installed and running on my HP Chromebook. I can't figure out how/why I cannot upgrade past 4.0.4, though, and need at least 4.1.0 to run a program of interest. Any feedback/input/advice would be greatly appreciated! Some additional details below:

R version 4.0.4 (2021-02-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 11 (bullseye)

What happens when you try? Do you get any error message?

Also, what is the model of your chromebook, specifically what CPU does it have? One possible explanation is if you have a 32 bits CPU, you can't install a 64 bits version of R. Since R 4.2, there is no more 32 bits builds provided, but you should be able to get one for R 4.1, so not sure that's your problem here.

Sorry for that delayed reply and thanks for your post.

I do have a 64-bit CPU. I should also probably mention that I'm using RStudio. I'm wondering now if 4.0.4 is simply the latest version specific to RStudio? When I try to use
Help > Check for Updates it simply says that I am using the newest version.

If it's the case that RStudio cannot be updated further, perhaps I can just use R from the command line on this Chromebook? Thanks for the feedback and I am very new to this.

Oh I had missed the fact it was on Debian (my post above was for Windows, sorry). The answer seems to be that bullseye is released with 4.0.4, to update you need to add a repo.

Ah ok! Thanks for pointing me in that direction. I believe I now have the repo added per instructions that I found here. I created a new file: /etc/apt/r_update.list with the repo URI and ran sudo apt-get update but... still have 4.0.4... Am I missing one more step after I have added the repo URI into a .list file and run 'sudo apt-get update' ?

I think it should be in


then I do expect sudo apt update to work. If in doubt, you can also run a sudo apt install r-base just to be sure

It worked! I also had to update the repo key using the instructions here and then sudo apt install r-base did the trick.

Thanks a ton.

1 Like

This topic was automatically closed 7 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.