[R] R commander.

Ilyas . mykhwab at gmail.com
Mon Oct 12 08:29:55 CEST 2009


i have two RData files,,i want to print them to check the format of the
tables in these files,,,i can load both the files and can read it as well

> load('ann.RData')
> str(ann)
List of 4
 $ Name      : chr [1:561466] "rs3094315" "rs12562034" "rs3934834"
"rs9442372" ...
 $ Position  : int [1:561466] 742429 758311 995669 1008567 1011278 1011521
1020428 1021403 1038818 1039813 ...
 $ Chromosome: chr(0)
 $ Chr.num   : num [1:561466] 1 1 1 1 1 1 1 1 1 1 ...

but when i try to display all the table by using the R commander.i have got
the display of 'pheno.RData' file,,but the other file 'ann.RData' show me an
error i.e.

> ann <- as.data.frame(ann)
Error in data.frame(Name = c("rs3094315", "rs12562034", "rs3934834",
"rs9442372",  :
  arguments imply differing number of rows: 561466, 0



i am sending you both files,,,hope u will help me solve this problm....


Ilyas


More information about the R-help mailing list