Skip to content
This repository has been archived by the owner on Jan 3, 2018. It is now read-only.

Makefile for converting R Markdown files to Markdown #626

Merged
merged 7 commits into from
Jul 31, 2014

Conversation

jdblischak
Copy link
Contributor

See #524 for discussion. See #598 for my previous attempt.

To observe the effect of these changes, run the following:

make rmarkdown
make clean
make site

And then preview any of the lessons, e.g. _site/novice/r/01-starting-with-data.html. The style should be consistent with the other novice lessons, e.g. _site/novice/python/01-numpy.html.

@jdblischak jdblischak added the R label Jul 24, 2014
@jdblischak
Copy link
Contributor Author

Thanks for all the help, @cboettig, @ramnathv , and @wking. Your suggestions greatly improved this pipeline. I think it is fairly straightforward after what we discussed. It uses knitr hooks to properly label code input and output blocks, and the Makefile knits the file in the directory where the file is located so that the figures are saved in the proper place. If you have time, could you please take a quick look to confirm before I merge this PR?

@gvwilson, I designed this to mirror the build process and the end result that we use for the IPython Notebooks. Is there anything else you can think of to improve the process?

@jdblischak
Copy link
Contributor Author

Thanks to @gvwilson for his review via email.

jdblischak added a commit that referenced this pull request Jul 31, 2014
Makefile for converting R Markdown files to Markdown
@jdblischak jdblischak merged commit c3d0c68 into swcarpentry:master Jul 31, 2014
@gvwilson
Copy link
Contributor

Yay!

@jdblischak jdblischak deleted the display_w_hooks branch July 31, 2014 17:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants