[R] A problem someone should know about

Peter Claussen dakotajudo at mac.com
Mon Mar 30 15:00:16 CEST 2015


Rich,

You’ve probably reported the error to the wrong group.

A quick search suggests this is not an R issue, but an RStudio issue. The error message is unique enough. Google returns this as the first link:

https://support.rstudio.com/hc/communities/public/questions/200807456-Error-when-plotting-graphics-on-Mac-OSX-Mavericks

Peter

> On Mar 29, 2015, at 9:21 PM, Richard M. Heiberger <rmh at temple.edu> wrote:
> 
> This looks like a specific Macintosh error that appears at random intervals.
> I get it at random, and unreproducible times.  I reported it (or
> perhaps a close relative)
> to the r-sig-mac list in September 2014.
> 
> Rich
> 
> 
> On Sun, Mar 29, 2015 at 9:59 PM, Rolf Turner <r.turner at auckland.ac.nz> wrote:
>> On 30/03/15 11:52, Ian Lester wrote:
>>> 
>>> I’m a novice and this message looks like it shouldn’t be ignored. Someone
>>> who knows what they’re doing should probably take a look.
>>> Thanks
>>> Ian Lester
>>> 
>>>> logfat.lm<-(lm(body.fat~log(BMI)))
>>>> plot(logfat)
>>> 
>>> Error in plot(logfat) : object 'logfat' not found
>>>> 
>>>> plot(logfat.lm)
>>> 
>>> Hit <Return> to see next plot:
>>> Hit <Return> to see next plot:
>>> Hit <Return> to see next plot:
>>> Mar 29 18:10:18 iansimac.gateway rsession[69550] <Error>: Error: this
>>> application, or a library it uses, has passed an invalid numeric
>>> value (NaN, or not-a-number) to CoreGraphics API. This is a serious
>>> error and contributes to an overall degradation of system stability
>>> and reliability. This notice is a courtesy: please fix this problem.
>>> It will become a fatal error in an upcoming update.
>> 
>> 
>> Please make your examples *reproducible* as the posting guide requests.
>> 
>> I *presume* that your data are the "fat" data from the "UsingR" package,
>> which you did not mention.
>> 
>> After installing and loading "UsingR" I did
>> 
>>> logfat.lm <- lm(body.fat~log(BMI),data=fat)
>>> plot(logfat.lm)
>> 
>> and got a sequence of plots, with no error thrown. It would appear that
>> whatever is causing the error that you saw is peculiar to your system.
>> 
>> cheers,
>> 
>> Rolf Turner
>> 
>> --
>> Rolf Turner
>> Technical Editor ANZJS
>> Department of Statistics
>> University of Auckland
>> Phone: +64-9-373-7599 ext. 88276
>> Home phone: +64-9-480-4619
>> 
>> 
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> 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.
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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