Robert J. "Rob" Greenberg is an American screenwriter, director and producer. He served as a director for seven episodes on How I Met Your Mother, and he later replaced Pamela Fryman as director onHow I Met Your Dad. He was the creator of the television series,We Are Men, and was a writer of the movie, Meet Dave. His other works include directing the TV movie, Lovelives.