createRds: Alias for 'to.rds'

createRdsR Documentation

Alias for 'to.rds'

Description

This is a legacy alias for the 'to.rds' function to maintain compatibility with older code.

Usage

createRds(df, df_name = NULL, path = ".", skip_prompt = FALSE)

Arguments

df

Data frame to be exported to RDS format.

df_name

Optional; a custom file name for the saved RDS file. If not provided, the name of the data frame variable is used. The function adds the ".rds" extension automatically.

path

Character string specifying the directory path where the "tmp" folder and RDS file should be created. Defaults to the current working directory.

skip_prompt

Logical. If TRUE, skips the confirmation prompt. If FALSE (default), will prompt for confirmation unless the user has previously chosen to remember their preference.

Value

Invisible TRUE if successful. The function writes an RDS file to the specified path and prints a message indicating the file's location.

Examples

## Not run: 
createRds(prl01)

## End(Not run)

wizaRdry documentation built on June 8, 2025, 11:30 a.m.