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.

setName(object, nm)

Arguments

object

A Folder

nm

A character that is the new name the folder should have

Value

object, with its name duly changed

See also

Examples

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