Wrap the xyplot line in an explicit print() statement:

        print(xyplot(light.trans~simpson))



On Nov 26, 2009, at 8:53 AM, Graham M Smith wrote:

> Should the lattice library work with Lyx?
> 
> Ubuntu 9.04, Lyx 1.6.2, R 2.10 with latest version of lattice.
> 
> It seems to compile OK, but although the code appears I get no plot.
> 
> <<fig=T,echo=T>>=
> library(lattice)
> xyplot(light.trans~simpson)
> @
> 
> Anyone any ideas?
> 
> Thanks,
> 
> Graham
> 
> -- 
> --
> Graham M Smith
> 
> 
> 

Reply via email to