Hi There

I'm not very sure how to replace the stars in a character vector

For example:

a character vector (n rows by 1 col)

[1] "-27  -21  -25    -28****  *****  -29"
[2] "-27  ********     -28****  *****  -29"
.
.
.
.
.
.
[n] "-1***********************************"

I wish to replace all the *s with a blank, result as per below

[1] "-27  -21  -25    -28               -29"
[2] "-27                 -28               -29"
.
.
.
.
.
.
[n] "-1                                            "

I have tried to use gsub( )
like: gsub("*", "", x)
but doesn't seem to be working...please advise

Thank you

Ruby

	[[alternative HTML version deleted]]

