gpt4 book ai didi

r - 如何将 URL 添加到 R Markdown ?

转载 作者:行者123 更新时间:2023-12-03 07:33:03 25 4
gpt4 key购买 nike

我想引用一个指向 R Markdown 的 URL 链接,并且我已经尝试过诸如“addlink”之类的输入
或“地址 <- ....”
它们都不起作用。
如何在 R markdown 中添加链接?

谢谢!

编辑: op的评论代码是

   {r} [linked phrase] (www.bit.ly/1EqAdIp)

最佳答案

请注意下面@Hao 的回答,这必须在正文中,而不是在代码块中:

来自 this fabulous resource

[I'm an inline-style link](https://www.google.com)

[I'm an inline-style link with title](https://www.google.com "Google's Homepage")

[I'm a reference-style link][Arbitrary case-insensitive reference text]

[I'm a relative reference to a repository file](../blob/master/LICENSE)

[You can use numbers for reference-style link definitions][1]

Or leave it empty and use the [link text itself]

Some text to show that the reference links can follow later.

[arbitrary case-insensitive reference text]: https://www.mozilla.org
[1]: http://slashdot.org
[link text itself]: http://www.reddit.com

关于r - 如何将 URL 添加到 R Markdown ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29787850/

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