Windows 7, latest stable ESS, R 32 bit.

I have a rnw file that I'm converting to pdf using knitr.  The output below
is copied from the pdf.  Note the final error message indicates that "datm"
cannot be found, even though ls() and head() can find "datm"!

RStudio compiles this just fine.

How do I debug this error?

Kevin


R> ls()
[1] "dat" "datm" "datna" "datr" "gam" "ge" "M" "m.er" "m.ev" "m.fw"
[11] "m.fw0" "m.sv" "m.tw" "mm" "mr" "p.er" "p.ev" "p.fw" "p.sv" "p.tw"
[21] "pm" "pr" "vars"

R> head(datm)
env gen yield
1 87:GGA Bienvenu 1.442
2 87:ID Bienvenu 1.242
3 87:MT Bienvenu 2.616
4 87:NC Bienvenu 1.001
5 87:OR Bienvenu 4.556
6 87:SC Bienvenu 2.500

R> datm$res <- resid(mm)
Error: object ’datm’ not found


-- 
Kevin Wright

	[[alternative HTML version deleted]]

