How to Export a Dataset out of R as an RDS – Demonstration
Channel: Monika Wahi
Date: 2019-07-03

*Note: I may be compensated, but you will not be charged, if you click on the links below.

💡 If you are a public health practitioner looking for a targeted program for enhancing your data science skills, please sign up to participate in my 30-minute market research interview so I can get your feedback: https://buff.ly/3UnLqmq    

WANT TO SUPPORT MONIKA ON SOCIAL MEDIA?
❤️Subscribe to Monika's YouTube channel: https://buff.ly/2W6ijuc   
🧡Follow/connect with Monika on LinkedIn: https://www.linkedin.com/in/dethwench/ 
💛Follow Monika on Twitter: https://twitter.com/PHExaminer 
💚Try Monika’s courses on LinkedIn Learning: https://linkedin-learning.pxf.io/NKN0JO 
💙Try Monika's boutique research methods and data science courses here: https://buff.ly/3zM243P 

In this video, Monika Wahi shows you how to export a dataset from inside R GUI in Windows to an RDS file. This is a very good video for newbie data scientists who want to better understand the purpose of *.rds format, and why you would want to export a *.csv into an *rds.

Github link to files: https://buff.ly/3Thn7oG
Blog post to help Mac users set working directory (guide to getwd and setwd): http://rfunction.com/archives/1001
Link to Monika’s previous video where she read lineitems.csv into R: https://youtu.be/IVQr4WUo2N4

00:23 Monika runs lineitems dataset to show what’s in it
01:22 Monika demonstrates where to go to set the working directory (where the exported dataset will land)
01:43 Monika goes over the arguments for the saveRDS() command.
02:44 Monika shows how the exported RDS looks in the director where it’s saved

How to Export a Dataset out of R as an RDS – Demonstration