Skip to main content

Code Completion in the RStudio IDE

Comments

7 comments

  • Leon Alexander Barmuta

    Good stuff. Could you please explain the meanings of the different icons? For example, data frames get listed twice the pop-up: once prefixed with the yellow rectangle and once with a box that looks like a worksheet. I presume it doesn't matter which a user chooses - but it could confuse beginners.

    0
  • Mauricio Cornejo

    I second Leon's question. What is the meaning of the different icons used in code-completion?

    0
  • Richard Heitz

    I third the question. It is strange (and annoying) to see every option duplicated.

    0
  • Kevin Ushey

    Hi everyone,

    I've added a simple symbol legend that should help explain what the various icons represent; in addition, the duplication of autocompletion symbols should be addressed in the next RStudio release.

    Thanks!
    Kevin

    0
  • Nick Bailey

    Is it a bug, or am I missing something obvious - my RStudio standalone installation (0.99.486) has stopped giving me auto-complete for data.frame names after the $.

    It used to work fine, but now reports: (No matches)

    Auto-complete still works on my RStudio Server instance (same 0.99.486).

    0
  • Nick Bailey

    Also, take the (sexist?) default "women" data frame, for example.

    I don't think partial DF names should execute, eg:

    women$hei
    [1] 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72

    0
  • Daniel M. Griffith

    One thing that has confused me since this change to autocomplete is function arguments. Is there a way to turn back on the ability to see all of the arguments for a function? For instance, if I am using the format() function and I tab to autocomplete, all I see is the "x" and "..." parameters. However, if I add an "x", like format(x = foo,) and tab after the "," I get 14 more possible parameters. There are also other cases where I get no arguments, usually when there are many variable names in the autocomplete. I really like the RStudio autocomplete, but have been having trouble with it since this change a couple years back. For one, it used to be very easy to see all the variable names and then select one without having to F1 into the documentation. Thanks!

    0

Article is closed for comments.