简体   繁体   中英

Upgrading R gives error - Failed to connect to Mir: Failed to connect to server socket: No such file or directory

I'm currently using R version 3.6.1 and I'm trying to update it to R/4.2. I tried following instructions here and here . But everytime i try sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/ , I'm getting this error

Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

How do I resolve this?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM