Downloads: Return Downloaded File in XL- or CSV Format

View source: R/Downloads.R

DownloadsR Documentation

Return Downloaded File in XL- or CSV Format

Description

The function searches for a file in the downloads folder and returns the file, provided it is in a readable Excel- or data format.

Usage

Downloads(fname, ...)

Arguments

fname

the filename, if no extension specified the first file found will be used.

...

are passed on to the open functions readxl() or read_table().

Value

the file

Author(s)

Andri Signorell andri@signorell.net

Examples

## Not run: 
Downloads("yourfilename")
Downloads("yourfilename.xls")
Downloads("yourfilename.txt", sep=",", header=TRUE)

## End(Not run)


DescTools documentation built on April 4, 2025, 1:55 a.m.