loadAllSPCFiles: Load all or a selection of SPC files from a given directory.

Description Usage Arguments Value

View source: R/readSPC.R


This function automatically recognizes all the files bearing an '.spc' extension and returns a list in which each element corresponds to a different xml file.


loadAllSPCFiles(directoryFiles, selectedFiles = NULL)



Character vector indicating the directory from which the files needs to be downloaded. Note that files with an other extension than '.spc' can be stored in this directory.


Character vector listing which files of the chosen directory (as expressed by the 'directoryFiles' argument) should be processed. This argument is used when one wants to process a subset of the spc files of the selected directory only. Note that one should add the complete file name to this list, including the file extension! This is an optional argument with as default value NULL, meaning that by default all files of the selected directory are considered.


A list is returned of which each element contains a processed SPC file

spectralAnalysis documentation built on May 1, 2019, 10:25 p.m.