saving a data file in R -


i have loaded .txt file r. want save data can actively use it. command saving file? save file 1 of existing packages (usingr, mass), or separate file?

the command either 1 of these :

  • save() : saves mentioned objects r objects (extension .rdata). these files binary , can read again load()
  • write() : wrapper cat() , used create text files objects, matrices.
  • write.table() , write.csv() : commands write data frames text files specific separator.

check sink(), used redirect other output file (usually used logging purposes).

please read manuals of r :

http://cran.r-project.org/doc/manuals/r-intro.pdf

http://cran.r-project.org/other-docs.html

related questions :


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -