The R Project SVN R

Rev

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

Rev 30630 Rev 32569
Line 34... Line 34...
34
    running a package's examples.  This is currently equivalent to
34
    running a package's examples.  This is currently equivalent to
35
    \code{setRNG = \{RNGkind("default", "default"); set.seed(1)\}}.}
35
    \code{setRNG = \{RNGkind("default", "default"); set.seed(1)\}}.}
36
  \item{prompt.echo}{character; gives the prompt to be used if
36
  \item{prompt.echo}{character; gives the prompt to be used if
37
    \code{echo = TRUE}.}
37
    \code{echo = TRUE}.}
38
}
38
}
-
 
39
\value{
39
\value{(the value of the last evaluated expression).}
40
  The value of the last evaluated expression.
-
 
41
}
40
\details{
42
\details{
41
  If \code{lib.loc} is not specified, the packages are searched for
43
  If \code{lib.loc} is not specified, the packages are searched for
42
  amongst those already loaded, then in the specified libraries.
44
  amongst those already loaded, then in the specified libraries.
43
  If \code{lib.loc} is specified, they are searched for only
45
  If \code{lib.loc} is specified, they are searched for only
44
  in the specified libraries, even if they are already loaded from
46
  in the specified libraries, even if they are already loaded from
Line 58... Line 60...
58
    \item{\code{dontrun}}{encloses code that should not be run.}
60
    \item{\code{dontrun}}{encloses code that should not be run.}
59
    \item{\code{dontshow}}{encloses code that is invisible on help
61
    \item{\code{dontshow}}{encloses code that is invisible on help
60
      pages, but will be run both by the package checking tools,
62
      pages, but will be run both by the package checking tools,
61
      and the \code{example()} function.  This was previously
63
      and the \code{example()} function.  This was previously
62
      \code{testonly}, and that form is still accepted.}
64
      \code{testonly}, and that form is still accepted.}
63
    }
65
  }
-
 
66
 
-
 
67
  If the examples file contains non-ASCII characters the encoding used
-
 
68
  will matter.  If in a UTF-8 locale \code{example} first tries UTF-8
-
 
69
  and then Latin-1.
64
}
70
}
65
\note{
71
\note{
66
  The examples can be many small files.  On some file systems it is
72
  The examples can be many small files.  On some file systems it is
67
  desirable to save space, and the files in the \file{R-ex} directory
73
  desirable to save space, and the files in the \file{R-ex} directory
68
  of an installed package can be zipped up as a zip archive
74
  of an installed package can be zipped up as a zip archive