[R] Reg. strings and numeric data in matrix.

Petr Klasterecky klaster at karlin.mff.cuni.cz
Fri Mar 9 21:35:52 CET 2007


See
?data.frame
?read.table
and please read (appropriate parts of) the "Introduction to R" manual.
Petr

Mallika Veeramalai napsal(a):
> Hi All,
> 
> Sorry for this basic question as I am new to this R. I would like to know,
> is it possible to consider a matrix with some columns having numeric data
> and some other's with characters (strings) data?  How do I get this type of
> data from a flat file.
> 
> Thanks very much,
> mallika 
> 
> ____________________________________________________________________________
>     Mallika Veeramalai, Ph.D.,
>     Postdoctoral Associate,
>     Bioinformatics & Systems Biology,
>     Burnham Institute for Medical Research,
>     La Jolla,  CA 92037, USA.
>     phone : +1 858 646 3100 ext: 3627
>     Fax   : +1 858 795 5249
>     Web   : http://bioinformatics.burnham.org/~mallika/
>     Email : mallikav at burnham.org (or) kaaviyam at gmail.com
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 

-- 
Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic



More information about the R-help mailing list