2024-04-27 20:49:31 发布
网友
操作系统:Ubuntu 17.10
在Knitr升级到1.20版之后,我所有的Python代码在latex中都不再工作了
首先,我必须安装“网状”
这就完成了任务,但是输出缺少所有的空行(我的学生很难读懂)
然后再说一遍:echo=-c(1,2)除了echo=F之外不起作用
echo=-c(1,2)
echo=F
这只涉及作为引擎使用Python,而不是R
如有任何建议,将不胜感激
Ps:另一个问题:引擎Python不喜欢代码中的某个地方
相关发行说明如下:https://github.com/yihui/knitr/releases/tag/v1.18具体如下:
[...] if you want the old behavior (new session for each Python code chunk), you can set the chunk option python.reticulate = FALSE
python.reticulate = FALSE
相关发行说明如下:https://github.com/yihui/knitr/releases/tag/v1.18具体如下:
相关问题 更多 >
编程相关推荐