Is there any syntax in R that allows a "switch"-type condition to be used? switch(variable){ case CONSTANT_VALUE; break; default: break; } Thanks, Jason