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 without registration, duration hours minute second in high quality. This video was added by user Statistics Globe 20 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 760 once and liked it 14 people.