Hi all,


I get an error message when trying to replace *+* or *?* signs (with empty
space) from a string.

x <- "asdf+,jkl?"

gsub("?", " ", x)


Error message:

Error in
gsub("?", " ", x) :
  invalid regular expression '?'
In addition: Warning message:
In gsub("?", " ", x) :
  regcomp error:  'Invalid preceding regular expression'

Your expertise in resolving this issue would be appreciated.

Thanks.



Steven

	[[alternative HTML version deleted]]


