Learn R Programming

popstudy (version 1.0.0)

read_from_dir: read_from_dir

Description

Get full path from a file.

Usage

read_from_dir(file, path = NULL)

Arguments

file

The file name.

path

The file location.

Value

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

Examples

Run this code
# NOT RUN {
file.create("test_file.txt")
read_from_dir("test_file.txt")

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab