powered by
Read the content of an Excel (.xls and .xlsx), OpenOffice (.ods) and text (.csv) worksheet
readData(x, sep, dec)
a character string corresponding to the path or name of the file to read
a character string corresponding to the separator
a character string corresponding to the decimal
For the Excel and text format, readData reads by default the first worksheet of the file and the one called "data" for the OpenOffice format.
readData
# NOT RUN { ## Read data based on its path "filePath" filePath <- system.file("Example_Session/standards/Stand1.csv", package="elementR") readData(filePath, sep = ";", dec = ".") # }
Run the code above in your browser using DataLab