[R] Emacs function argument hints

2010-09-09 Thread Tim Elwell-Sutton
Hi 

I've recently started using Emacs as my text editor for writing R script. 

I am looking for a feature which I have seen on the standard R text editor
for Mac OS. In the Mac OS editor when you start typing a function, the
possible arguments for that function appear at the bottom of the window.
E.g. if you type table(   before you finish typing you can see at the
bottom of the window:

 

table(..., exclude = if (useNA == no) c(NA, NaN), useNA = c(no, 
ifany, always), dnn = list.names(...), deparse.level = 1) 

 

I think this feature may be called function argument hints but I'm not
sure and searching the archive with that term has not produced anything
useful.

Is this feature available in Emacs or any other windows text editor for R?

 

Thanks very much

Tim

 

(Using Windows XP, R 2.11.1, GNU Emacs 23.2.1)

 


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Emacs function argument hints

2010-09-09 Thread Ista Zahn
Hi Tim,
This works out of the box for me, with ESS 5.11 and Emacs 23.1

-Ista

On Thu, Sep 9, 2010 at 4:07 AM, Tim Elwell-Sutton tesut...@hku.hk wrote:
 Hi

 I've recently started using Emacs as my text editor for writing R script.

 I am looking for a feature which I have seen on the standard R text editor
 for Mac OS. In the Mac OS editor when you start typing a function, the
 possible arguments for that function appear at the bottom of the window.
 E.g. if you type table(   before you finish typing you can see at the
 bottom of the window:



 table(..., exclude = if (useNA == no) c(NA, NaN), useNA = c(no,
ifany, always), dnn = list.names(...), deparse.level = 1)



 I think this feature may be called function argument hints but I'm not
 sure and searching the archive with that term has not produced anything
 useful.

 Is this feature available in Emacs or any other windows text editor for R?



 Thanks very much

 Tim



 (Using Windows XP, R 2.11.1, GNU Emacs 23.2.1)




[[alternative HTML version deleted]]

 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.




-- 
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.