[ESS] Following setwd() to a new place
A.J. Rossini
blindglobe at gmail.com
Mon Jan 3 11:24:37 CET 2005
To follow up, ESC-TAB and C-c TAB work for file and object
completion, respectively -- and the issue would be changing the local
file reference starting point as appropriate.
best,
-tony
On Mon, 3 Jan 2005 11:08:46 +0100, A.J. Rossini <blindglobe at gmail.com> wrote:
> Stephen -
>
> Note that ESS does both object and filename completion for R processes
> -- i.e. you can get appropriate completion on
> source("/path/to/file/that/I/have/forgotte
>
> (don't ask me how right now, I'm not ESS accessible at the moment).
>
> Usually, <TAB> and C-c <TAB> do different things, if I recall correctly.
>
> best,
> -tony
>
>
> On Mon, 3 Jan 2005 09:35:50 +0000, Stephen Eglen
> <S.J.Eglen at damtp.cam.ac.uk> wrote:
> > hi Henrik,
> >
> > > When I start ESS (M-x R) it asks me which folder to start in. But then I
> > > do a setwd() to somewhere else because I start on something else, and
> > > when I try filename completion ESS still thinks I am in the folder I
> > > started in,
> >
> > What form of file completion are you referring to here? C-x C-f?
> >
> > e.g. if i am currently in an *R* buffer, and I do C-x C-f, find-file
> > thinks that I am in my home directory ~ say. If I then do
> > setwd("/tmp")
> >
> > and try another C-x C-f, I am still in the home directory -- whereas I
> > think you would like it to be /tmp.
> >
> >
> > > is there a solution to this little annoyance, except restarting
> > > ESS?
> >
> > Automatic directory syncing might be tricky, but it may not be too
> > hard to get something working manually. *shell* buffers can be kept
> > in sync using M-x shell-resync-dirs.
> >
> > Stephen
> >
> > ______________________________________________
> > ESS-help at stat.math.ethz.ch mailing list
> > https://stat.ethz.ch/mailman/listinfo/ess-help
> >
>
>
> --
>
> best,
> -tony
>
> ---
> A.J. Rossini
> blindglobe at gmail.com
>
--
best,
-tony
---
A.J. Rossini
blindglobe at gmail.com
More information about the ESS-help
mailing list