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.
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
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.
i have no idea what to do> plot(body.fat, BMI,xlab="Body fat",ylab="BMI",main=?Figure 2.1: BMI vs Body fat (n=252)?)Error: unexpected input in "plot(body.fat, BMI,xlab="Body fat",ylab="BMI",main=?"> plot(body.fat, BMI,xlab="Body fat",ylab="BMI")serious error. This application, or a library it uses, is using an invalid context and is thereby contributing 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.> > Begin forwarded message: > > From: Ian Lester <ihlester at mensa.org.au> > Reply-To: ihlester at mensa.org.au > Subject: A problem someone should know about > Date: 30 March 2015 9:52:54 am AEDT > To: r-help at r-project.org > > 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.[[alternative HTML version deleted]]
On Mon, Mar 30, 2015 at 1:59 AM, Ian Lester <ianlester43 at gmail.com> wrote:> i have no idea what to doOne of the other responses already told you it was probably an Rstudio problem, so not using Rstudip seems like a good place to start. Sarah> >> plot(body.fat, BMI,xlab="Body fat",ylab="BMI",main=?Figure 2.1: BMI vs Body fat (n=252)?) > Error: unexpected input in "plot(body.fat, BMI,xlab="Body fat",ylab="BMI",main=?" >> plot(body.fat, BMI,xlab="Body fat",ylab="BMI") > serious error. This application, or a library it uses, is using an invalid context and is thereby contributing 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. >> >> Begin forwarded message: >>
In your first example you created logfat.lm and then tried to plot logfat so you got an error indicating that logfat did not exist. In your second example we have no idea what body.fat. You must make your examples reproducible so that we can reproduce your error. It looks like you could also benefit from spending a little time learning about R using a free tutorial. ------------------------------------- David L Carlson Department of Anthropology Texas A&M University College Station, TX 77840-4352 -----Original Message----- From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Ian Lester Sent: Monday, March 30, 2015 12:59 AM To: r-help at r-project.org Subject: [R] Again: A problem someone should know about i have no idea what to do> plot(body.fat, BMI,xlab="Body fat",ylab="BMI",main=?Figure 2.1: BMI vs Body fat (n=252)?)Error: unexpected input in "plot(body.fat, BMI,xlab="Body fat",ylab="BMI",main=?"> plot(body.fat, BMI,xlab="Body fat",ylab="BMI")serious error. This application, or a library it uses, is using an invalid context and is thereby contributing 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.> > Begin forwarded message: > > From: Ian Lester <ihlester at mensa.org.au> > Reply-To: ihlester at mensa.org.au > Subject: A problem someone should know about > Date: 30 March 2015 9:52:54 am AEDT > To: r-help at r-project.org > > 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.[[alternative HTML version deleted]] ______________________________________________ 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.