The R Project SVN R

Rev

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

Rev 59039 Rev 61150
Line 63... Line 63...
63
}
63
}
64
\examples{
64
\examples{
65
x <- "ab\bc\ndef"
65
x <- "ab\bc\ndef"
66
print(x)
66
print(x)
67
cat(x) # interprets escapes
67
cat(x) # interprets escapes
68
cat(encodeString(x), "\n", sep="") # similar to print()
68
cat(encodeString(x), "\n", sep = "") # similar to print()
69
 
69
 
70
factor(x) # makes use of this to print the levels
70
factor(x) # makes use of this to print the levels
71
 
71
 
72
x <- c("a", "ab", "abcde")
72
x <- c("a", "ab", "abcde")
73
encodeString(x, width = NA) # left justification
73
encodeString(x, width = NA) # left justification