Learn R Programming

Kmisc (version 0.1.0)

kSetwd: Set Working Directory

Description

A small convenience function that pastes together all arguments supplied, then submits those to setwd.

Usage

kSetwd(...)

Arguments

...
the set of strings to paste together

Examples

Run this code
x <- "my_favourite_dir"
#setwd( "C:/", x, "/", "really_awesome_stuff" )
## calls setwd( paste( "C:/", x, "really_awesome_stuff", collapse="" ) )

Run the code above in your browser using DataLab