I am new to R and I have a dataframe that has a character class column with the following format:
> head(unique(season_advanced_stats$Player))
[1] "alex abrines\\abrinal01" "quincy acy\\acyqu01" "steven adams\\adamsst01"
[4] "arron afflalo\\afflaar01" "alexis ajinca\\ajincal01" "cole aldrich\\aldrico01"
I was trying to use gsub but Rstudio kept outputing the "+" symbol everytime I entered the following code indicating that I haven't finished something:
season_advanced_stats$Player = gsub('\', '', season_advanced_stats$Player)
If anyone can help me figure out how to properly use gsub so only players names are remaining I'd appreciate it!