cd: Set Working Directory

Description Usage Arguments Examples

View source: R/misc.R

Description

A small convenience function that wraps file.path into a setwd call.

Usage

1

Arguments

...

the set of strings to paste together. if no arguments are submitted, then we return to the home directory.

Examples

1
2
3
x <- "my_favourite_dir"
#setwd( "C:/", x, "really_awesome_stuff" )
## calls setwd( paste( "C:/", x, "really_awesome_stuff", collapse="" ) )

Kmisc documentation built on May 29, 2017, 1:43 p.m.

Related to cd in Kmisc...