无法在Jupyter Notebook中加载R库 [英] can't load R libaries in Jupyter Notebooks

查看:175
本文介绍了无法在Jupyter Notebook中加载R库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将R库加载到我从文档中了解的Jupyter笔记本(插入符号)中,该文档已在MS Azure ML studio中提供.

I am trying to load a R library into my Jupyter notebook (caret) that I undersand from the documentation is available in MS Azure ML studio already.

但是当我运行它时:

>图书馆(插入符)

> library(caret)

我明白了:

Error in library(caret): there is no package called ‘caret’ Traceback: 1. library(caret) 2. stop(txt, domain = NA)

When I try to load the library, I get the following:

When I try to load the library, I get the following:

>install.packages("caret")
>library(caret)

>install.packages("caret")
>library(caret)

Installing package into ‘/home/nbuser/R’
(as ‘lib’ is unspecified)
also installing the dependencies ‘geometry’, ‘ddalpha’, ‘recipes’

Warning message in install.packages("caret"):
"installation of package ‘ddalpha’ had non-zero exit status"Warning message in install.packages("caret"):
"installation of package ‘recipes’ had non-zero exit status"Warning message in install.packages("caret"):
"installation of package ‘caret’ had non-zero exit status"

推荐答案

可以请您尝试:

( = )

错误应该是插入符未成功安装.

The error should be the caret not installed successfully.

此致

宇通


这篇关于无法在Jupyter Notebook中加载R库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆