getCSV: Open a csv file as a dataframe.

View source: R/getCSV.R

getCSVR Documentation

Open a csv file as a dataframe.

Description

Opens a csv file and returns it as a dataframe.
If a file name is not provided, the function displays a (tcltk) file chooser dialog.
Uses package "tcltk".

Usage

getCSV(csvfile = NULL, caption = "Select csv file to import")

Arguments

csvfile
  • name of csv file to open

caption
  • caption for file dialog (if file name not provided)

Details

Uses packages utils, tcltk.

Value

dataframe based on reading csv file. Returns NULL if no csv file was provided and the user canceled selection using the file dialog.


wStockhausen/wtsUtilities documentation built on March 16, 2024, 10:38 a.m.