[R-SIG-Mac] Blank screen on a mac when plotting some (but not all) data

David Winsemius dwinsemius at comcast.net
Fri Aug 17 08:39:33 CEST 2012


On Aug 13, 2012, at 8:03 AM, Pearson, Aislinn wrote:

> Hi,
>
> I am analysing some data using ANOVA and I want to check that all of  
> my assumptions are correct (constant variance, normal distribution  
> of errors, etc). I understand from Mick Crawley's 'Statistics: An  
> introduction using R" that the best way to do this is to use  
> plot(model):
>
> model<-aov(Total.Distance_Log~Treatment)
> summary(model)

quartz()

> plot(model)

Sometimes you need to create an output window so that plot.new() will  
succeed.

>
> There are no problems writing the model or summarising it. However,  
> when I try to plot it using the above code the image window for the  
> graph is empty. The console gives the instruction to hit return to  
> see the next graph, but this doesn't seem to generate anything  
> either. I know that the image window works because I was using it to  
> create histograms as an alternative way of checking that the data is  
> normally distributed:
>
> hist(Total.Distance_Log)
>
> I also think plot(model) works as I asked a colleague to check it on  
> his PC.
>
> I have had a look on the wiki, but haven't found anything yet. If  
> anyone knows what I am doing wrong I would be grateful for some  
> advice.
>
> Thank you
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

David Winsemius, MD
Alameda, CA, USA



More information about the R-SIG-Mac mailing list