Re: Input an Sweave/knitr chunk via command sequence

2012-11-27 Thread Yihui Xie
Thanks, I'll keep that in mind. Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Tue, Nov 27, 2012 at 12:21 PM, Scott Kostyshak wrote: > On Tue, Nov 27, 2012 at 12:44 PM, Yihui Xie wrote: >>

Re: Input an Sweave/knitr chunk via command sequence

2012-11-27 Thread Scott Kostyshak
On Tue, Nov 27, 2012 at 12:44 PM, Yihui Xie wrote: > This is a solution instead of a question. Over a long I have been > wondering how to input an Sweave chunk template in LyX, i.e. <<>>= and > @. I just figured it out thanks to the hint from Liviu. We can add a > shortcut (Preferences=>Editing=>S

Input an Sweave/knitr chunk via command sequence

2012-11-27 Thread Yihui Xie
This is a solution instead of a question. Over a long I have been wondering how to input an Sweave chunk template in LyX, i.e. <<>>= and @. I just figured it out thanks to the hint from Liviu. We can add a shortcut (Preferences=>Editing=>Shortcuts) with this command sequence (be sure _not_ to inclu