Mallika Veeramalai <mallikav <at> burnham.org> writes:

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.

  It's called a "data frame".  See the Introduction to R,
and help for read.table and read.csv.  (The character data
will get made into factors unless you use as.is=TRUE
or specify colClasses.)

______________________________________________
R-help@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.

Reply via email to