Knitr不';t似乎没有优雅地整理散列,例如:a<-'#';
如何使用knitr整理代码,包括散列符号Knitr不';t似乎没有优雅地整理散列,例如:a<-'#';,r,knitr,ess,R,Knitr,Ess,如何使用knitr整理代码,包括散列符号 \documentclass{article} \begin{document} <<hash>>= # Set 'a' to an octothorpe or hash sign: a<-'#' @ \end{document} \documentclass{article} \开始{document} = #将“a”设置为八进制或哈希符号: a使用双引号解决了我的问题 \documentclass{article
\documentclass{article}
\begin{document}
<<hash>>=
# Set 'a' to an octothorpe or hash sign:
a<-'#'
@
\end{document}
\documentclass{article}
\开始{document}
=
#将“a”设置为八进制或哈希符号:
a使用双引号解决了我的问题
\documentclass{article}
\begin{document}
<<hash>>=
# Set 'a' to an octothorpe or hash sign:
a<-"#"
@
\end{document}
\documentclass{article}
\开始{document}
=
#将“a”设置为八进制或哈希符号:
aThis已通过Github上最新版本的Format修复:
\documentclass{article}
\begin{document}
<<hash>>=
# Set 'a' to an octothorpe or hash sign:
a<-"#"
@
\end{document}