-
-
Notifications
You must be signed in to change notification settings - Fork 878
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
process_tangle.block now includes opts.label #812
Conversation
Thanks, but I'm afraid this is unlikely work even though it is a correct thing to do, since the tangle process does not evaluate the R code in a document, which means |
Thanks -- I will take a look at this and see if it meets my needs. Best, On Sun, Jul 20, 2014 at 10:11 AM, Yihui Xie notifications@github.com
Try Enterprise R Now! |
I see the issue now and why my solution was working for my use-case, but Basically, I want to render (and tangle) a document twice, once with some knitr::opts_template$set(solution = list(include=FALSE, purl=FALSE)) where opts.label="solution" for only a subset of code. That seemed to do exactly what I wanted it to do. I could see how if you Thanks again. Also, I apologize for not responding earlier -- i was out of town without -Jeremy On Mon, Aug 4, 2014 at 9:08 AM, Jeremy Reynolds <
Try Enterprise R Now! |
@yihui Calling |
I understand things a bit better now. The |
Lines 126 to 133 in 986da4f
|
We were able to get this solution to work, but I noticed that In order to get consistency, it was necessary to use |
Yes, I think so. |
That behavior is obviously consistent with the behavior of I know you're saying "just use knit to run the code", but it may be inconvenient/unacceptable to share the original Rmd file. |
I understand the frustration, but as I said, it is not trivial for purl() to be entirely consistent with knit(). In my eyes, sharing the original Rmd file looks easier than coming up with a perfect purl(), and it is low priority on my plan. Sorry. |
No need to apologize. You've created a fantastically useful tool. I just Jamie Olson On Fri, Aug 22, 2014 at 3:22 PM, Yihui Xie notifications@github.com wrote:
|
Great. Thanks for the understanding. |
No description provided.