Learn R Programming

popstudy (version 1.0.2)

read_from_dir: read_from_dir

Description

Get full path from a file.

Usage

read_from_dir(file, path = NULL)

Value

read_from_dir returns an object of class character with the normalizaed path for a file.

Arguments

file

The file name.

path

The file location.

Author

Cesar Gamboa-Sanabria

Examples

Run this code
# \donttest{
if (FALSE) {
file.create("test_file.txt")
read_from_dir("test_file.txt")
}
# }

Run the code above in your browser using DataLab