[R] Paste function and backslash
Roger Bivand
Roger.Bivand at nhh.no
Fri Dec 8 20:34:40 CET 2006
On Fri, 8 Dec 2006, Szymon Wlazlowski wrote:
> Dear useRs,
>
> calls and results below:
> > paste("\ \n")
> [1] " \n"
> *but*
> > paste("\ \N")
> [1] " N"
> Question: Is that by design? If so, how can I obtain simple LaTeX-type:
> [1] "\N"
FAQ 7.37:
http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-does-backslash-behave-strangely-inside-strings_003f
>
> > version
> platform i386-pc-linux-gnu
> arch i386
> os linux-gnu
> system i386, linux-gnu
> status
> major 2
> minor 4.0
> year 2006
> month 10
> day 03
> svn rev 39566
> language R
> version.string R version 2.4.0 (2006-10-03)
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no
More information about the R-help
mailing list