The R Project SVN R

Rev

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

Rev 59039 Rev 62511
Line 1... Line 1...
1
% File src/library/utils/man/count.fields.Rd
1
% File src/library/utils/man/count.fields.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-2007 R Core Team
3
% Copyright 1995-2013 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{count.fields}
6
\name{count.fields}
7
\title{Count the Number of Fields per Line}
7
\title{Count the Number of Fields per Line}
8
\usage{
8
\usage{
Line 37... Line 37...
37
\details{
37
\details{
38
  This used to be used by \code{\link{read.table}} and can still be
38
  This used to be used by \code{\link{read.table}} and can still be
39
  useful in discovering problems in reading a file by that function.
39
  useful in discovering problems in reading a file by that function.
40
 
40
 
41
  For the handling of comments, see \code{\link{scan}}.
41
  For the handling of comments, see \code{\link{scan}}.
-
 
42
  
-
 
43
  Consistent with \code{\link{scan}}, \code{count.fields} allows
-
 
44
  quoted strings to contain newline characters.  In such a case the
-
 
45
  starting line will have the field count recorded as \code{NA}, and
-
 
46
  the ending line will include the count of all fields from the
-
 
47
  beginning of the record.
-
 
48
  
42
}
49
}
43
\value{
50
\value{
44
  A vector with the numbers of fields found.
51
  A vector with the numbers of fields found.
45
}
52
}
46
\seealso{
53
\seealso{