Re: [Rd] error in xYplot from Hmisc. (PR#9389)

From: <deepayan.sarkar_at_gmail.com>
Date: Mon 27 Nov 2006 - 19:07:53 GMT


On 11/27/06, mrufino@cripsul.ipimar.pt <mrufino@cripsul.ipimar.pt> wrote:
> Hello,
>
> I was simply doing a graph, but an error repeatdly occurs. Any idea why?
> (this only happens in the latest R version, I am a windows user).

What version is that exactly? Please give the output of sessionInfo(), since "the latest R version" means different things to different people.

> Thank you,
> Marta
>
>
> library(Hmisc)
> > example(xYplot)
>
> xYplot> d <- expand.grid(x = seq(0, 2 * pi, length = 150),
> p = 1:3, shift = c(0, pi))
>
> xYplot> xYplot(sin(x + shift)^p ~ x | shift, groups = p, data = d,
> type = "l")
> Loading required package: grid
> Error in xyplot.formula(formula = sin(x + shift)^p ~ x | shift, data =
> list( :
> argument "x" is missing, with no default

And what made you come to the conclusion that this is a bug in R?

In this case, I'm pretty sure your version of Hmisc is an old one. Run update.packages() and try again.

-Deepayan



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue Nov 28 21:20:02 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 28 Nov 2006 - 12:30:46 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.