Result of the play is a touchback. A kick is a kick until it is possessed or dead by rule -- K's kick enters the endzone by any means, the play is dead as a touchback. The illegal kick by R does not change the status of the ball as a legal kick by K.
R6 illegally kicked the ball at the R8, and this qualifies as PSK. Since the result of the play is a touchback, the basic spot is the 20, the foul is enforced from the spot of the foul, the R8.
Enforced half the distance to the goal, it will be B's ball 1st and 10 at the B4.