Learn R Programming

pkglite (version 0.1.1)

file_auto: File specification (automatic guess)

Description

Lists all files under a folder recursively and guesses the file format type (text or binary) based on the file extension.

Usage

file_auto(path)

Arguments

path

The directory's relative path (relative to the package root), for example, "inst/".

Value

A list of file specifications.

Specification

The contents of this section are shown in PDF user manual only.

Examples

Run this code
# NOT RUN {
file_auto("inst/")
# }

Run the code above in your browser using DataLab