hi, i am new to using r .so if you can pls tell me how to read "1951-52" ,"1952-52" date format in r [[alternative HTML version deleted]]
try this:> as.Date('1951-52', format = "%Y-%j")[1] "1951-02-21">On Mon, Jul 2, 2012 at 5:44 AM, Karan Anand <anand.karan66 at gmail.com> wrote:> hi, > ? ? i am new ?to using r .so if you can pls ?tell me how ?to read "1951-52" > ,"1952-52" ? ? date format in r > > ? ? ? ? [[alternative HTML version deleted]] > > ______________________________________________ > 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.-- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it.
hi, i am new to r ,i have a xlsx data with me with 12 sheet in it and need to convert it to csv first and then need to convert it into time series ,so if u can pls guide me a little how to do it. Regards karan [[alternative HTML version deleted]]
Hello, Try the following. install.packages("sos") # to install the package library(sos) # to load the package nto R session finFn("xlsx") # find it Have fun. Hope this helps, Rui Barradas Em 16-07-2012 06:17, Karan Anand escreveu:> hi, > i am new to r ,i have a xlsx data with me with 12 sheet in it and > need to convert it to csv first and then need to convert it into time > series ,so if u can pls guide me a little how to do it. > > > Regards > karan > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. >