问题
I have a csv on my computer that I can upload to Google Drive. I am trying to use a Google colab but in R and not Python. How can I import this csv?
回答1:
https://stackoverflow.com/a/57927212/5333248
Here a workaround for you.
Lateral arrow on top-left of the screen >> files >> upload.
In this way you can upload the .csv file from your pc. There's even a Mount Drive option in the same path, but as I understand is only for python.
The file last only for the current session. You'll need to re-upload it every time you reopen the notebook on Google Colab!
Just to clarify which is the lateral arrow
来源:https://stackoverflow.com/questions/58951094/how-do-i-import-a-csv-file-into-google-colab-that-uses-r-kernel