[R] R warning and error messages taking a long time and generating pop-up windows

Uwe Ligges ligges at statistik.tu-dortmund.de
Sat Mar 31 16:02:43 CEST 2012



On 30.03.2012 07:18, achernia wrote:
>
> Balko, Justin wrote
>>
>> Hi all, thanks for your help in advance.
>> I was running some scripts and suddenly R began taking a very long time to
>> process mundane errors, which I often generate since I am new to R...such
>> as forgetting to add in my quote
>>
>> getOption(warn)
>> Error in options(x) : object 'warn' not found
>>
>> Not only does the warning message print in the R console when it finally
>> writes the error, but it also generates a warning pop up box in windows
>> reiterating the error.
>> Is this a setting that got accidently turned on?
>> It never did this before, but its making code debugging take a LONG time.
>> Thanks,
>> Justin
>>
>> Justin M. Balko, Pharm.D., Ph.D.
>> Research Fellow, Arteaga Lab
>> Vanderbilt-Ingram Cancer Center
>> 691 Preston Research Building
>> Nashville, TN 37232-6307
>> Tel: 615-936-1495
>> Email: justin.balko@<mailto:justin.balko@>
>>
>>
>> 	[[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help@ mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.htmlD
>> and provide commented, minimal, self-contained, reproducible code.
>>
> Did you ever figure this one out.  I just came across the same problem.  It
> seems to occur when I load the package "samr".
> I goes away when I reopen the GUI without loading samr.


Not so for me, so pelase specify a reproducible example and say specify 
your version of R and the package.

Note that in the above, getOption("warn") would be the right thing to do.

UWe Ligges



> Andrew Cherniack
> Broad Institute
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/R-warning-and-error-messages-taking-a-long-time-and-generating-pop-up-windows-tp1684064p4518110.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.



More information about the R-help mailing list