An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120814/296c9628/attachment.pl>
A drawing problem with R
2 messages · Derrick Guan, michael.weylandt at gmail.com (R. Michael Weylandt
What's your sessionInfo()? And how did you Change the locale? And what was your actual plot command and graphics device? Michael
On Aug 13, 2012, at 10:17 PM, Derrick Guan <guanyonghui89 at gmail.com> wrote:
Dear R-help mailing list, I have a drawing problem with R: I need to draw an horizontal axis with date, here is the test code:
ticks <- c("2004-01-22","2005-01-22","2006-01-22","2007-01-
22","2008-01-22","2009-01-22","2010-01-22","2011-01-22","2012-01-22")
ats <- ticks[seq(1,length(ticks))] lbl <- strftime(ats,"%b %y") lbl [1] "??? 04" "??? 05" "??? 06" "??? 07" "??? 08" "??? 09" "??? 10" "??? 11" "???
12" I have changed the R environment to English and why was "lbl" shown to be Chinese instead of English? Hopefully this can be resolved. Any tips would be greatly appreciated. Thanks in advance, Derrick [[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.