Learn R Programming

gdata (version 2.19.0)

xlsFormats: Check which file formats are supported by read.xls

Description

Check which file formats are supported by read.xls

Usage

xlsFormats(perl = "perl", verbose = FALSE)

Value

Vector of supported formats, possible elements are 'XLS' and 'XLSX'.

Arguments

perl

Path to perl interpreter (optional).

verbose

If TRUE, show additional messages during processing.

Warning

Excel file support is deprecated in gdata version 2.19.0, to be removed in the near future. At the user level, the functions installXLSXsupport, read.xls, sheetCount, sheetNames, xls2csv, xls2sep, xls2tab, xls2tsv, and xlsFormats now raise a warning about the functionality being deprecated.

Excel file support was first introduced in gregmisc/gdata 1.11.0 back in 2004, but today we have packages such as openxlsx, readxl, XLConnect, and xlsx offering dedicated Excel file support with more features. When Excel file support will be removed from the gdata package, it will result in lighter package maintenance and no more Perl warnings on the user side.

See Also

read.xls, xls2csv.

Examples

Run this code
   if (FALSE) {
   xlsFormats()
   }

Run the code above in your browser using DataLab