e two simple lines do not work correctly,
then your R environment is "broken" in some way,
and maybe first doing
rm(list = ls())
may help.
Martin Maechler,
ETH Zurich and R Core Team
> B.R.
> Stephen L
> ----- Original Message
> From: Joshua Wiley
shua Wiley
To: Stephen Liu
Cc: r-help@r-project.org
Sent: Sat, November 20, 2010 1:39:45 PM
Subject: Re: [R] An empty grey diagram
On Fri, Nov 19, 2010 at 9:35 PM, Stephen Liu wrote:
> Hi David,
>
>
>> What happens when you follow the directions... i.e. type:
>> plot.new()
Sent: Sat, November 20, 2010 1:39:45 PM
Subject: Re: [R] An empty grey diagram
On Fri, Nov 19, 2010 at 9:35 PM, Stephen Liu wrote:
> Hi David,
>
>
>> What happens when you follow the directions... i.e. type:
>> plot.new()#???
>
> abline(lm(len ~ dose, data = ToothGr
On Fri, Nov 19, 2010 at 9:35 PM, Stephen Liu wrote:
> Hi David,
>
>
>> What happens when you follow the directions... i.e. type:
>> plot.new() #???
>
> abline(lm(len ~ dose, data = ToothGrowth))
> plot.new()
>
> The grey background changes to white, still an empty graph
You cannot just use abl
empty grey diagram
It looks like all the packages you should need are loaded. Does the
call to plot() create a scatter plot correctly? abline() adds a line
to the current plot so that device still needs to be open when you
call abline() (which it should have been if you ran the code from my
first
h
B.R.
Stephen L
- Original Message
From: David Winsemius
To: Stephen Liu
Cc: Joshua Wiley ; r-help@r-project.org
Sent: Sat, November 20, 2010 1:08:21 PM
Subject: Re: [R] An empty grey diagram
On Nov 19, 2010, at 11:14 PM, Stephen Liu wrote:
> Hi Josh,
>
>
>> with(T
grey background diagram displayed.
B.R.
Stephen L
- Original Message
From: Joshua Wiley
To: Stephen Liu
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
It looks like all the packages you should need are loaded. Does the
call to plot() create a scatter plot correctly? abline() adds a line
to the current plot so that device still needs to be open when you
call abline() (which it should have been if you ran the code from my
first email). If a grap
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 wrote:
> Hi folks,
>
>
cairo
TRUE FALSE TRUE TRUE TRUE TRUE FALSE
B.R.
Stephen L
- Original Message
From: Joshua Wiley
To: Stephen Liu
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 wher
round diagram displayed.
B.R.
Stephen L
- Original Message
From: Joshua Wiley
To: Stephen Liu
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,
Stephen Liu
> 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,
>
>
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 wrote:
> Hi folks,
>
> Win7 64bit
> R 1.12.0
>
> I run following command on R:-
>
>> ToothGrowth
>> attach(ToothGrowth)
>> plot(dose
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 wi
14 matches
Mail list logo