Learn R Programming

pkglite (version 0.2.3)

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)

Value

A list of file specifications.

Arguments

path

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

Specification

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

Examples

Run this code
file_auto("inst/")

Run the code above in your browser using DataLab