在输出到LaTeX的组织模式下打印R输出并且不打印R代码

问题描述

在名为javafx.scene.input.KeyEvent的文件中有以下内容

from skimage import filters
from skimage.filters import threshold_otsu
from skimage import io as skimage_io # So as not to clash with builtin io

dir = r"image_path/a.jpg"

img = skimage_io.imread(dir,as_gray=True,plugin='imageio')
blurred = filters.gaussian(img,sigma=2.0)
sobel = filters.sobel_h(blurred)
blurred += sobel
blurred += sobel
thresh = threshold_otsu(blurred)
# skimage_io.imshow(blurred)
print(thresh)
binary = img < thresh-0.1
skimage_io.imshow(binary)

我要在此文档上运行LaTeX并将其导出为PDF。我想取消输入,仅在PDF中打印输出。我不知道需要传递给代码块的参数。有人可以帮忙吗?另外,如果您在文档中找到此内容,请告诉我在哪里可以阅读。

编辑: 通过执行以下操作,我可以得到接近我想要的东西:

test.org

但是,是否可以在不使用#+begin_src R :session mod = lm(disp ~ cyl,data = mtcars) summary(mod) #+end_src 的情况下实现此目标,或者这是组织模式的局限性?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...