Michael,

Use dput() to output your data (or perhaps a small subset).  Then paste 
the result of that call and your R code (just those lines of code that are 
needed to reproduce the problem) right in your message to R-help.  That 
makes it easier for the R-help list readers to help you troubleshoot.

Jean


Michael Eisenring <eimichae@ethz.ch> wrote on 07/20/2012 05:15:32 AM:

> Dear r-help members.
> I would like to compare species numbers of moths between eight 
> different forests (each sampled for six nights). I would like to do 
> a nested anova to compare species numbers between forests and nights.
> For more site specific details I wanted to do a Tukey test 
> (TukeyHSD). Unfortunately this test is not working (message:  "nicht
> anwendbare Methode für 'TukeyHSD' auf Objekt der Klasse "c('anova', 
> 'data.frame" ) /(message: "method not appropriate for TukeyHSD for 
> objects of the class "anova", "data.frame").
> I tried it also with the "aov" instead of the "anova" function but 
> neither the "aov" nor the "anova" approach is working.
> Could anyone help me with this  problem?
> Attached you can find the txt.file and the r-script.
> I'm working with a MAC OSX snow leopard, with R-Studio 0.96 316.
> 
> Thank you very much.
> Michael 

	[[alternative HTML version deleted]]

