Report this

What is the reason for this report?

Issue while installing R

Posted on September 26, 2021

Hi, how are you? I hope you be ok

I have a issue, when a use the command sudo add-apt-repository ‘deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/’, the code is no working, it send me this:

sudo add-apt-repository ‘deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/’

I don’t understand what happened, Can you help me?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @Kanon,

I didn’t quite understand what is the error.

If you type in:

sudo add-apt-repository ‘deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/’

You receive :

sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/’

Is that correct? Can you please give a little bit more information on the case?

Additionally, can you please try and do an update and upgrade prior to adding the repository to see if that would help out?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.