是否有可能获得对R在Emacs ESS code完成类似于在Rstudio可用? [英] Is it possible to get code completion for R in Emacs ESS similar to what is available in Rstudio?

查看:124
本文介绍了是否有可能获得对R在Emacs ESS code完成类似于在Rstudio可用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Rstudio有一个伟大的code完成功能。它提供了与给定字符串开头的功能,以及功能和参数定义的快速视图。

Rstudio has a great code completion feature. It provides a quick view of functions that start with a given string, as well as function and parameter definitions.

ESS是足够强大,我熟悉的,并集成到Emacs的,在这里我进行我的大部分工作 - 所以我不敢随便移动,但该功能是让我考虑这种做法。

ESS is powerful enough, familiar to me, and integrated into Emacs, where I conduct most of my work - so I am hesitant to move, but this feature is making me consider such a move.

是否有可能整合这个功能到Emacs ESS?

Is it possible to integrate this feature into Emacs ESS?

有什么与此类似Emacs的ESS?

Is there anything similar to this for Emacs ESS?

任何希望,将有(如果有的话,我怎么可能支持这种努力?)

Any hope that there will be (and if so, how could I support such an effort?)

推荐答案

您做得到的完成得益于rcompgen包由Deepayan(现在的提升为基础r,按utils软件包的一部分)。所以,当我键入

You do get the completion thanks to the rcompgen package by Deepayan (now "promoted" into base R as part of the utils package). So when I type

lm(

和命中TAB一个新的缓冲区中打开它得到我上面的窗口的左侧:可用的选项手头的功能。我不认为你可以显示直接的帮助,虽然。

and hit TAB a new buffer opens which gets me the left-hand side of your window above: the available options to the function at hand. I don't think you can show the help directly though.

有/也是一个办法打字,但我已经forgottten如何/在哪里的导通。当获得在小缓冲区上下文相关帮助

There is / was also a way to get context-sensitive help in the mini-buffer when typing but I have forgottten how/where that gets turned on.

这篇关于是否有可能获得对R在Emacs ESS code完成类似于在Rstudio可用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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