The R Project SVN R

Rev

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

Rev 59039 Rev 60635
Line 1... Line 1...
1
% File src/library/base/man/pushBack.Rd
1
% File src/library/base/man/pushBack.Rd
2
% Part of the R package, http://www.R-project.org
2
% Part of the R package, http://www.R-project.org
3
% Copyright 1995-2011 R Core Team
3
% Copyright 1995-2012 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{pushBack}
6
\name{pushBack}
7
\alias{pushBack}
7
\alias{pushBack}
8
\alias{pushBackLength}
8
\alias{pushBackLength}
-
 
9
\alias{clearPushBack}
9
\title{Push Text Back on to a Connection}
10
\title{Push Text Back on to a Connection}
10
\description{
11
\description{
11
  Functions to push back text lines onto a \link{connection}, and to enquire
12
  Functions to push back text lines onto a \link{connection}, and to enquire
12
  how many lines are currently pushed back.
13
  how many lines are currently pushed back.
13
}
14
}
14
\usage{
15
\usage{
15
pushBack(data, connection, newLine = TRUE)
16
pushBack(data, connection, newLine = TRUE)
16
pushBackLength(connection)
17
pushBackLength(connection)
-
 
18
clearPushBack(connection)
17
}
19
}
18
\arguments{
20
\arguments{
19
  \item{data}{a character vector.}
21
  \item{data}{a character vector.}
20
  \item{connection}{A \link{connection}.}
22
  \item{connection}{A \link{connection}.}
21
  \item{newLine}{logical.  If true, a newline is appended to each string
23
  \item{newLine}{logical.  If true, a newline is appended to each string
Line 40... Line 42...
40
  \code{\link{Encoding}}) are pushed back they are converted to the
42
  \code{\link{Encoding}}) are pushed back they are converted to the
41
  current encoding.  This may involve representing characters as
43
  current encoding.  This may involve representing characters as
42
  \samp{<U+xxxx>} if they cannot be converted.
44
  \samp{<U+xxxx>} if they cannot be converted.
43
}
45
}
44
\value{
46
\value{
45
  \code{pushBack} returns nothing.
47
  \code{pushBack} and \code{clearPushBack()} return nothing, invisibly.
46
 
48
 
47
  \code{pushBackLength} returns number of lines currently pushed back.
49
  \code{pushBackLength} returns number of lines currently pushed back.
48
}
50
}
49
\seealso{\code{\link{connections}}, \code{\link{readLines}}.}
51
\seealso{\code{\link{connections}}, \code{\link{readLines}}.}
50
 
52