Reputation: 133
The title of the question pretty much says it all. I’m using R in Google Colab and while analyzing some data I have generated an output data frame which I wish to export (either to Google Drive or to my local desktop). How can I achieve this?
Upvotes: 3
Views: 1412
Reputation: 1651
You can save a .csv
file in Colab root folder with a classic:
write.csv(your_df, file='output.csv')
You will find the file in the left sidebar, clicking on it will pop the option to download it.
Upvotes: 3