On Nov 23, 2010, at 1:11 AM, Sarah Berry wrote:
I ran this script in a source file on my Mac:
library(lattice)
year <- 1900:2000
dollars <- (year-1899)^2
plot(year,dollars)
quartz("year")
histogram(~dollars)
The first plot appears in Quartz 2. The second quartz window, named
year, opens but
Perhaps you're a victim of FAQ 7.22. Try putting a print () around your plot
call - e.g., print(histogram(~ dollars)). And please read said FAQ to
understand why...
HTH,
Dennis
On Mon, Nov 22, 2010 at 10:11 PM, Sarah Berry wrote:
> I ran this script in a source file on my Mac:
>
> library(latti
I ran this script in a source file on my Mac:
library(lattice)
year <- 1900:2000
dollars <- (year-1899)^2
plot(year,dollars)
quartz("year")
histogram(~dollars)
The first plot appears in Quartz 2. The second quartz window, named year, opens
but the histogram doesn't appear.
However, when I copy
3 matches
Mail list logo