[ESS] File Name Completion

James W. MacDonald jmacdon at med.umich.edu
Thu Oct 4 14:59:14 CEST 2007


Did you actually read everything Deepayan wrote? I think maybe you saw 
the part at the top where he says that rcompgen is disabled by default. 
However, did you read the part near the bottom where he shows how to 
enable it?

Ronaldo Reis Junior wrote:
> Em Qua 03 Out 2007, James W. MacDonald escreveu:
>> This question was asked by me and answered by Deepayan Sarkar in July of
>> this year - a thread in which you took part, but you must have missed
>> the answer...
>>
>> https://stat.ethz.ch/pipermail/ess-help/2007-July/004195.html
>>
>> Best,
>>
>> Jim
>>
>> Ronaldo Reis Junior wrote:
>>> Hi,
>>> sorry by this recursive message. But, I dont find my solution yet.
>>>
>>> In my Emacs+ESS, file name completions work, but it put all path in my
>>> code, like this:
>>>
>>> scan("test[TAB]")
>>>
>>> is completed in this way:
>>>
>>> scan("/home/ronaldo/R/test.R")
>>>
>>> but I working in this directory, also it is more beautiful to put only
>>> "test.R" without the complete pathname.
>>>
>>> Somethink like this:
>>>
>>> scan("test[TAB]")
>>>
>>> is completed in this way:
>>>
>>> scan("test.R")
>>>
>>> because it is on my working directory.
>>>
>>> How to configure this in emacs+ESS
>>>
>>> Thanks
>>> Ronaldo
> 
> Jim,
> 
> Thanks, I try this solution, but I use Linux, this function (rcompgen) is 
> disabled by default on *NIX.
> 
> I think that ESS make this because on XEmacs the completion's behaviour is 
> that. I dont know if the file name completion (not the object or function 
> completion) is a ESS feature or a Emacs feature. I try to find on all emacs 
> configuration how to change the file name completion's behaviour but without 
> success.
> 
> Any idea are welcome.
> 
> Inte
> Ronaldo
> --
>> Prof. Ronaldo Reis Júnior
> |  .''`. UNIMONTES/Depto. Biologia Geral/Lab. de Biologia Computacional
> | : :'  : Campus Universitário Prof. Darcy Ribeiro, Vila Mauricéia
> | `. `'` CP: 126, CEP: 39401-089, Montes Claros - MG - Brasil
> |   `- Fone: (38) 3229-8187 | ronaldo.reis at unimontes.br | chrysopa at gmail.com
> | http://www.ppgcb.unimontes.br/ | ICQ#: 5692561 | LinuxUser#: 205366
> 
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help

-- 
James W. MacDonald, M.S.
Biostatistician
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623




More information about the ESS-help mailing list