Check if entry is not numeric
not.numeric(x)
x
vector entry
a boolean value to indicate if entry is numeric
not.numeric("45") # TRUE not.numeric(45) # FALSE if(not.numeric(45)) message("yes") # yes