Catalysis of the reaction: D-ribose 1,5-diphosphate + ATP = 5-phospho-alpha-D-ribose 1-diphosphate + ADP + H(+).