# to store in the current directory
write.csv(data, "data.csv")
# to store in a separate directory
write.csv(data, "file_pathdata.csv")
write.csv(df,file='sample.csv',row.names=FALSE)
Code Example |
---|
R :: linetype ggplot in r |
R :: how to create dates in a range in R |
R :: r find elements in common between vectors |
R :: list all installed packages in r |
R :: harmonic mean in r |
R :: r remove rows where value is 0 |
R :: r loops |
R :: r range with step |
R :: str_detect multiple patterns |
R :: merge multiple data table in r |
R :: delete rows by rowname in R |
R :: rmarkdown put date |
R :: expression in r |
R :: r - transform as factor |
R :: copy a dataframe in r |
R :: r environment variables |
R :: R extract regex from string |
R :: how to replace values with na in r |
R :: order rows of a dataframe using a vector |
R :: r value statistics |
R :: select R |
R :: R: foreach multiple argument |
R :: correlation matrix using factors r |
R :: negate R |
R :: R new column t test p-value |
R :: meaning of %% R |
Rust :: rust take user input |
Rust :: rust nesting loops |
Rust :: reverse vec rust |
Rust :: rust lang function is never used: rustc(dead_code) |