SCM

SCM Repository

[tm] Diff of /pkg/R/complete.R
ViewVC logotype

Diff of /pkg/R/complete.R

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1444, Mon Aug 22 11:50:13 2016 UTC revision 1445, Sun Oct 9 09:30:58 2016 UTC
# Line 41  Line 41 
41                 }), x)                 }), x)
42             },             },
43             shortest = {             shortest = {
44                 ordering <- lapply(possibleCompletions, function(x) order(nchar(x)))                 ordering <- lapply(possibleCompletions,
45                                      function(x) order(nchar(x)))
46                 possibleCompletions <-                 possibleCompletions <-
47                     mapply(function(x, id) x[id], possibleCompletions,                     mapply(function(x, id) x[id], possibleCompletions,
48                            ordering, SIMPLIFY = FALSE)                            ordering, SIMPLIFY = FALSE)

Legend:
Removed from v.1444  
changed lines
  Added in v.1445

R-Forge@R-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business University of Wisconsin - Madison Powered By FusionForge