Recently, I had a series of problems with my computer. At first, I couldn’t install any R package in Rstudio, but when solving this problem, more and more new problems occurred. I don’t know what kind of internal connection they have inside, but I’ll try to describe the phenomena I encountered in the post.
- I cannot install any R package in Rstudio, which operated properly once.
install.packages(“shiny”)
Warning in install.packages :
unable to access index for repository http://cran.rstudio.com/src/contrib:
cannot open URL ‘http://cran.rstudio.com/src/contrib/PACKAGES’
I’ve already tried unchecking ‘use secure download method for HTTP’ as well as several other methods, but none of them has worked.
- Some problems occurred when I code ‘conda install’.
(base) fanxuehan@fanxuehans-MacBook-Pro ~ % conda install -c conda-forge r-base
Channels:
- conda-forge
- defaults
Platform: osx-arm64
Collecting package metadata (repodata.json): Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘NameResolutionError(“<urllib3.connection.HTTPSConnection object at 0x1083da1e0>: Failed to resolve ‘conda.anaconda.org’ ([Errno 8] nodename nor servname provided, or not known)”)’: /conda-forge/osx-arm64/repodata.json.zst (when I run conda install
, the previous error repeats over and over again)
failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://conda.anaconda.org/conda-forge/osx-arm64/repodata.json
Elapsed: -
- Some problems occurred when I configure python’s anaconda environment on vscode.
Extension activation failed, run the ‘Developer: Toggle Developer Tools’ command for more information.
- I cannot join zoom meeting now, but I was able to use zoom just fine before.
I’m really new to conda, so I might run some terrible code before. In my memory, I downloaded miniconda, but there was a problem when I downloaded conda (maybe anaconda?) earlier, which I didn’t care about at that time.
Because of those problems, I’m really confused and upset these days. I’m willing to provide any necessary information, and plese help me.
Thanks in advance!!