'Filtering out Special Characters and Numbers in R
I'm new in R and I'm working on a chips manufacturer project. I got a data frame containing names of products and I'll like to filter out special characters and numbers.
Here's what the column looks like Natural Chip Company SeaSalt175g, CCs Nacho Cheese 175g, Smiths Crinkle Cut Chips Chicken 170g, Smiths Chip Thinly S/Cream&Onion 175g, Kettle Tortilla ChpsHny&Jlpno Chili 150g
Tried using the gsup gsub("[[:punct:]]", " ", x) but didn't work. I've got the following error message : assertion 'tree->num_tags == num_tags' failed in executing regexp: file 'tre-compile.c', line 634
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
