Find specific words across files in R

Hi all,

In my R shiny application directory, I have many files, (R and python files). If I need to search any specific word, I go to specific file and find (Ctrl +F). This only searches the word in that file.

But is there a way to find word in any of the files in my directory?


I think the first paragraph in the link below will help

It depends on your version of RStudio I guess


Great and really helpful

You may use xfun::gsub_file function


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.