The R Project SVN R

Rev

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

Rev 70170 Rev 74782
Line 1... Line 1...
1
% File src/library/base/man/scan.Rd
1
% File src/library/base/man/scan.Rd
2
% Part of the R package, https://www.R-project.org
2
% Part of the R package, https://www.R-project.org
3
% Copyright 1995-2016 R Core Team
3
% Copyright 1995-2018 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{scan}
6
\name{scan}
7
\title{Read Data Values}
7
\title{Read Data Values}
8
\alias{scan}
8
\alias{scan}
Line 59... Line 59...
59
    assumed that the lines of the data file are records each containing
59
    assumed that the lines of the data file are records each containing
60
    \code{length(what)} items (\sQuote{fields}) and the list components
60
    \code{length(what)} items (\sQuote{fields}) and the list components
61
    should have elements which are one of the first six (\link{atomic})
61
    should have elements which are one of the first six (\link{atomic})
62
    types listed or \code{NULL}, see section \sQuote{Details} below.}
62
    types listed or \code{NULL}, see section \sQuote{Details} below.}
63
 
63
 
64
  \item{nmax}{integer: the maximum number of data values to be read, or if
64
  \item{nmax}{the maximum number of data values to be read, or if
65
    \code{what} is a list, the maximum number of records to be read.  If
65
    \code{what} is a list, the maximum number of records to be read.  If
66
    omitted or not positive or an invalid value for an integer
66
    omitted or not positive or an invalid value for an integer
67
    (and \code{nlines} is not set to a positive value), \code{scan} will
67
    (and \code{nlines} is not set to a positive value), \code{scan} will
68
    read to the end of \code{file}.}
68
    read to the end of \code{file}.}
69
 
69