Skip to content

Conversation

@ProfFancyPants
Copy link

Should the first setup chunk have a backtick closure right after it?

Should the first setup chunk have a backtick closure right after it?
@yihui
Copy link
Owner

yihui commented Jan 30, 2017

That is optional. You don't need to close a code chunk as long as you don't have any text before the next code chunk.

@ProfFancyPants
Copy link
Author

Ahh, I see. Sort of like what HTML does with end brackets? The issue I am have is that Rstudio kicks out an error like this:
delete
I am going through your examples one-by-one trying to understand them, so I am find little stuff like that, or links that are out of service. -- trivial stuff. Also, I have been attempting to debug/browse inside the knit_hooks$set/get parent.env to figure out where some of the knitr "options", etc. are being stored. I am baffled.

sessionInfo()
R version 3.3.2 (2016-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] backports_1.0.5 magrittr_1.5 rsconnect_0.7 rprojroot_1.2
[5] htmltools_0.3.5 tools_3.3.2 Rcpp_0.12.9 stringi_1.1.3
[9] rmarkdown_1.3.9002 knitr_1.15.1 stringr_1.1.0.9000 digest_0.6.12
[13] evaluate_0.10

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants