See ?numeric ?integer and possible the colClasses argument of read.table -Ista
On Sun, Sep 5, 2010 at 12:48 PM, rajesh j <akshay.raj...@gmail.com> wrote: > Hi, > > Is it possible to convert a string vector to integer or numeric vector? In > my situation I receive data in a string vector and have to convert it based > on a given type. > -- > Rajesh.J > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org 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. > -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org ______________________________________________ R-help@r-project.org 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.