read_rdata: Function to read 'RData' files but not their name so standard...

View source: R/read_rdata.R

read_rdataR Documentation

Function to read RData files but not their name so standard assignment can be used.

Description

If a single object needs to be saved in R's native format, use saveRDS rather than save.

Usage

read_rdata(file)

Arguments

file

File name of .Rdata object.

Author(s)

Stuart K. Grange

Examples

## Not run: 

# Load an RData file with standard assignment. 
data_air <- read_rdata("ADA16_2015.RData")


## End(Not run)


skgrange/threadr documentation built on May 11, 2024, 12:16 p.m.