[Rd] Rscript.Rd example (PR#9644)

From: <S.J.Eglen_at_damtp.cam.ac.uk>
Date: Mon, 30 Apr 2007 16:07:26 +0200 (CEST)


One of the examples in Rscript.Rd seems mis-formatted, in that the format statement is incomplete:

     ## Not run: 
     Rscript -e 'date()' -e 'format(Sys.time(), "

Both Rscript.Rd in R 2.5.0 and the version at: https://svn.r-project.org/R/trunk/src/library/utils/man/Rscript.Rd have

Rscript -e 'date()' -e 'format(Sys.time(), "%a %b %d %X %Y")'

Do the % need replacing with \% ?

Stephen

> sessionInfo()

R version 2.5.0 (2007-04-23)
i686-pc-linux-gnu

locale:
C

attached base packages:

[1] "stats"     "grDevices" "utils"     "datasets"  "graphics"  "methods"  
[7] "base"     

>


R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed 02 May 2007 - 11:07:28 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 02 May 2007 - 11:33:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.