Learn R Programming

do (version 2.0.0.1)

file.dir: up level directory

Description

up level directory

Usage

file.dir(path, end.slash = TRUE, extension = TRUE)

Value

upper directory

Arguments

path

path of file

end.slash

logical. Whether to end with slash

extension

logical. whether file name include extension