Error: formal argument "envir" matched by multiple actual arguments
2
0
Entering edit mode
Shuying ▴ 30
@shuying-4092
Last seen 9.6 years ago
Hi all, I wrote a function using "getSeq" to get DNA sequences from the human reference genome. But I kept having the following sporadic and non- reproducible errors: -------------------------------------- Error in assign(".Method", method, envir = envir) : ? formal argument "envir" matched by multiple actual arguments ------------------------------------- I searched on line and found Hervé Pagès and Henrik Bengtsson posted some input last year. http://tolstoy.newcastle.edu.au/R/e6/devel/09/06/1936.html http://tolstoy.newcastle.edu.au/R/e6/devel/09/06/1943.html But it is still not clear how I can avoid and/or fix this problem and get correct results. May I get some of your feedback? I have attached my code in this email. Best wishes, Shuying -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: May23.2010.code.error.txt URL: <https: stat.ethz.ch="" pipermail="" bioconductor="" attachments="" 20100523="" 31724c66="" attachment.txt="">
• 2.0k views
ADD COMMENT
0
Entering edit mode
@martin-morgan-1513
Last seen 5 days ago
United States
On 05/23/2010 06:30 PM, Shuying wrote: > Hi all, > > I wrote a function using "getSeq" to get DNA sequences from the human reference genome. But I kept having the following sporadic and non-reproducible errors: > > -------------------------------------- > Error in assign(".Method", method, envir = envir) : > formal argument "envir" matched by multiple actual arguments > ------------------------------------- > > I searched on line and found Hervé Pagès and Henrik Bengtsson posted some input last year. > > http://tolstoy.newcastle.edu.au/R/e6/devel/09/06/1936.html > > http://tolstoy.newcastle.edu.au/R/e6/devel/09/06/1943.html > > But it is still not clear how I can avoid and/or fix this problem and get correct results. > > May I get some of your feedback? I have attached my code in this email. What is the output of sessionInfo()? The hope was that a fix for this was made in R version 2.11.0. Martin > > Best wishes, > > Shuying > > > > > > > > > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor -- Martin Morgan Computational Biology / Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109 Location: Arnold Building M1 B861 Phone: (206) 667-2793
ADD COMMENT
0
Entering edit mode
@vincent-j-carey-jr-4
Last seen 6 weeks ago
United States
I killed the run after 1500 iterations without triggering your error with the sessionInfo noted below. please use a current version of R. when i is: 1550 time is: Sun May 23 21:42:09 2010 ^C > sessionInfo() R version 2.11.0 Patched (2010-05-01 r51901) x86_64-apple-darwin10.3.0 locale: [1] C attached base packages: [1] stats graphics grDevices datasets tools utils methods [8] base other attached packages: [1] BSgenome.Hsapiens.UCSC.hg18_1.3.16 biomaRt_2.4.0 [3] rtracklayer_1.8.1 RCurl_1.4-1 [5] bitops_1.0-4.1 BSgenome_1.16.0 [7] ShortRead_1.6.0 Rsamtools_1.0.0 [9] lattice_0.18-5 Biostrings_2.16.0 [11] GenomicRanges_1.0.1 IRanges_1.6.1 [13] weaver_1.14.0 codetools_0.2-2 [15] digest_0.4.2 loaded via a namespace (and not attached): [1] Biobase_2.8.0 XML_2.8-1 grid_2.11.0 hwriter_1.2 On Sun, May 23, 2010 at 9:30 PM, Shuying <stat.course@yahoo.com> wrote: > Hi all, > > I wrote a function using "getSeq" to get DNA sequences from the human > reference genome. But I kept having the following sporadic and > non-reproducible errors: > > -------------------------------------- > Error in assign(".Method", method, envir = envir) : > formal argument "envir" matched by multiple actual arguments > ------------------------------------- > > I searched on line and found Hervé Pagès and Henrik Bengtsson posted some > input last year. > > http://tolstoy.newcastle.edu.au/R/e6/devel/09/06/1936.html > > http://tolstoy.newcastle.edu.au/R/e6/devel/09/06/1943.html > > But it is still not clear how I can avoid and/or fix this problem and get > correct results. > > May I get some of your feedback? I have attached my code in this email. > > Best wishes, > > Shuying > > > > > > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor > [[alternative HTML version deleted]]
ADD COMMENT
0
Entering edit mode
Hi Vincent, Thanks for your reply. I once can run much more iterations in another similar code file using getSeq  and even all iterations and have no errors until my program was finished. But sometimes I got errors at different iterations. As I said, this error is sporadic and non-reproducible". I will update R in my machine. Hopefully the problem will be solved. Best wishes, Shuying --- On Sun, 5/23/10, Vincent Carey <stvjc@channing.harvard.edu> wrote: From: Vincent Carey <stvjc@channing.harvard.edu> Subject: Re: [BioC] Error: formal argument "envir" matched by multiple actual arguments To: "Shuying" <stat.course@yahoo.com> Cc: bioconductor@stat.math.ethz.ch, shuying.sun@case.edu Date: Sunday, May 23, 2010, 9:43 PM I killed the run after 1500 iterations without triggering your error with the sessionInfo noted below.  please use a current version of R. when i is: 1550 time is: Sun May 23 21:42:09 2010 ^C > sessionInfo() R version 2.11.0 Patched (2010-05-01 r51901) x86_64-apple-darwin10.3.0 locale: [1] C attached base packages: [1] stats     graphics  grDevices datasets  tools     utils methods [8] base other attached packages:  [1] BSgenome.Hsapiens.UCSC.hg18_1.3.16 biomaRt_2.4.0  [3] rtracklayer_1.8.1                  RCurl_1.4-1  [5] bitops_1.0-4.1                     BSgenome_1.16.0  [7] ShortRead_1.6.0                    Rsamtools_1.0.0  [9] lattice_0.18-5                     Biostrings_2.16.0 [11] GenomicRanges_1.0.1                IRanges_1.6.1 [13] weaver_1.14.0                      codetools_0.2-2 [15] digest_0.4.2 loaded via a namespace (and not attached): [1] Biobase_2.8.0 XML_2.8-1     grid_2.11.0   hwriter_1.2 On Sun, May 23, 2010 at 9:30 PM, Shuying <stat.course@yahoo.com> wrote: Hi all, I wrote a function using "getSeq" to get DNA sequences from the human reference genome. But I kept having the following sporadic and non- reproducible errors: -------------------------------------- Error in assign(".Method", method, envir = envir) :   formal argument "envir" matched by multiple actual arguments ------------------------------------- I searched on line and found Hervé Pagès and Henrik Bengtsson posted some input last year. http://tolstoy.newcastle.edu.au/R/e6/devel/09/06/1936.html http://tolstoy.newcastle.edu.au/R/e6/devel/09/06/1943.html But it is still not clear how I can avoid and/or fix this problem and get correct results. May I get some of your feedback? I have attached my code in this email. Best wishes, Shuying _______________________________________________ Bioconductor mailing list Bioconductor@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/bioconductor Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor [[alternative HTML version deleted]]
ADD REPLY

Login before adding your answer.

Traffic: 661 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6