最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

jupyter notebook - Can't seem to get R version 4.4 on Conda - Stack Overflow

programmeradmin2浏览0评论

So I'm trying to use R in a jupyter notebook that utilizes the following packages library(tidyverse) library(infer) library(janitor) my issue is when trying to install these I get an error that some of the dependencies require R version 4.4 or higher, while my jupyter notebook and the R version that exists in my conda environment and the only available r-base in conda as far as I can tell being R version 4.3, I tried simply copying the binaries I have for 4.4 to Conda but that caused a lot of issues including not letting me use the R kernel anymore on jupyter unless I installed it through conda which makes sense, I'm just trying to understand what to really do from here I guess I've tried installing directly in my Jupyter notebook and installing and conda and I get an error in Conda that says the dependency things I talked about and I get a warning in jupyter that looks like this Warn

ing message:
“packages ‘MASS’, ‘Matrix’ are not available for this version of R
‘MASS’ version 7.3-65 is in the repositories but depends on R (>= 4.4.0)
‘Matrix’ version 1.7-3 is in the repositories but depends on R (>= 4.4)
‘MASS’ version 7.3-65 is in the repositories but depends on R (>= 4.5)
‘Matrix’ version 1.7-2 is in the repositories but depends on R (>= 4.5)

Versions of these packages for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.

/doc/manuals/r-patched/R-admin.html#Installing-packages”

When I then try to load the library I supposedly downloaded I still get an error that the library doesn't exist

and for additional context this is the error I get from trying to install tidyverse in conda doing conda install r-tidyverse:

Downloading and Extracting Packages:
                                                                                

CondaHTTPError: HTTP 403 FORBIDDEN for url <.3.6-r43h884c59f_0.tar.bz2>
Elapsed: 00:00.376383
CF-RAY: 91e9ab28bd9d469b-DFW

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

CondaHTTPError: HTTP 403 FORBIDDEN for url <.3.6-r43h884c59f_0.tar.bz2>
Elapsed: 00:00.376383
CF-RAY: 91e9ab28bd9d469b-DFW

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
发布评论

评论列表(0)

  1. 暂无评论