Re: [R] Simple problem in R

From: Charles C. Berry <cberry_at_tajo.ucsd.edu>
Date: Mon, 24 Mar 2008 12:56:29 -0700

On Mon, 24 Mar 2008, Chaser wrote:

>
> I found a package on www.bioconductor.com that allows me to install using
> this line:
>
> source("http://bioconductor.org/biocLite.R")
> biocLite("MassSpecWavelet")
>
> The prompt showed me the following message:
>
> Running biocinstall version 2.1.10 with R version 2.6.2
> Your version of R requires version 2.1 of Bioconductor.
> trying URL
> 'http://bioconductor.org/packages/2.1/bioc/bin/windows/contrib/2.6/MassSpecWavelet_1.4.0.zip'
> Content type 'application/zip' length 2129961 bytes (2.0 Mb)
> opened URL
> downloaded 2.0 Mb
>
> package 'MassSpecWavelet' successfully unpacked and MD5 sums checked
>
> The downloaded packages are in
> C:\Documents and Settings\Yuan\Local
> Settings\Temp\RtmpIjgEwP\downloaded_packages
> updating HTML package descriptions
>
> In their help package, they have listed commands that will allow a sample
> runthrough of their algorithm using a sample dataset.
>
> I entered these codes in but was returned the following error messages:
>
> data(exampleMS)
> Warning message:
> In data(exampleMS) : data set 'exampleMS' not found
>> SNR.Th <- 3
>> peakInfo <- peakDetectionCWT(exampleMS, SNR.Th=SNR.Th)
> Error: could not find function "peakDetectionCWT"
>> majorPeakInfo = peakInfo$majorPeakInfo
> Error: object "peakInfo" not found
>> peakIndex <- majorPeakInfo$peakIndex
> Error: object "majorPeakInfo" not found
>> plotPeak(exampleMS, peakIndex, main=paste('Identified peaks with SNR >',
>> SNR.Th))
>
>
> Did I make a mistake somewhere or is the code they wrote flawed?
>

Did you remember

         library( MassSpecWavelet )

??

HTH, Chuck

> --
> View this message in context: http://www.nabble.com/Simple-problem-in-R-tp16259116p16259116.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help_at_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.
>

Charles C. Berry                            (858) 534-2098
                                             Dept of Family/Preventive Medicine
E mailto:cberry_at_tajo.ucsd.edu	            UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

R-help_at_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. Received on Mon 24 Mar 2008 - 20:00:22 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 24 Mar 2008 - 21:30:24 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive