Full error messages?
1
0
Entering edit mode
Ed Siefker ▴ 230
@ed-siefker-5136
Last seen 5 months ago
United States
I'm trying to read in some array data with minfi. Apparently I missed some arrays when fetching my data, so there are some lines in my targets that don't have actual files to read. That's not a big problem, the problem is when R throws an error, there are enough missing files that I can't read the entire error message. Are these error messages stored somewhere where I can get to the entire message, and parse it so I can get a list of the missing files?
minfi minfi • 2.6k views
ADD COMMENT
0
Entering edit mode
Ed Siefker ▴ 230
@ed-siefker-5136
Last seen 5 months ago
United States
To follow up, I found 'geterrmessage()', but it still truncates the message. In the documentation, it says that geterrmessage() uses the option "warning.length" to truncate the message. If I could increase the value of "warning.length", this would fix my problem but when I do that: > options("warning.length") $warning.length [1] 1000 > options("warning.length"=1000) > options("warning.length"=10000) Error in options(warning.length = 10000) : invalid value for 'warning.length' I'm stuck again, any hints? On Thu, May 3, 2012 at 2:46 PM, Ed Siefker <ebs15242 at="" gmail.com=""> wrote: > I'm trying to read in some array data with minfi. > Apparently I missed some arrays when fetching > my data, so there are some lines in my targets > that don't have actual files to read. > > That's not a big problem, the problem is > when R throws an error, there are enough missing > files that I can't read the entire error message. > > Are these error messages stored somewhere > where I can get to the entire message, and > parse it so I can get a list of the missing files?
ADD COMMENT
0
Entering edit mode
Dear Ed from the man page of 'options': 'warning.length': sets the truncation limit for error and warning messages. A non-negative integer, with allowed values 100...8170, default 1000. 8172 (decimal) is 2000 (hex), not sure where that limitation comes from, but probably from the 1980s. Best wishes Wolfgang May/3/12 10:24 PM, Ed Siefker scripsit:: > To follow up, I found 'geterrmessage()', but it still truncates the message. > > In the documentation, it says that geterrmessage() uses the option > "warning.length" to truncate the message. > > If I could increase the value of "warning.length", this would fix my problem > but when I do that: > >> options("warning.length") > $warning.length > [1] 1000 > >> options("warning.length"=1000) >> options("warning.length"=10000) > Error in options(warning.length = 10000) : > invalid value for 'warning.length' > > > I'm stuck again, any hints? > > > On Thu, May 3, 2012 at 2:46 PM, Ed Siefker<ebs15242 at="" gmail.com=""> wrote: >> I'm trying to read in some array data with minfi. >> Apparently I missed some arrays when fetching >> my data, so there are some lines in my targets >> that don't have actual files to read. >> >> That's not a big problem, the problem is >> when R throws an error, there are enough missing >> files that I can't read the entire error message. >> >> Are these error messages stored somewhere >> where I can get to the entire message, and >> parse it so I can get a list of the missing files? > > _______________________________________________ > Bioconductor mailing list > Bioconductor at r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor -- Best wishes Wolfgang Wolfgang Huber EMBL http://www.embl.de/research/units/genome_biology/huber
ADD REPLY

Login before adding your answer.

Traffic: 932 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