In Rstudio auto complete, how to show the first argument of a function when using dplyr :: mutate?

It's nice to see that rstudio understands pipes and does not display the first argument to autocomplete when using the channel %>%. But this causes problems with dplyr::mutate. See for example the screenshot below.

Code example:

iris %>% 
    mutate(gsub("a","A",Species))

enter image description here

I would like to see the argument gsub patternalso in the autocomplete clause when the cursor is immediately after gsub(.

-2
source share
1 answer

When you enter opening parentheses after "gsub", I see that the whole method signature appears like this:

enter image description here

, , , , :

enter image description here

, , : , "Sepal.Length". , , , . 2014 , , . , ( ) .

0

Source: https://habr.com/ru/post/1650223/


All Articles