Bug 380686 - Path completion confusion
Summary: Path completion confusion
Status: RESOLVED FIXED
Alias: None
Product: rkward
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified All
: NOR normal
Target Milestone: ---
Assignee: RKWard Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-18 07:29 UTC by RKWard Team
Modified: 2007-04-18 13:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RKWard Team 2007-04-18 07:29:10 UTC
-- Originally posted by (AT sourceforge.net): j_graumann --

-- This ticket was imported from http://sourceforge.net/p/rkward/bugs/16 on 2017-05-30 15:26:38 +0100 --
This is 0.4.7-2 from the \*.deb distributed here on Debian unstable.
I'm very pleased that path completion is now available in the R shell, but I find it a bit confusing. Please consider the following example:

Directory root
\
\--Dir1
\
\--Script.R
|
\--Dir2

Now fire up rkward at the directory root. When calling 'setwd\(\)' path completion will help you to navigate to "Dir1/Dir2". 'getwd\(\)' now results in 'root/Dir1/Dir2', as expected. Now I want to 'source\(\)' 'Script.R' and this is where the trouble starts. While the R console in rkward requires 'source\("../Script.R"\)' to do what I want, path completion doesn't play along: it only offers options startin in the directory root where I started rkward. In my opinion, this is a bug and path completion should consider R's wd as its starting point.

Additionally consider the case of two script files script1.R and script2.R. Path completion will upon entering "scr" offer you the two options, but I would appreciate it, if it could also extend the possible path to the maximum of identical characters: "script" in this case - makes working with it much faster.
-- Labels: user interface --
Comment 1 Thomas Friedrichsmeier 2007-04-18 13:26:39 UTC
Logged In: YES 
user\_id=300591
Originator: NO

Both should now be fixed in the current development version \(see http://rkward.sourceforge.net/wiki/index.php?title=RKWard\_SVN , if you'd like to give it a try\).

Thanks for reporting\!
Comment 2 Thomas Friedrichsmeier 2007-04-18 13:26:39 UTC
- **assigned_to**: nobody --> tfry
- **status**: open --> closed-fixed