logo
pub trait Save: GetSexp {
    fn save<P: AsRef<Path>>(
        &self,
        path: &P,
        format: PstreamFormat,
        version: i32,
        hook: Option<WriteHook>
    ) -> Result<()> { ... } fn to_writer<W: Write>(
        &self,
        writer: &mut W,
        format: PstreamFormat,
        version: i32,
        hook: Option<WriteHook>
    ) -> Result<()> { ... } }

Provided methods

Save an object in the R data format. version should probably be 3.

Save an object in the R data format to a Write trait. version should probably be 3.

Implementors