Solved. Thanks a lot.

2010/1/7 Duncan Murdoch <murd...@stats.uwo.ca>

> On 07/01/2010 2:09 PM, rusers.sh wrote:
>
>> 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.
>>
>
>
> The % character is a comment character in Rd files.  You need to escape it:
>
>
> DateConversion(a,DateIn="\%m/\%d/\%Y",DateOut="\%d/\%m/\%Y")
>
>
>
> Duncan Murdoch
>



-- 
-----------------
Jane Chang
Queen's

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to