Learn R Programming

phuse (version 0.2.2)

create_dir: Create a directory

Description

create a directory

Usage

create_dir(r_dir, s_dir = NULL)

Arguments

r_dir

root directory

s_dir

sub directory

Value

directory name

Examples

Run this code
# NOT RUN {
  s1 <- tempdir()
  s2 <- "myRepo"
  # create dir /{s1}/myRepo if it does not exist
  d1 <- create_dir(s1, s2)
# }

Run the code above in your browser using DataLab