It does, there are things like R Studio that solve that problem.