HenrikBengtsson / R.utils

🔧 R package: R.utils (this is *not* the utils package that comes with R itself)
https://henrikbengtsson.github.io/R.utils/
62 stars 14 forks source link

saveObject(): Add argument 'format', e.g. format="rds" #26

Closed HenrikBengtsson closed 9 years ago

HenrikBengtsson commented 9 years ago

Add argument format to saveObject() which should by default be inferred from the filename extension, iff possible. For example:

saveObject(data, file="foo.rds")

This will help phase out the current file format that predated the RDS file format.

HenrikBengtsson commented 9 years ago

Also loadObject().