lyx_mirror/lib/scripts/lyxstangle.R
Jean-Marc Lasgouttes b88154ef6f backport r39509 and r39510 to branch (see bug #7555)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39644 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-08 10:44:44 +00:00

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])