楼主: oliyiyi
1151 1

You can now extend RStudio with add-ins [推广有奖]

版主

已卖:2997份资源

泰斗

1%

还不是VIP/贵宾

-

TA的文库  其他...

计量文库

威望
7
论坛币
47300 个
通用积分
31671.3517
学术水平
1454 点
热心指数
1573 点
信用等级
1364 点
经验
384134 点
帖子
9629
精华
66
在线时间
5508 小时
注册时间
2007-5-21
最后登录
2025-7-8

初级学术勋章 初级热心勋章 初级信用勋章 中级信用勋章 中级学术勋章 中级热心勋章 高级热心勋章 高级学术勋章 高级信用勋章 特级热心勋章 特级学术勋章 特级信用勋章

楼主
oliyiyi 发表于 2016-2-13 09:02:09 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

The latest update to RStudio, the cross-platform open-source integrated development environment for the R language from the team at RStudio, adds many new features for R developers. But perhaps the most significant update is one which allows R developers to add their own new features to RStudio: add-ins.

RStudio Add-ins appear under the new "Add-ins" menu in the RStudio toolbar. The menu is (a little sadly) empty by default, but you can your own new menu items to implement custom keyboard shortcuts, insert "snippets" of R code, or in fact do anything that R itself can do. For example, this add-in makes it easy to apply the "formatR" function from the tidyr package to clean up the R code in the current script file.


[color=rgb(255, 255, 255) !important]


To create your own add-ins for RStudio, you'll need to write an R package to contain the R functions called by the menu item, and then register the package as an add-in in a file called addins.dcf. (If you're new to writing R packages, check out this guide by Hilary Parker.) For basic things like keyboard shortcuts a simple R function call is all you need, but you can also create a user interface for your add-in (like the one seen above) using Shiny Gadgets, a variant of Shiny apps designed for use within RStudio itself. Again, only R code is needed here.

RStudio v0.99.878 also brings a number of other new features, including the ability to edit multiple source files simultaneously in tear-off windows, and — yay! — Emacs keybindings. (On a personal note, it's sweet to see some of the command keystrokes I introduced with S-mode back in the day get a second wind in RStudio.) Follow the link below for more details on this latest update.

RStudio blog: New Release of RStudio (v0.99.878)


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:RStudio Add-in Extend Studio tend default features keyboard perhaps appear

缺少币币的网友请访问有奖回帖集合
https://bbs.pinggu.org/thread-3990750-1-1.html

沙发
fumingxu 发表于 2016-2-13 09:36:43
好专业

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-16 16:52