Hi Josh, > sessionInfo() R version 2.12.0 (2010-10-15) Platform: x86_64-pc-mingw32/x64 (64-bit) locale: [1] LC_COLLATE=English_United States.1252 [2] LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C [5] LC_TIME=English_United States.1252 attached base packages: [1] stats graphics grDevices datasets utils methods base other attached packages: [1] rcom_2.2-3.1 rscproxy_1.3-1 loaded via a namespace (and not attached): [1] tools_2.12.0
58 27.3 OJ 2.0 59 29.4 OJ 2.0 60 23.0 OJ 2.0 > > abline(lm(len~dose, data = ToothGrowth)) Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) : plot.new has not been called yet > abline(lm(len ~ dose, data = ToothGrowth)) Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) : plot.new has not been called yet > sessioninfo() Error: could not find function "sessioninfo" > capabilities() jpeg png tiff tcltk X11 aqua http/ftp sockets TRUE TRUE TRUE TRUE FALSE FALSE TRUE TRUE libxml fifo cledit iconv NLS profmem cairo TRUE FALSE TRUE TRUE TRUE TRUE FALSE B.R. Stephen L ----- Original Message ---- From: Joshua Wiley <jwiley.ps...@gmail.com> To: Stephen Liu <sati...@yahoo.com> Cc: r-help@r-project.org Sent: Sat, November 20, 2010 12:29:07 PM Subject: Re: [R] An empty grey diagram Hi Stephen, In a session where that code returns an error, can you report the full results of: sessionInfo() capabilities() ? Josh On Fri, Nov 19, 2010 at 8:14 PM, Stephen Liu <sati...@yahoo.com> wrote: > Hi Josh, > > >> with(ToothGrowth, plot(dose, len)) >> abline(lm(len ~ dose, data = ToothGrowth)) > > ToothGrowth > abline(lm(len ~ dose, data = ToothGrowth)) > Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) : > plot.new has not been called yet > > ToothGrowth > attach(ToothGrowth) > abline(lm(len ~ dose, data = ToothGrowth)) > Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) : > plot.new has not been called yet > > > Sorry, still fail only an empty grey background diagram displayed. > > > B.R. > Stephen L > > > > ----- Original Message ---- > From: Joshua Wiley <jwiley.ps...@gmail.com> > To: Stephen Liu <sati...@yahoo.com> > Cc: r-help@r-project.org > Sent: Sat, November 20, 2010 10:50:42 AM > Subject: Re: [R] An empty grey diagram > > Hi Stephen, > > Please try: > > with(ToothGrowth, plot(dose, len)) > abline(lm(len ~ dose, data = ToothGrowth)) > > > Cheers, > > Josh > > On Fri, Nov 19, 2010 at 6:44 PM, Stephen Liu <sati...@yahoo.com> wrote: >> Hi folks, >> >> Win7 64bit >> R 1.12.0 >> >> I run following command on R:- >> >>> ToothGrowth >>> attach(ToothGrowth) >>> plot(dose,len) >>> matrics=lm(len~dose) >> >>> abline(metrics) >> Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) : >> plot.new has not been called yet >> >> Only a grey diagram is displayed without content >> >> >>> plot(abline(metrics)) >> Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) : >> plot.new has not been called yet >> >> With the same result. >> >> >> Pls advise what does it mean? How to rectify it? TIA >> >> >> B.R. >> Stephen L >> >> >> >> >> ______________________________________________ >> R-help@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. >> > > > > -- > Joshua Wiley > Ph.D. Student, Health Psychology > University of California, Los Angeles > http://www.joshuawiley.com/ > > > > -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ ______________________________________________ R-help@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.