The R Project SVN R

Rev

Rev 22419 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22419 Rev 23678
1
\name{Session}
1
\name{Session}
2
\alias{sessionData}
2
\alias{sessionData}
3
\alias{traceOn}
3
\alias{traceOn}
4
\alias{traceOff}
4
\alias{traceOff}
5
\alias{browseAll}
5
\alias{browseAll}
6
\title{Deprecated:  Session Data and Debugging Tools}
6
\title{Deprecated:  Session Data and Debugging Tools}
7
\description{
7
\description{
8
  The functions \code{traceOn} and \code{traceOff} have been replaced by
8
  The functions \code{traceOn} and \code{traceOff} have been replaced by
9
  extended versions of the functions \code{\link{trace}} and
9
  extended versions of the functions \code{\link{trace}} and
10
  \code{\link{untrace}}, and should not be used.
10
  \code{\link{untrace}}, and should not be used.
11
}
11
}
12
\usage{
12
\usage{
13
sessionData()
13
sessionData()
14
 
14
 
15
traceOn(what, tracer=browseAll, exit=NULL)
15
traceOn(what, tracer=browseAll, exit=NULL)
16
 
16
 
17
traceOff(what)
17
traceOff(what)
18
 
18
 
19
browseAll()
19
browseAll()
20
 
20
 
21
}
21
}
22
\details{
22
\details{
23
  \describe{
23
  \describe{
24
    \item{\code{sessionData}:}{
24
    \item{\code{sessionData}:}{
25
      return the index of the session data in the search list,
25
      return the index of the session data in the search list,
26
      attaching it if it is not attached.
26
      attaching it if it is not attached.
27
    }
27
    }
28
 
28
 
29
    \item{\code{traceOn}:}{
29
    \item{\code{traceOn}:}{
30
      initialize tracing on calls to function \code{what}.  The function
30
      initialize tracing on calls to function \code{what}.  The function
31
      or expression \code{tracer} is called on entry, and the function
31
      or expression \code{tracer} is called on entry, and the function
32
      or expression \code{exit} on exit.
32
      or expression \code{exit} on exit.
33
    }
33
    }
34
  
34
  
35
    \item{\code{traceOff}:}{
35
    \item{\code{traceOff}:}{
36
      turn off tracing of this function.
36
      turn off tracing of this function.
37
    }
37
    }
38
  
38
  
39
    \item{\code{browseAll}:}{ 
39
    \item{\code{browseAll}:}{ 
40
      browse the current stack of function calls.
40
      browse the current stack of function calls.
41
 
41
 
42
      Uses the function \code{debugger} to set up browser calls on the
42
      Uses the function \code{debugger} to set up browser calls on the
43
      frames.  On exit from that function, computation continues after
43
      frames.  On exit from that function, computation continues after
44
      the call to \code{browseAll}.  Computations done in the frames
44
      the call to \code{browseAll}.  Computations done in the frames
45
      will have no effect.
45
      will have no effect.
46
    }
46
    }
47
  }
47
  }
48
}
48
}
49
\references{
49
\references{
50
  See \emph{Programming with Data} (John M. Chambers, Springer, 1998)
50
  See \emph{Programming with Data} (John M. Chambers, Springer, 1998)
51
  for the equivalent functions.
51
  for the equivalent functions.
52
}
52
}
53
\author{
-
 
54
  John Chambers
-
 
55
}
-
 
56
\keyword{internal}
53
\keyword{internal}