Skip to content

Instantly share code, notes, and snippets.

@nassimhaddad
Created January 26, 2013 18:13
Show Gist options
  • Save nassimhaddad/4643587 to your computer and use it in GitHub Desktop.
Save nassimhaddad/4643587 to your computer and use it in GitHub Desktop.
remove non-ascii characters
# remove non-ascii characters
df$text <- gsub("[^\x20-\x7E]", "", df$text)
@rkp600
Copy link

rkp600 commented Jun 3, 2018

Worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment