Re: [R] Adding more files to list

2012-04-25 Thread Jeff Newmiller
As to combining, use c(). as to tracking, keep track of the directory that goes with the file. There are various ways to do this: a) keep a vector of filenames, and every time you combine vectors of filenames, do the same for the vectors of directory names. You will probably need to use rep()

Re: [R] Adding more files to list

2012-04-25 Thread Sebastian Gibb
Hi Brian, On Wednesday 25 April 2012 13:15:03 Brian Flatley wrote: > I have a main directory - "Spectra" > > In this folder I have two subfolders "Normal" and "Case" The following should be enough: library("readBrukerFlexData") Spectra <- mqReadBrukerFlex("Spectra/"); > ... > The following co

Re: [R] Adding more files to list

2012-04-25 Thread Brian Flatley
Hi, I have searched over the last two days to try and sort this problem but unfortunately I cannot find the correct solution. I have a main directory - "Spectra" In this folder I have two subfolders "Normal" and "Case" I am using a package MALDIquant for processing of mass spectrometry