Paul E Johnson - 2013-06-05

I dont know why autocomplete fails, but here's a workaround.

  1. Copy "make_R_xml.r" from NPPTOR install folder to a place where you can read write.

  2. Run that file in R. Can either run as batch or open with Notepad++ and step through line by line. That writes out R.xml file

  3. Copy that file into the place where you installed Notepad++. Go find that in C:\Program Files, then put R.xml in the subfolder Notepad++/plugins/APIs.

  4. Close Notepad++, then re-open it with an R file. Make these changes.
    A. Language menu, choose R.
    B. Settings menu, choose "Backup/Auto-completion"

  5. Turn on autocompletion for functions
  6. Turn on Function parameters hint.

Go back to R document. As soon as you start to type function, the hint on completions pops up. Works well! After you hit "(", then a tooltip line appears reminding of the possible arguments.

Cheers!