?as.integer
xChar<-as.character(c(1,2,3))
xInt<-as.integer(xChar)
On Fri, Apr 17, 2009 at 09:38, Romildo Martins
<romildo.martins at gmail.com> wrote:> Hi,
>
> exists a function to converts string to integer?
>
> Thanks
>
> Romildo Martins
>
> ______________________________________________
> R-help at 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.
>