The R Project SVN R

Rev

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

Rev 27442 Rev 27716
Line 42... Line 42...
42
%% some of these have enormous output that varies a lot by version
42
%% some of these have enormous output that varies a lot by version
43
\dontrun{apropos("lm")}
43
\dontrun{apropos("lm")}
44
apropos(ls)
44
apropos(ls)
45
apropos("lq")
45
apropos("lq")
46
 
46
 
47
lm <- 1:pi
47
cor <- 1:pi
48
find(lm)        #> ".GlobalEnv"   "package:base"
48
find(cor)        #> ".GlobalEnv"   "package:stats"
49
find(lm, num=TRUE) # numbers with these names
49
find(cor, num=TRUE) # numbers with these names
50
find(lm, num=TRUE, mode="function")# only the second one
50
find(cor, num=TRUE, mode="function")# only the second one
51
rm(lm)
51
rm(cor)
52
 
52
 
53
\dontrun{apropos(".", mode="list") # a long list}
53
\dontrun{apropos(".", mode="list") # a long list}
54
 
54
 
55
# need a DOUBLE backslash '\\\\' (in case you don't see it anymore)
55
# need a DOUBLE backslash '\\\\' (in case you don't see it anymore)
56
apropos("\\\\[")
56
apropos("\\\\[")