欢迎访问!

Office学习网

您现在的位置是:主页 > 网络技术

网络技术

spacing between input R code and its output · Issue #189 ·

发布时间:2026-10-12网络技术次评论
hi, is it possible to control (reduce) the spacing between input R code and its output? 3 lines of R code within backquotes, such as: 1:10 1:10 1:10 oc

thanks!! this is what i was looking for. i'm a newbie with knitr/slidify and i could not tell whether this was a knitr or a slidify issue. collapsing code and output actually brings another such issues because i'd like disable code coloring in R output and color in gray all R output to make it more distinguishable from input, without using the leading comment '##' or prompt '' which knitr allows one to set. i'd say it looks initially to me as a knitr issue but i guess tuning the coloring should depend on whether output is latex or html5 and。

in the latter, for the purpose of using slidify, i guess i would have to tweak with some custom CSS file in 'assets/css'. do you have some hint about how could i do this? ,。

广告位

热心评论

评论列表