mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 22:06:15 +00:00
b88154ef6f
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39644 a592a061-630c-0410-9148-cb99ea01b6c8
17 lines
377 B
R
17 lines
377 B
R
## file lyxstangle.R
|
|
## This file is part of LyX, the document processor.
|
|
## Licence details can be found in the file COPYING.
|
|
|
|
## author Yihui Xie
|
|
|
|
## Full author contact details are available in file CREDITS
|
|
|
|
## Rscript $$s/scripts/lyxstangle.R $$i $$e $$r
|
|
|
|
.cmdargs = commandArgs(TRUE)
|
|
|
|
options(encoding = .cmdargs[2])
|
|
|
|
## run Stangle to extract R code
|
|
Stangle(.cmdargs[1])
|