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,])))

                print(i)

                }

Got the following error:

Error in .Call("R_SpectrumBackground",
as.vector(y), as.integer(iterations), 

: 

  "R_SpectrumBackground"
not available for .Call() for package "Peaks"

 

Any suggestions on how to correct this ?

 

Thanks for the help,

 

Edmir

Fiber&Polymer Science, NCSU                                       
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to