The R Project SVN R

Rev

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

Rev 90214 Rev 90241
Line 3... Line 3...
3
% Copyright 1995-2025 R Core Team
3
% Copyright 1995-2025 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{aspell}
6
\name{aspell}
7
\alias{aspell}
7
\alias{aspell}
-
 
8
\alias{aspell_filter_db}
8
\title{Spell Check Interface}
9
\title{Spell Check Interface}
9
\description{
10
\description{
10
  Spell check given files via Aspell, Hunspell or Ispell.
11
  Spell check given files via Aspell, Hunspell or Ispell.
11
}
12
}
12
\usage{
13
\usage{
13
aspell(files, filter, control = list(), encoding = "unknown",
14
aspell(files, filter, control = list(), encoding = "unknown",
14
       program = NULL, dictionaries = character())
15
       program = NULL, dictionaries = character())
-
 
16
 
-
 
17
aspell_filter_db
15
}
18
}
16
\arguments{
19
\arguments{
17
  \item{files}{a character vector with the names of files to be checked.}
20
  \item{files}{a character vector with the names of files to be checked.}
18
  \item{filter}{an optional filter for processing the files before spell
21
  \item{filter}{an optional filter for processing the files before spell
19
    checking, given as either a function (with formals \code{ifile} and
22
    checking, given as either a function (with formals \code{ifile} and
Line 99... Line 102...
99
  Argument \code{before} can be used to specify a function to be called
102
  Argument \code{before} can be used to specify a function to be called
100
  for pre-processing the LaTeX source before calling the parser.
103
  for pre-processing the LaTeX source before calling the parser.
101
  All other arguments given to the filter are passed to the parser,
104
  All other arguments given to the filter are passed to the parser,
102
  which can be used in particular to customize the names of the commands
105
  which can be used in particular to customize the names of the commands
103
  and environments holding verbatim text.
106
  and environments holding verbatim text.
-
 
107
 
-
 
108
  \code{aspell_filter_db} is an environment containing all available
-
 
109
  built-in filters.
104
  
110
  
105
  The print method for the objects returned by \code{aspell} has an
111
  The print method for the objects returned by \code{aspell} has an
106
  \code{indent} argument controlling the indentation of the positions of
112
  \code{indent} argument controlling the indentation of the positions of
107
  possibly misspelled words.  The default is 2; Emacs users may find it
113
  possibly misspelled words.  The default is 2; Emacs users may find it
108
  useful to use an indentation of 0 and visit output in grep-mode.  It
114
  useful to use an indentation of 0 and visit output in grep-mode.  It