The R Project SVN R

Rev

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

Rev 68948 Rev 74532
Line 102... Line 102...
102
  \emph{The New S Language}.
102
  \emph{The New S Language}.
103
  Wadsworth & Brooks/Cole.
103
  Wadsworth & Brooks/Cole.
104
}
104
}
105
\examples{
105
\examples{
106
require(graphics)
106
require(graphics)
-
 
107
\dontshow{oldwd <- setwd(tempdir())}
107
prompt(plot.default)
108
prompt(plot.default)
108
prompt(interactive, force.function = TRUE)
109
prompt(interactive, force.function = TRUE)
109
unlink("plot.default.Rd")
110
unlink("plot.default.Rd")
110
unlink("interactive.Rd")
111
unlink("interactive.Rd")
111
 
112
 
Line 113... Line 114...
113
unlink("women.Rd")
114
unlink("women.Rd")
114
 
115
 
115
prompt(sunspots) # non-data.frame data
116
prompt(sunspots) # non-data.frame data
116
unlink("sunspots.Rd")
117
unlink("sunspots.Rd")
117
 
118
 
-
 
119
\dontshow{setwd(oldwd)}
118
\dontrun{
120
\dontrun{
119
## Create a help file for each function in the .GlobalEnv:
121
## Create a help file for each function in the .GlobalEnv:
120
for(f in ls()) if(is.function(get(f))) prompt(name = f)
122
for(f in ls()) if(is.function(get(f))) prompt(name = f)
121
}
123
}
122
 
124