Re: [R] SpectrumBackground

2014-09-01 Thread William Dunlap
I think you can get yourself going by calling Peaks:::.First.lib(dirname(find.package("Peaks")), "Peaks") to get Peaks' DLL loaded. .First.lib is not getting called. You should ask the package's maintainer, maintainer("Peaks"), to fix up the statup procedures. It the help files had examples o

[R] SpectrumBackground

2014-09-01 Thread Edmir Silva
Hello there ... Using package Peaks to run the function SNIP on a csv file with 19 spectrum. While trying to run: ### doing SNIP for every spectra require(Peaks) for (i in 1:NROW(Q)) { Q.t[i,]<-Q[i,]-SpectrumBackground(as.numeric(as.vector(Q[i,])))