[R] trouble with .Rd file
Erin Hodgess
erinm.hodgess at gmail.com
Fri Feb 20 19:49:10 CET 2015
Ah! Perfect. Thanks so much!
Sincerely,
Erin
On Fri, Feb 20, 2015 at 1:03 PM, Duncan Murdoch <murdoch.duncan at gmail.com>
wrote:
> On 20/02/2015 12:58 PM, Erin Hodgess wrote:
> > Hello everyone!
> >
> > I've been messing with this .Rd file and am having forest/trees problem
> by
> > now.
> >
> > Here is the section of the .Rd file that is the troublemaker:
> >
> > \usage{
> > plot.fore4nodate(y, sim, dates, date.fmt = "%Y-%m-%d", gof.leg = FALSE,
> > gof.digits = 2, legend = "", leg.cex = 1, bands.col = "lightblue",
> border
> > = NA,
> > tick.tstep = "auto", lab.tstep = "auto", lab.fmt = NULL, main = NULL,
> > cal.ini = NA,
> > val.ini = NA, xlab = "Time", ylab = "", ylim, col = c("black", "blue"),
> > type = c("lines", "lines"), cex = c(1.8, 1.8), cex.axis = 1.8, ex.lab =
> 1.8,
> > lwd = c(2.5, 2.5), y = 1:2, pch = c(1, 9), cex.main = 2.1, lasa = 1, mt1
> =
> > 1.27, ...)
> > }
> >
> >
> > Now the error part:
> >
> > "c:\Progra~1\R\R-3.0.2\bin\x64\Rcmd" build ts1
> >
> > * checking for file 'ts1/DESCRIPTION' ... OK
> > * preparing 'ts1':
> > * checking DESCRIPTION meta-information ... OK
> > Warning: newline within quoted string at plot.fore4nodate.Rd:10
> > Error in parse_Rd
> >
> ("C:/Users/hodgesse/AppData/Local/Temp/Rt....../ts1/man/plot.fore4nodate.RD",
> > :
> > Unexpected end of input in (in " quoted string opened at
> > plot.fore4nodate.Rd:14.26)
> > Execution halted
> >
> >
> > The 14.26 would be at the word dates in the first line of the
> > plot.fore4nodate line.
> >
> > This is making me a little nuts. Actually a lot nuts.
> >
> > If anyone can see anything, I would really appreciate any suggestions.
>
> Generally percent symbols (%) need to be escaped in Rd files. So the
> default value for date.fmt should be entered as "\%Y-\%m-\%d".
>
> Duncan Murdoch
>
>
--
Erin Hodgess
Associate Professor
Department of Mathematical and Statistics
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com
[[alternative HTML version deleted]]
More information about the R-help
mailing list