KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to remove a parenthesis from a string in R and run into the following error: string <- "log(M)" gsub("log", "", string) # Works just fine gsub("log(", "", string) #breaks # Error in gsub("log(", "", test) : # invalid regular expression 'log(', reason 'Missing ')''
Tags (comma-separated)
Save Edits
Cancel