Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage the knitr preamble definitions correctly. #11

Open
finlay opened this issue Apr 23, 2014 · 3 comments
Open

Manage the knitr preamble definitions correctly. #11

finlay opened this issue Apr 23, 2014 · 3 comments

Comments

@finlay
Copy link
Member

finlay commented Apr 23, 2014

Knitr output requires a bunch of definitions. These can be included in an included preamble file, or do something cunning in the way we call knit:

 (cd knitr; Rscript -e "library('knitr'); knit('$(<F)')")
@klapaukh
Copy link
Contributor

klapaukh commented May 6, 2014

So I added a knitr.sty file which can be included with \usepackage{knitr}. I don't think I want to make it a standard part of any of the classes as I am not entirely convinced that is totally ok.

@edwardabraham
Copy link
Member

Should it be a dragonfly-knitr package?

On 7 May 2014 09:12, Roma Klapaukh [email protected] wrote:

So I added a knitr.sty file which can be included with \usepackage{knitr}.
I don't think I want to make it a standard part of any of the classes as I
am not entirely convinced that is totally ok.


Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-42359484
.

Edward Abraham
www.dragonfly.co.nz
Dragonfly Science, PO Box 27535, Wellington 6141, New Zealand
Level 5, 158 Victoria Street, Te Aro, Wellington
M: +64 21 989 454
T: +64 4 385 9285

@klapaukh
Copy link
Contributor

I shouldn't be dragonfly-knitr because it isn't related to any of the dragonfly stuff. It is just general knitr stuff so that knitr's output works correctly. Normally knitr will insert it itself into your files, but the build process used here often doesn't allow for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants