Hi, I am not sure if this is an expected behavior, or a bug, or a wrong config on my side, but I am observing the following behavior:
When I open an .R file, the completion works according to what is in the file, so for example, if the file contains library(ggplot2) I will be offered all ggplot variables for the completion, but then I run R using <leader>rf completion no longer works for ggplot, it works only for base R things and it works for ggplot again only after I run the code in the R console. Sorry for a convoluted explanation, I hope it is understandable anyway.