[R] using edit.data.frame
    Anne York 
    york at noaa.gov
       
    Wed Dec  4 23:03:02 CET 2002
    
    
  
dum is a simple data frame transferred to Splus using the dump() 
command in Splus and the source() in R. All fields are numeric. There
are no missing data. The data frame looks like it is should:
> apply(dum,2,mode)
     yrcl     sland       s02      s234 
"numeric" "numeric" "numeric" "numeric" 
> apply(dum,2,is.vector)
 yrcl sland   s02  s234 
 TRUE  TRUE  TRUE  TRUE 
> is.data.frame(dum)
[1] TRUE
But, when I try to use the edit.data.frame command, 
> edit.data.frame(dum)
Error in edit.data.frame(dum) : Can only handle vector and factor elements
> 
Any ideas why this won't work?
Anne
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Anne E. York
National Marine Mammal Laboratory
Seattle WA 98115-0070  USA
e-mail: anne.york at noaa.gov
Voice: +1 206-526-4039
Fax: +1 206-526-6615
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    
More information about the R-help
mailing list