Karthik Ram (@_inundata)

Yay Area / ✈ in transit

This is an off-site archive of all tweets posted by @_inundata ever

August 30th, 2011

@mrgunn This should work

library(stringr)
subset(df,str_length(str_trim(y))>0)

via Twitter for Mac in reply to mrgunn

@mrgunn do you then want to remove rows where that var is blank?

via Twitter for iPhone in reply to mrgunn

@mrgunn you need to put a var name before the !
What is the data in that column? numeric? char? If numeric use as.numeric to turn "" to NA

via Twitter for Mac in reply to mrgunn