The R Project SVN R

Rev

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

Rev 52403 Rev 57136
Line 1... Line 1...
1
## Rd2dvi -*- sh -*-  Convert man pages (*.Rd help files) via LaTeX to DVI/PDF.
1
## Rd2pdf -*- sh -*-  Convert man pages (*.Rd help files) via LaTeX to PDF.
2
 
2
 
3
args=
3
args=
4
while test -n "${1}"; do
4
while test -n "${1}"; do
5
  ## quote each argument here, unquote in R code.
5
  ## quote each argument here, unquote in R code.
6
  args="${args}nextArg${1}"
6
  args="${args}nextArg${1}"
7
  shift
7
  shift
8
done
8
done
9
 
9
 
10
echo 'tools:::..Rd2dvi()' \
10
echo 'tools:::..Rd2pdf()' \
11
| R_DEFAULT_PACKAGES= LC_ALL=C "${R_HOME}/bin/R" \
11
| R_DEFAULT_PACKAGES= LC_ALL=C "${R_HOME}/bin/R" \
12
--vanilla --slave --args ${args}
12
--vanilla --slave --args ${args}