I've been DMing with my friends for a couple of sessions on the starter set of D&D 5e. Our first time, I tried to incorporate more role playing, like having people call each other by their character names, and when doing commands, some would sorta shout out to each other in character. This quickly fell apart, and by our second session there was very little. We still have lots of fun, but some players want to have more role play, while others want none. Some would still use their character's name, while others would want to "deflower" dead goblins and slap a ghost's backside.
I don't necessarily want to get anyone to RP any more or any less, but I do want to have these different types all enjoy my game together. What ways have you found to work to let these kinds of players coexist happily?