Learn R Programming

misha (version 4.2.9)

gtrack.create_dirs: Create directories needed for track creation

Description

This function creates the directories needed for track creation. For example, if the track name is 'proj.sample.my_track', this function creates the directories 'proj' and 'sample'. Use this function with caution - a long track name may create a deep directory structure.

Usage

gtrack.create_dirs(track, mode = "0777")

Value

None.

Arguments

track

name of the track

mode

see 'dir.create'

Examples

Run this code

gdb.init_examples()

# This creates the directories 'proj' and 'sample'
gtrack.create_dirs("proj.sample.my_track")

Run the code above in your browser using DataLab