I am just now seeing your question here, if you are still monitoring it at all. I will however answer. I delve into stringr and regex on occasion. It is not something I use every day, even though it is so extremely useful in data cleaning. Remembering regex is and will always be problematic. Regex is harder than organic chemistry which is no piece of cake!
I still prefer using paste for the task described, glue approach has more cons (dependency) than pros (readability). Though I have used glue in a more useful way, e.g. putting R variables into SQL chunk
How much do you work with strings in R? Is this something you would like to learn more about? Let me know what you struggle with!
I am just now seeing your question here, if you are still monitoring it at all. I will however answer. I delve into stringr and regex on occasion. It is not something I use every day, even though it is so extremely useful in data cleaning. Remembering regex is and will always be problematic. Regex is harder than organic chemistry which is no piece of cake!
library(glue)
a = "Thank you"
b = "Pat"
glue ('{a} {b}, A GREAT Mentor ')
🤓 ah gee whiz. Thanks!
Thank you for this content, I am learning a lot with your videos!!!!!
Wonderful - thanks for watching!
excellent tip! I This will definitely come handy for my thesis.
Wonderful! Glad you got something out of the video
Pat - I think glue is not part of tidyverse core packages but has to be loaded separately.
A nifty tip! Thanks!
You bet!
I still prefer using paste for the task described, glue approach has more cons (dependency) than pros (readability). Though I have used glue in a more useful way, e.g. putting R variables into SQL chunk
C'mon. Tell us how you **really** feel about PCoA. ;)
Another great video! Looking forward to trying out glue.
Well considering one of my top watched videos shows how to make stacked bar charts maybe I need be more ranty 😂