library("MALDIquant")
library("MALDIquantForeign")
## get example directory
exampleDirectory <- system.file("exampledata", package="MALDIquantForeign")
## import txt files
s <- importTxt(exampleDirectory)
## import csv files
s <- importCsv(exampleDirectory)
Run the code above in your browser using DataLab