@AnandaMahto가 작성한 here에서 다음 코드를 가져 왔습니다. 이 함수는 이전에는 문제가 없었지만 R 3.1.1
및 knitr 1.6.10
으로 작업을 중단하십시오. 어떤 도움을 주시면 감사하겠습니다. 임시 해결책으로 감사helpExtract 함수가 R 3.1.1 및 knitr 1.6.10에서 작동하지 않습니다.
\documentclass{article}
\begin{document}
<<echo=FALSE>>=
library(devtools)
source_gist("https://gist.github.com/mrdwab/7586769")
@
\Sexpr{knit_child(textConnection(helpExtract(cor, section="Arg", type = "s_text")),
options = list(tidy = FALSE, eval = FALSE))}
\Sexpr{knit_child(textConnection(helpExtract(cor, type = "s_code")),
options = list(tidy = FALSE, eval = FALSE))}
<<tidy=TRUE>>=
## normal R code
args(lm)
@
\end{document}
@AnandaMahto가 해결책이 있는지 보겠습니다. – MYaseen208
이상한. 함수의 내용이 줄 단위로 실행되면 예상되는 내용이 출력되는 것 같습니다. – A5C1D2H2I1M1N2O1R2T1
@AnandaMahto : 효과가 있습니까? – MYaseen208