On 9/11/22 12:22, akshay kulkarni wrote: > Dear members, > I came across this queer thing during my analysis: >> as.integer("09098") > 9098 > > Any idea on how to retain the "0"?
Don't use as.integer(), which has performed precisely the service that it advertises? I certainly wouldn't call this an 'inadequacy'. And please stop posting in html. ---JRG > Yours sincerely, > AKSHAY M KULKARNI > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.