Hervé Pagès
2020-May-13 02:59 UTC
[Rd] "cd" floating in the air in the man page for paste/paste0
Hi, While reading about the new 'recycle0' argument of paste/paste0, I spotted a mysterious "cd" floating in the air in the man page: recycle0: ?logical? indicating if zero-length character arguments (and all zero-length or no arguments when ?collapse? is not ?NULL?) should lead to the zero-length ?character(0)?. cd ^^ This is in R 4.0.0 Patched and R devel. Cheers, H. -- Herv? Pag?s Program in Computational Biology Division of Public Health Sciences Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N, M1-B514 P.O. Box 19024 Seattle, WA 98109-1024 E-mail: hpages at fredhutch.org Phone: (206) 667-5791 Fax: (206) 667-1319
Dirk Eddelbuettel
2020-May-13 03:14 UTC
[Rd] "cd" floating in the air in the man page for paste/paste0
On 12 May 2020 at 19:59, Herv? Pag?s wrote: | While reading about the new 'recycle0' argument of paste/paste0, I | spotted a mysterious "cd" floating in the air in the man page: | | recycle0: ?logical? indicating if zero-length character arguments (and | all zero-length or no arguments when ?collapse? is not | ?NULL?) should lead to the zero-length ?character(0)?. | cd | ^^ | | This is in R 4.0.0 Patched and R devel. Also still in r-devel as of svn r78432: \item{recycle0}{\code{\link{logical}} indicating if zero-length character arguments (and all zero-length or no arguments when \code{collapse} is not \code{NULL}) should lead to the zero-length \code{\link{character}(0)}.}cd ^^ Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
Tomas Kalibera
2020-May-13 06:29 UTC
[Rd] "cd" floating in the air in the man page for paste/paste0
Thanks, fixed. Tomas On 5/13/20 5:14 AM, Dirk Eddelbuettel wrote:> On 12 May 2020 at 19:59, Herv? Pag?s wrote: > | While reading about the new 'recycle0' argument of paste/paste0, I > | spotted a mysterious "cd" floating in the air in the man page: > | > | recycle0: ?logical? indicating if zero-length character arguments (and > | all zero-length or no arguments when ?collapse? is not > | ?NULL?) should lead to the zero-length ?character(0)?. > | cd > | ^^ > | > | This is in R 4.0.0 Patched and R devel. > > Also still in r-devel as of svn r78432: > > \item{recycle0}{\code{\link{logical}} indicating if zero-length > character arguments (and all zero-length or no arguments when > \code{collapse} is not \code{NULL}) should lead to the zero-length > \code{\link{character}(0)}.}cd > ^^ > > Dirk >
Seemingly Similar Threads
- "cd" floating in the air in the man page for paste/paste0
- "cd" floating in the air in the man page for paste/paste0
- paste(character(0), collapse="", recycle0=FALSE) should be ""
- paste(character(0), collapse="", recycle0=FALSE) should be ""
- paste(character(0), collapse="", recycle0=FALSE) should be ""