Is it possible to contain rename in scope only to one section in R script ?
It select everything, I do not want everything but selected word inside a section only, not in the whole R script.
Do you mean the "Replace and Find" function from RStudio? And to apply it only to the selection (you can always select a single section)?
In that case, yes.
Go to Edit > Find and Replace (Ctrl + Shift + J).
Fill in the "Find" and "Replace" fields.
Then, select the section to apply to, and check the "In selection" box.
Click "All" totally on the right.
Hi, thank you,
I know Ctrl + F but this is not what I want. Rename in scope in fast but selects all instances in the whole document I want to replace in section or in a chunk.
This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.