Displaying 1 result from an estimated 1 matches for "r49193".
2009 Aug 20
5
help with regular expressions in R
...the rain in spain)")
gsub('\\[*.\\]', '', myCharVec)
#what I get
# [1] "[the rain in spai" "(the rain in spain)"
#what I want
[1] "" "(the rain in spain)"
> sessionInfo()
R version 2.10.0 Under development (unstable) (2009-08-12 r49193)
x86_64-unknown-linux-gnu
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=C LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT...