Question

Issue while installing R

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?

Subscribe
Share

Submit an 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?