【问题标题】:How to write to a file from R Google Colaboratory? [duplicate]如何从 R Google Colaboratory 写入文件? [复制]
【发布时间】:2021-02-23 10:22:16
【问题描述】:

有没有办法将 R Colaboratory 笔记本的输出文件写入 Google Drive? (标准write.table 不会向 Google Drive 写入任何内容)

【问题讨论】:

    标签: r jupyter-notebook google-colaboratory


    【解决方案1】:

    如果驱动器已安装,Colab 可以轻松地将单个文件复制到您的 googledrive。 colab 面临的挑战是从生成文件的程序顺序将文件复制到您的驱动器。要做的一件事是将所有文件生成到您的 colab 文件夹中,使用文件的 tar 或 zip 创建一个存档文件,然后将该单个存档文件复制到您的 googledrive。

    【讨论】:

      【解决方案2】:

      这篇博文展示了使用 Python notebook 和 R magic How to mount google drive to R notebook in colab?在 Colab 中挂载 Google Drive 的解决方案

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2019-05-21
        • 2018-08-15
        • 1970-01-01
        • 2021-04-18
        • 2019-07-02
        • 2013-12-18
        • 2018-10-08
        相关资源
        最近更新 更多