]> git.lyx.org Git - lyx.git/blob - lib/scripts/lyxstangle.R
Additional.lyx: minor fixes.
[lyx.git] / lib / scripts / lyxstangle.R
1 ## file lyxstangle.R
2 ## This file is part of LyX, the document processor.
3 ## Licence details can be found in the file COPYING.
4
5 ## author Yihui Xie
6
7 ## Full author contact details are available in file CREDITS
8
9 ## Rscript $$s/scripts/lyxstangle.R $$i $$e $$r
10
11 .cmdargs = commandArgs(TRUE)
12
13 options(encoding = .cmdargs[2])
14
15 ## run Stangle to extract R code
16 Stangle(.cmdargs[1])