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


On this page of the site you can watch the video online How to Save a Data Frame in R (Example) | Set Working Directory | setwd(), save() & load() Functions with a duration of hours minute second in good quality, which was uploaded by the user Statistics Globe 20 February 2023, share the link with friends and acquaintances, this video has already been watched 760 times on youtube and it was liked by 14 viewers. Enjoy your viewing!