Backslash in character string (PR#1887)

Andreas.Kiermeier@adelaide.edu.au Andreas.Kiermeier@adelaide.edu.au
Thu, 8 Aug 2002 05:51:24 +0200 (MET DST)


Full_Name: Andreas Kiermeier
Version: 1.5.1
OS: NT4.0
Submission from: (NULL) (129.127.41.28)


R appears not to be able to print a single backslash in a string, see example
session below.  The same happens on Solaris 2.6 using R 1.5.1.

> version
         _              
platform i386-pc-mingw32
arch     i386           
os       mingw32        
system   i386, mingw32  
status                  
major    1              
minor    5.1            
year     2002           
month    06             
day      17             
language R              
> "\"
Error: syntax error
> "\\"
[1] "\\"
> "\lambda"
[1] "lambda"
> "\\lambda"
[1] "\\lambda"
> "\134lambda"
[1] "\\lambda"


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._