如何在 Rstudio 中快速在几个单词周围加上引号? [英] How to put quotes around several words quickly in Rstudio?

查看:137
本文介绍了如何在 Rstudio 中快速在几个单词周围加上引号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将 MI、ID、FL 转换为MI"、ID"、FL",而不必键入每个双引号?

How to I make MI, ID, FL, into "MI", "ID", "FL" without having to type every single double quote?

推荐答案

您可能想查看 datapasta 包!

You may want to check out the datapasta package!

如果您按照链接小插图的使用 vector_paste() 将列表粘贴为水平向量" 下的说明进行操作,您将能够输入诸如 MI、ID、FL 之类的内容 剪切它,然后使用指定的键盘快捷键,例如 shift + cmd + v,将其粘贴到 c("MI", "ID", "FL").

If you follow directions under "Pasting a list as a horizontal vector with vector_paste()" of the linked vignette, you'll be able to type something like MI, ID, FL cut it and then use an assigned keyboard shortcut, say shift + cmd + v, to paste it into c("MI", "ID", "FL").

这篇关于如何在 Rstudio 中快速在几个单词周围加上引号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆