在Mac Catalina上的Jupyter上使用R:无法使安装全局可见 [英] Using R on Jupyter on Mac Catalina: Making the installation visible globally does not work

查看:84
本文介绍了在Mac Catalina上的Jupyter上使用R:无法使安装全局可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在jupyter上使用R.我已经从此处

I am trying to use R on jupyter. I have run the commands in my terminal from here. Everything works well until trying to make the installation visible globally. Whether I use IRkernel::installspec() or IRkernel::installspec(user = FALSE) (as recommended here and here), I still get the error message:

我的macOS是Catalina 10.15.6

My macOS is Catalina 10.15.6

诀窍是什么?

推荐答案

诀窍:仅在本地进行.卸载所有内容,然后从头开始.我必须做一次,并为自己写了一个指南,以防将来不得不重复.您可以在这里找到我的指南: http://websmelter.com/stats/setting-up-jupyter-notebook-with-custom-r-on-a-mac/

The trick: do this locally only. Uninstall everything and start from scratch. I had to do this once and wrote a guide for myself in case I had to repeat this in the future. You can find my guide here: http://websmelter.com/stats/setting-up-jupyter-notebook-with-custom-r-on-a-mac/

我无法在Mac上全局执行此操作.它可以在Windows上运行,但Mac则比较棘手.我将.pkg方法用于miniconda安装,并使用了为所有用户安装"选项.变灰了.

I was not able to do this globally on a Mac. It works on Windows, but Mac is tricky. I used the .pkg method for miniconda installation, and the option to "install for all users" was greyed out.

也许您使用手动方法,可以这样做...

Perhaps if you use the manual method, this could be done...

这篇关于在Mac Catalina上的Jupyter上使用R:无法使安装全局可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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