setwdDate: setwdDate

Description Usage Arguments Examples

Description

setwdDate creates a folder with the current day's date (YYYYMMDD) in a given directory, and then sets the working directory to that folder.

Usage

1
setwdDate(path)

Arguments

path

A path to the directory in which the newly created folder will be appended to.

Examples

1
2
3
4
#setwdDate("C:/MyFakePath/Output/")
##Would create a folder:
#paste0("C:/MyFakePath/Output/", format(Sys.Date(), "%Y%m%d"))
##And would set the working directory to that folder

TaylorAndrew/atProjectManage documentation built on May 9, 2019, 4:24 p.m.