Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save jobdiogenes/235620928c84e604c6e56211ccf681f0 to your computer and use it in GitHub Desktop.

Select an option

Save jobdiogenes/235620928c84e604c6e56211ccf681f0 to your computer and use it in GitHub Desktop.
Demo of use Google Drive/Sheets in R with Google Colaboratory.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@gsekn
Copy link
Copy Markdown

gsekn commented Mar 15, 2021

seems to work in online colab if you just change 3.6 to 3.7
if (file.exists("/usr/local/lib/python3.7/dist-packages/google/colab/_ipython.py")) {

but someone with greater skill should confirm.

@monitarb
Copy link
Copy Markdown

In my case neither /usr/local/lib/python3.6/dist-packages/google nor /usr/local/lib/python3.7/dist-packages/google folder existed.
However running the original code without if (file.exists(....)) worked for me!

@jobdiogenes
Copy link
Copy Markdown
Author

jobdiogenes commented Apr 13, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment