1909/how-to-save-a-dataframe-in-r
Suppose your DataFrame is named as df:
write.csv(df,file="exmp.csv")
Then you can load the csv file easily:
read.csv(file="exmp.csv")
Alternate method for this is :
save(df,file="data.Rda")
Now load it by:
load("data.Rda")
You can use the plyr function: data <- ...READ MORE
For randomly sampling a row/cell where a ...READ MORE
You can use readLines() or read.table() depending ...READ MORE
Hi@akhtar, You can use the select method to ...READ MORE
Basically all we have to do is ...READ MORE
it is easily achievable by using "stringr" ...READ MORE
You can use dplyr function arrange() like ...READ MORE
It is simple and easy: df1<-as.data.frame(matrix(sample(c(NA, 1:10), 100, ...READ MORE
By assuming that all the values are ...READ MORE
sink("outfile.txt") cat("hello") cat("\n" ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.