Re: [Rcom-l] lattice graphics

2008-03-28 Thread Matt Spear
Wow, thanks!!! That fixed it right up!! Hadn't realized the interactive environment auto-printed it...sorry. On Fri, Mar 28, 2008 at 7:52 PM, Richard M. Heiberger <[EMAIL PROTECTED]> wrote: > This looks like an example of R FAQ 7.22. > > When used inside a function or script, you need to write >

RE: [Rcom-l] lattice graphics

2008-03-28 Thread Richard M. Heiberger
This looks like an example of R FAQ 7.22. When used inside a function or script, you need to write print(xyplot(y ~ x)) in order to see the output graph. ___ Rcom-l mailing list Rcom-l@mailman.csd.univie.ac.at http://mailman.csd.univie.ac.at/mailman/lis

Re: [Rcom-l] lattice graphics

2008-03-28 Thread Matt Spear
Sorry, guess I wasn't clear enough. The code is for example only--it works fine in R, but when sent across the R-(D)COM interface it does not work. I have tried with many of the lattice graphics and a few versions of R, but none work across the R-(D)COM interface. Again, the code will work fine

Re: [Rcom-l] lattice graphics

2008-03-28 Thread Erich Neuwirth
I tthink you are adressing this question to the wrong list. It is a "pure R" question, therefore you should post it on r-help. Matt Spear wrote: Hey, I cannot get any of the lattice library functions to work. An example R code is: library(lattice) xyplot(c(2,3,4,5,6) ~ c(1,2,3,4,5)) It works