Learn R Programming

mmapcharr (version 0.3.0)

dim_file: File dimensions

Description

Number of lines and columns of file (and extra 'return' characters).

Usage

dim_file(file)

Value

The number of lines and columns of file (and extra 'return' characters).

Arguments

file

Path to file.

Examples

Run this code
tmpfile <- tempfile()
write(0:9, tmpfile, ncolumns = 2)
dim_file(tmpfile)

Run the code above in your browser using DataLab