[R] month and output
Ashta
sewashm at gmail.com
Sat May 7 01:11:04 CEST 2016
Hi all,
I am trying to ge get the next month of the year.
today <- Sys.Date()
xx<- format(today, format="%B%Y")
I got "May2016", but I want Jun2016. How do I do that?
My other question is that, I read a data and do some analysis and I
want to send all the results of the analysis to a pdf file
Example
x5 <- runif(15, 5.0, 7.5)
x5
I tried this one
pdf(file=" test.pdf")
x5
dev.off()
I found the file is empty. I would appreciate if you help me out.
Thanks in advance
More information about the R-help
mailing list