gpt4 book ai didi

r - 图像无法出现在 .Rpres 中

转载 作者:行者123 更新时间:2023-12-04 09:35:01 26 4
gpt4 key购买 nike

在探索 Rstudio 演示文稿时,我遇到了一个可能很简单但令人烦恼的问题,我的搜索没有解决。简而言之,导入到我的演示文稿中的图像没有出现;只有带有 alt 文本的框才可以。在 Rmarkdown 文件中进行相同的导入,图像就会出现。我正在运行 OSX 10.9.5 和 RStudio 0.98.1091。代码示例如下:

这个 .Rmd 显示我的图像:

---
title: "Another Try"
author: "Me"
date: "today"
output: html_document
---
This is my image.

![my image](/path/to/my/file/myimage.png)

这个 .Rpres 不显示我的图像:

anotherTry
========================================================
author: Me
date: Today

My Image
========================================================

![my image](/path/to/my/file/myimage.png)

最佳答案

以下(在文件 file.Rpres 中)适用于我,使用 rstudio。

Title slide
===========
author: me
date: now

Test slide
==========

Below is a test image

![my image](testimage.png)

screen snapshot

关于r - 图像无法出现在 .Rpres 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27130393/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com