[R] "%d/%m/%Y" can not be displayed in a .rd file
Nutter, Benjamin
NutterB at ccf.org
Thu Jan 7 20:54:29 CET 2010
Try "\%d/\%m/\%Y"
Escaping the % should do the trick. If I remember correctly, Latex uses
the % as the comment delimiter. I don't know if that's the cause of the
error, but escaping it has always solve the problem for me.
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of rusers.sh
Sent: Thursday, January 07, 2010 2:09 PM
To: r-help at r-project.org
Subject: [R] "%d/%m/%Y" can not be displayed in a .rd file
Hi all,
I found the date format (e.g."%d/%m/%Y") in the .rd file cannot be
displayed after building the package. See below, ###.rd file####
\examples{ a<-"10/20/1999"
DateConversion(a,DateIn="%m/%d/%Y",DateOut="%d/%m/%Y")
}
####The result is ####
Examples:
a<-"10-20-1999"
DateConversion(a,DateIn="
??"%m/%d/%Y" seems cannot be recognized.
Is there some method to solve this and make it visible?
Thanks a lot.
--
-----------------
Jane Chang
Queen's
[[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.
===================================
P Please consider the environment before printing this e-mail
Cleveland Clinic is ranked one of the top hospitals
in America by U.S.News & World Report (2009).
Visit us online at http://www.clevelandclinic.org for
a complete listing of our services, staff and
locations.
Confidentiality Note: This message is intended for use\...{{dropped:13}}
More information about the R-help
mailing list