The R Project SVN R

Rev

Rev 68948 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 68948 Rev 80665
Line 1... Line 1...
1
% File src/library/utils/man/sourceutils.Rd
1
% File src/library/utils/man/sourceutils.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 2011-2013 R Core Team
3
% Copyright 2011-2021 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{sourceutils}
6
\name{sourceutils}
7
\alias{getSrcFilename}
7
\alias{getSrcFilename}
8
\alias{getSrcDirectory}
8
\alias{getSrcDirectory}
Line 44... Line 44...
44
  all of them. 
44
  all of them. 
45
 
45
 
46
  The components are as follows:
46
  The components are as follows:
47
  \describe{
47
  \describe{
48
    \item{line}{The line number where the object starts or ends.}
48
    \item{line}{The line number where the object starts or ends.}
49
    \item{column}{The column number where the object starts or ends.}
49
    \item{column}{The column number where the object starts or ends.
-
 
50
      Horizontal tabs are converted to spaces.}
50
    \item{byte}{As for \code{"column"}, but counting bytes, which may
51
    \item{byte}{As for \code{"column"}, but counting bytes, which may
51
      differ in case of multibyte characters.}
52
      differ in case of multibyte characters (and horizontal tabs).}
52
    \item{parse}{As for \code{"line"}, but this ignores \code{#line} directives.}
53
    \item{parse}{As for \code{"line"}, but this ignores \code{#line} directives.}
53
  }
54
  }
54
}
55
}
55
\value{
56
\value{
56
  \code{getSrcFilename} and \code{getSrcDirectory} return character vectors
57
  \code{getSrcFilename} and \code{getSrcDirectory} return character vectors