Differences between p-values in summary and from the anova in R lm() <p>I am seeing differences in the p-value for the anova depending on how I access this. </p> <p>Is there a way to get the same value that is returned by the summary?</p> <p>One easy to represent case returns &lt; 2.2e-16 in the summary and in the anova but gives me 8.129959e-100 when I access the value directly:</p> <pre><code>x &lt;- lm(formula = eruptions ~ waiting, data = faithful) summary(x) anova(x) anova(x)$"Pr(&gt;F)"[1] </code></pre> <p>In another more difficult to represent case (there is a lot more data) I get p-value: &lt; 2.2e-16 in the summary but 0 from anova.</p> <p>Is there any way to get the actual value that is returned in the summary and anova?</p> <p>I really appreciate your help -</p>