[R] xYplot problem

Erin Berryman erinberryman at vandals.uidaho.edu
Wed Dec 12 23:45:39 CET 2007


On Dec 12, 2007, at 1:37 PM, Deepayan Sarkar wrote:

> On 12/12/07, Erin Berryman <erinberryman at vandals.uidaho.edu> wrote:
>> Dear R community,
>>
>> Since upgrading to R v.2.6.1 and re-installing package Hmisc (binary
>> for Mac OS X v.3.4-3), I have been getting a error when trying to
>> make xYplots:
>>
>>> plotcv<-c(34.88, 41.51, 45.81, 51.05, 51.66)
>>> plotcv.se<-c(2.406551, 3.071291, 4.331407, 3.213873, 4.838150)
>>> month<-c(6, 7, 8, 9, 10)
>>> library(Hmisc)
>>> xYplot(Cbind(plotcv, plotcv + plotcv.se, plotcv - plotcv.se)  ~
>> month)
>>
>> Error in xyplot.formula(formula = Cbind(plotcv, plotcv + plotcv.se,
>> plotcv -  :
>>    argument "x" is missing, with no default
>>
>> I've used xYplots extensively in the past with no problems.
>>
>> I am using Mac OS X.4.10 (Tiger).
>>
>>> version
>> platform       powerpc-apple-darwin8.10.1
>> arch           powerpc
>> os             darwin8.10.1
>> system         powerpc, darwin8.10.1
>> status
>> major          2
>> minor          6.1
>> year           2007
>> month          11
>> day            26
>> svn rev        43537
>> language       R
>> version.string R version 2.6.1 (2007-11-26)
>>
>> Any help would be greatly appreciated!
>
> Are you sure you are actually _using_ the updated version? That is,
> did you try this in a fresh R session (and not the one in which you
> updated)?
>

Yes:

R version 2.6.1 (2007-11-26)
Copyright (C) 2007 The R Foundation for Statistical Computing
ISBN 3-900051-07-0

Perhaps some mistake occurred when updating?

> -Deepayan

Erin



More information about the R-help mailing list