I'm trying to create a new column with the range of numbers from 0-40 in the total impressions column. 
I'm trying to utilize the ifelse function, if that pertains here. This is what I have so far:
group1 <-rocketfuel[rocketfuel$total_impr==<-ifelse(rocketfuel$total_imp<=40, rocketfuel$tot_impr ]
The goal is to break up the customers into 6 group based on number of impressions, so group 1 will be 0-40 impressions, group 2 will be 41-80 impressions and so on.
Update: Utilizing one of the solutions given below, which is almost exactly what I'm looking for
rocketfuel$group1 <- ifelse(rocketfuel$tot_impr<=40,1,NA)
Instead of the group1 column spitting out the #1, I want it to spit out #21, is that possible?
Figured it out!

ifelseneeds 3 parameters. THe closing)is not there==<-do in your attempt?