Use these functions to serialize an R object and write it
to a Box file. To write an object using RDS serialization,
box_save_rds(); for other types of serialization,
box_write() and provide a serialization function.
box_write( object, file_name, dir_id = box_getwd(), description = NULL, write_fun = rio::export, x, filename, ... ) box_save_rds( object, dir_id = box_getwd(), file_name = ".RDS", description = NULL )
Object to be written.
Object to be written, deprecated: use
Other arguments passed to
Object with S3 class
box_save_rds() is relatively straightforward, your
object will be written to Box as an RDS file.
If you want to specify the serialization, use
For example, you may wish to write a
to Box as a CSV file. Within
box_write(), this is a
serialize the contents of the R object using
upload that serialization to a Box file
The default serialization-function is
Please note that
box_write() is used to write R objects to Box files
using standard formats. To write R objects as
you can use