Re: branch warnings

2012-10-20 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: Can you check that the following patch helps? Does not seem to help, unfortunately. Jürgen JMarc

Re: Press about LyX

2012-10-20 Thread Jürgen Spitzmüller
Jerry wrote: Who among the LyX developers has the power to edit the press page, http://www.lyx.org/PressAboutLyX? Daniel has written an article about LyX for the HowToAnswer web site and would like to get it linked from the LyX press page. Surely this benefits the LyX community as well. I've

Re: branch warnings

2012-10-20 Thread Jean-Marc Lasgouttes
What error message do you get ? The same ? Jürgen Spitzmüller sp...@lyx.org a écrit : Jean-Marc Lasgouttes wrote: Can you check that the following patch helps? Does not seem to help, unfortunately. Jürgen JMarc

Re: branch warnings

2012-10-20 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: What error message do you get ? The same ? Looks like it: In file included from ./boost/config.hpp:44:0, from libs/regex/src/c_regex_traits.cpp:22: ./boost/config/stdlib/libstdcpp3.hpp:42:0: warning: BOOST_DISABLE_THREADS redefined [enabled by

Re: $$e not set on import -- import of .Rnw (knitr) fails

2012-10-20 Thread Scott Kostyshak
On Fri, Oct 19, 2012 at 5:11 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: Le 18/10/2012 16:19, Scott Kostyshak a écrit : The unchangedConverter.log is here (error): http://paste.debian.net/201557/ So the error happens on export to latex because the encoding is not specified. The

Re: $$e not set on import -- import of .Rnw (knitr) fails

2012-10-20 Thread Yihui Xie
I think it should be easy to ignore the encoding argument if it does not exist, but the problem that confuses me is why importing Rnw is involved with lyxsweave.R or lyxknitr.R. I mean Rnw should be treated as a normal TeX document (the R code should not be executed through Sweave or knitr),

Re: $$e not set on import -- import of .Rnw (knitr) fails

2012-10-20 Thread Scott Kostyshak
On Sat, Oct 20, 2012 at 6:17 PM, Yihui Xie x...@yihui.name wrote: I think it should be easy to ignore the encoding argument if it does not exist, but the problem that confuses me is why importing Rnw is involved with lyxsweave.R or lyxknitr.R. I mean Rnw should be treated as a normal TeX

Re: Noweb/Literate programming Copier problem

2012-10-20 Thread Yihui Xie
I think that should be enough. A pointer to the knitr manual in Help--Specific Manuals--Knitr Manual can be helpful too (I remember Liviu mentioned this once). BTW, can you export knitr.lyx to LyX2.0 format? Just like I did here:

Re: Noweb/Literate programming Copier problem

2012-10-20 Thread Scott Kostyshak
On Sat, Oct 20, 2012 at 6:40 PM, Yihui Xie x...@yihui.name wrote: I think that should be enough. A pointer to the knitr manual in Help--Specific Manuals--Knitr Manual can be helpful too (I remember Liviu mentioned this once). Sure, I can do that. Pavel, is that OK? Trunk only? BTW, can you

Re: Noweb/Literate programming Copier problem

2012-10-20 Thread Yihui Xie
I see. I did not check out the 2.0.x branch. It is indeed 413 there. Thanks! Regards, Yihui -- Yihui Xie xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Sat, Oct 20, 2012 at 5:53 PM, Scott Kostyshak

knitr and Sweave security

2012-10-20 Thread Scott Kostyshak
I do not see knitr and Sweave security discussed anywhere. The Customization guide has 5 paragraphs on security regarding external templates. For example, someone could post a .lyx file asking for help that contains malicious code. I don't always check the list of modules that a document has and

Re: knitr and Sweave security

2012-10-20 Thread Yihui Xie
I do not see an obvious approach to solve this issue except documenting the potential security problem in the manual. It exists in all R-related applications, including R packages. I have seen people collecting keywords like system() and file.remove(), but that is apparently far from a perfect

Re: knitr and Sweave security

2012-10-20 Thread Scott Kostyshak
On Sat, Oct 20, 2012 at 10:18 PM, Yihui Xie x...@yihui.name wrote: I do not see an obvious approach to solve this issue except documenting the potential security problem in the manual. It exists in all R-related applications, including R packages. I have seen people collecting keywords like

Re: knitr and Sweave security

2012-10-20 Thread Yihui Xie
The blacklist-based solution can stop nothing as you showed, so I think we cannot do much except writing it in the documentation. Regards, Yihui -- Yihui Xie xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA

Re: branch warnings

2012-10-20 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > Can you check that the following patch helps? Does not seem to help, unfortunately. Jürgen > JMarc

Re: Press about LyX

2012-10-20 Thread Jürgen Spitzmüller
Jerry wrote: > Who among the LyX developers has the power to edit the press page, > http://www.lyx.org/PressAboutLyX? Daniel has written an article about LyX > for the HowToAnswer web site and would like to get it linked from the LyX > press page. Surely this benefits the LyX community as well.

Re: branch warnings

2012-10-20 Thread Jean-Marc Lasgouttes
What error message do you get ? The same ? "Jürgen Spitzmüller" a écrit : >Jean-Marc Lasgouttes wrote: >> Can you check that the following patch helps? > >Does not seem to help, unfortunately. > >Jürgen > >> JMarc

Re: branch warnings

2012-10-20 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > What error message do you get ? The same ? Looks like it: In file included from ./boost/config.hpp:44:0, from libs/regex/src/c_regex_traits.cpp:22: ./boost/config/stdlib/libstdcpp3.hpp:42:0: warning: "BOOST_DISABLE_THREADS" redefined [enabled by

Re: $$e not set on import --> import of .Rnw (knitr) fails

2012-10-20 Thread Scott Kostyshak
On Fri, Oct 19, 2012 at 5:11 AM, Jean-Marc Lasgouttes wrote: > Le 18/10/2012 16:19, Scott Kostyshak a écrit : > >> The unchangedConverter.log is here (error): >> http://paste.debian.net/201557/ > > > So the error happens on export to latex because the encoding is not >

Re: $$e not set on import --> import of .Rnw (knitr) fails

2012-10-20 Thread Yihui Xie
I think it should be easy to ignore the encoding argument if it does not exist, but the problem that confuses me is why importing Rnw is involved with lyxsweave.R or lyxknitr.R. I mean Rnw should be treated as a normal TeX document (the R code should not be executed through Sweave or knitr),

Re: $$e not set on import --> import of .Rnw (knitr) fails

2012-10-20 Thread Scott Kostyshak
On Sat, Oct 20, 2012 at 6:17 PM, Yihui Xie wrote: > I think it should be easy to ignore the encoding argument if it does > not exist, but the problem that confuses me is why importing Rnw is > involved with lyxsweave.R or lyxknitr.R. I mean Rnw should be treated > as a normal TeX

Re: Noweb/Literate programming Copier problem

2012-10-20 Thread Yihui Xie
I think that should be enough. A pointer to the knitr manual in "Help-->Specific Manuals-->Knitr Manual" can be helpful too (I remember Liviu mentioned this once). BTW, can you export knitr.lyx to LyX2.0 format? Just like I did here:

Re: Noweb/Literate programming Copier problem

2012-10-20 Thread Scott Kostyshak
On Sat, Oct 20, 2012 at 6:40 PM, Yihui Xie wrote: > I think that should be enough. A pointer to the knitr manual in > "Help-->Specific Manuals-->Knitr Manual" can be helpful too (I > remember Liviu mentioned this once). Sure, I can do that. Pavel, is that OK? Trunk only? > BTW,

Re: Noweb/Literate programming Copier problem

2012-10-20 Thread Yihui Xie
I see. I did not check out the 2.0.x branch. It is indeed 413 there. Thanks! Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Sat, Oct 20, 2012 at 5:53 PM, Scott Kostyshak

knitr and Sweave security

2012-10-20 Thread Scott Kostyshak
I do not see knitr and Sweave security discussed anywhere. The Customization guide has 5 paragraphs on security regarding external templates. For example, someone could post a .lyx file asking for help that contains malicious code. I don't always check the list of modules that a document has and

Re: knitr and Sweave security

2012-10-20 Thread Yihui Xie
I do not see an obvious approach to solve this issue except documenting the potential security problem in the manual. It exists in all R-related applications, including R packages. I have seen people collecting keywords like system() and file.remove(), but that is apparently far from a perfect

Re: knitr and Sweave security

2012-10-20 Thread Scott Kostyshak
On Sat, Oct 20, 2012 at 10:18 PM, Yihui Xie wrote: > I do not see an obvious approach to solve this issue except > documenting the potential security problem in the manual. It exists in > all R-related applications, including R packages. I have seen people > collecting keywords

Re: knitr and Sweave security

2012-10-20 Thread Yihui Xie
The blacklist-based solution can stop nothing as you showed, so I think we cannot do much except writing it in the documentation. Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames,