且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Google Colab上的R笔记本中安装python库

更新时间:2023-01-19 14:58:24

您不能直接在Google Colab中执行此操作,但可以与本地运行时共享它.Google Colab不支持安装新版本的python或R.如果您使用的是R笔记本,则只能使用R,因为Colab云计算机上没有安装python.但是,如果您连接到本地运行时,则可以使用这些功能.

You can't do that directly in Google Colab but you can share it with local runtime. Google Colab doesn't support installing a new version of python or R. If you are in R notebook you can only use R because there is no python installed on the Colab cloud computer. But if you connect with your local runtime you can use those functions.

有关更多信息,您可以检查以下链接:

For more you can check these links:

如何在Google Colaboratory Notebook中使用R和Python吗?

如何在Google合作实验室中使用R?