Closed baderstine closed 2 weeks ago
@baderstine Thank you for raising this! I can't reproduce this, though. Can you provide a minimal example of an R Markdown file that causes the failure? It'll help with trying to reproduce, in case I'm not using the code in a way that causes the problem.
I just updated to RStudio version 2024.04.1 Build 748 and that seemed to fix it. Nevermind!
@baderstine That's great! Though if the problem returns, please let us know.
ah no, this is actually just me being an idiot (PEBCAK). If you try to use keyboard shortcuts for almost everything, you can get tripped up...
Steps to reproduce (On a Mac):
What i should have done in step 5 is hit tab a few more times to move selection over to the "replace" button and then hit enter.
@baderstine Ah! Honestly, I'm sure that I've done the same, too. 🙂
Also, TIL the acronym PEBCAK.
System details
Steps to reproduce the problem
In a .Rmd file containing a gsub function call.
e.g.,
gsub("blah","","sdfoiwje")
In "Source" view, Edit > Replace and Find Search for "," and attempt to replace it with ", " (i.e., add a space after the comma).
Describe the problem in detail
When you click replace, it doesn't actually change anything.
Describe the behavior you expected
I would expect this code to become:
gsub("blah", "", "sdfoiwje")