restore R code completions

fixes #1129
properly encapsulate/relay completions to languages