小编lin*_*nog的帖子

R studio安装包错误无法移动00LOCK权限被拒绝

我正在尝试rlang使用安装包Rstudio,但收到此错误:

mv: cannot move '/usr/local/lib/R/site-library/rlang' to '/usr/local/lib/R/site-library/00LOCK-rlang/rlang': Permission denied
Run Code Online (Sandbox Code Playgroud)

有人可以帮忙吗?

多谢。

r

6
推荐指数
2
解决办法
1万
查看次数

有没有办法在 google colab 上显示警报框?

要在 Jupyter Notebooks 上显示漂亮的框,可以使用alertHTML 标签并放入一些 Markdown 内容。

这里是一个Jupyter Lab实例上显示的示例:

<div class="alert alert-info" role="alert" style="color: rgba(0,0,0,.8); background-color: white; margin-top: 1em; margin-bottom: 1em; margin:1.5625emauto; padding:0 .6rem .8rem!important;overflow:hidden; page-break-inside:avoid; border-radius:.25rem; box-shadow:0 .2rem .5rem rgba(0,0,0,.05),0 0 .05rem rgba(0,0,0,.1); transition:color .25s,background-color .25s,border-color .25s ; border-right: 1px solid #dee2e6 ; border-top: 1px solid #dee2e6 ; border-bottom: 1px solid #dee2e6 ; border-left:.2rem solid #007bff80;">
<h3 class="alert-heading"><i class="fa fa-comment"></i> Note</h3>

An example of a nicely formatted box

</div>
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

这甚至可以简化为基本警报:

<div class="alert alert-info" role="alert">
<h3 …
Run Code Online (Sandbox Code Playgroud)

html css jupyter-notebook google-colaboratory

5
推荐指数
2
解决办法
1272
查看次数

标签 统计

css ×1

google-colaboratory ×1

html ×1

jupyter-notebook ×1

r ×1