Only doing processing in R