The R Project SVN R

Rev

Rev 46956 | Rev 56184 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 46956 Rev 50567
Line 31... Line 31...
31
    consistency with \code{format.default}.}
31
    consistency with \code{format.default}.}
32
}
32
}
33
\details{
33
\details{
34
  This escapes backslash and the control characters \samp{\\a} (bell),
34
  This escapes backslash and the control characters \samp{\\a} (bell),
35
  \samp{\\b} (backspace), \samp{\\f} (formfeed), \samp{\\n} (line feed),
35
  \samp{\\b} (backspace), \samp{\\f} (formfeed), \samp{\\n} (line feed),
36
  \samp{\\r} (carriage return), \samp{\\t} (tab) and \samp{\\v} (vertical tab)
36
  \samp{\\r} (carriage return), \samp{\\t} (tab) and \samp{\\v}
37
  as well as any non-printable characters in a
37
  (vertical tab) as well as any non-printable characters in a
38
  single-byte locale, which are printed in octal notation
38
  single-byte locale, which are printed in octal notation (\samp{\\xyz}
39
  (\samp{\\xyz} with leading zeroes).
39
  with leading zeroes).
40
#ifdef unix
40
 
41
  (Which characters are non-printable depends on the current locale.)
41
  Which characters are non-printable depends on the current locale.
42
#endif
-
 
43
#ifdef windows
-
 
44
  (Windows' reporting of printable characters is unreliable, so all
42
  Windows' reporting of printable characters is unreliable, so there all
45
  other control characters are regarded as non-printable, and all
43
  other control characters are regarded as non-printable, and all
46
  characters with codes 32--255 as printable in a single-byte locale.)
44
  characters with codes 32--255 as printable in a single-byte locale.
47
#endif
-
 
48
  See \code{\link{print.default}} for how non-printable characters are
45
  See \code{\link{print.default}} for how non-printable characters are
49
  handled in multi-byte locales.
46
  handled in multi-byte locales.
50
 
47
 
51
  If \code{quote} is a single or double quote any embedded quote of the
48
  If \code{quote} is a single or double quote any embedded quote of the
52
  same type is escaped.  Note that justification is of the quoted
49
  same type is escaped.  Note that justification is of the quoted