[Rd] [WISH / PATCH] possibility to split string literals across multiple lines

peter dalgaard pdalgd at gmail.com
Fri Jun 16 22:17:55 CEST 2017

> On 16 Jun 2017, at 21:17 , Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
> paste0("this is the first part",
>        "this is the second part")
> If the rather insignificant amount of time it takes to execute this function call really matters (and I'm not convinced of that), then shouldn't it be solved by the compiler applying constant folding to paste0()?

And, of course, if it is equivalent to a literal, it can be precomputed. There is no point in having it in the middle of a tight loop. 

Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com

More information about the R-devel mailing list