How to Save a Data Frame in R (Example) | Set Working Directory | setwd(), save() & load() Functions

Published: 20 February 2023
on channel: Statistics Globe
760
14

How to save a data frame in the R programming language. More details: https://statisticsglobe.com/save-data...
R code of this video:

data <- data.frame(x1 = 1:5, # Create example data
x2 = letters[1:5])
data # Print example data

setwd("C:/Users/Joach/Desktop/my folder") # Set working directory

save(data, file = "my_data_frame.Rda") # Save data frame

load(file = "my_data_frame.Rda") # Reload data frame

Follow me on Social Media:
Facebook – Statistics Globe Page:   / statisticsglobecom  
Facebook – R Programming Group for Discussions & Questions:   / statisticsglobe  
Facebook – Python Programming Group for Discussions & Questions:   / statisticsglobepython  
LinkedIn – Statistics Globe Page:   / statisticsglobe  
LinkedIn – R Programming Group for Discussions & Questions:   / 12555223  
LinkedIn – Python Programming Group for Discussions & Questions:   / 12673534  
Twitter:   / joachimschork  

Music by bensound.com


Watch video How to Save a Data Frame in R (Example) | Set Working Directory | setwd(), save() & load() Functions online, duration hours minute second in high quality that is uploaded to the channel Statistics Globe 20 February 2023. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 760 times and liked it 14 visitors.