Learn R Programming

crunch (version 1.30.4)

setName: Change the name of the current folder

Description

If you just need to change the name of the folder you are currently in, you can use setName(). It doesn't move variables or change anything other than the name of the current folder.

Usage

setName(object, nm)

Value

object, with its name duly changed

Arguments

object

A Folder

nm

A character that is the new name the folder should have

See Also

cd() and mv()

Examples

Run this code
if (FALSE) {
ds <- ds %>%
    cd("Demographics") %>%
    setName("Key Demos.")
}

Run the code above in your browser using DataLab