在r中,我如何将filepaths写入文本文档作为单击链接

发布于 2025-01-22 22:07:32 字数 144 浏览 0 评论 0原文

由文件路径组成的输出

我有一个 c:/users/lauren/documents/logs/,

但它以纯文本而存在,而不是指向文件夹的链接。如何将链接编码到正在编写的输出中?任何输出都可以,但是我最初选择Excel具有一列的filepath。

I have an output consisting of file paths but I'd like to be able to click on them and have my file explorer open

For instance, this text is in a document
C:/Users/lauren/Documents/logs/

But it exists as plain text, not as a link to the folder. How would I encode a link into the output I'm writing? Any output is fine but I chose excel initially to have a column of filepaths.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文