In OotP(Ch18) Harry summons the Room of Requirement variant suitable for (secretive) DADA practice; the Room also provides him with various DADA books as well as equipment
"The walls were lined with wooden bookcases and instead of chairs there were large silk cushions on the floor. A set of shelves at the far end of the room carried a range of instruments such as Sneakoscopes, Secrecy Sensors and a large, cracked Foe-Glass that Harry was sure had hung, the previous year, in the fake Moodys office. “These will be good when we’re practicing Stunning, “ said Ron enthusiastically, prodding one of the cushions with his foot. “And just look at these books!” said Hermione excitedly, running a finger along the spines of the large leather-bound tomes. “A Compendium of Common Curses and their Counter-Actions… The Dark Arts Outsmarted… Self-Defensive Spellwork… wow…” She looked around at Harry, her face glowing, and he saw that the presence of hundreds of books had finally convinced Hermione that what they were doing was right. “Harry, this is wonderful, there’s everything we need here!” And without further ado she slid ‘Jinxes for the Jinxed’ from its shelf, sank on to the nearest cushion and began to read."
So, my question is, could the Room of Requirement provide ANY book within the walls of Hogwarts? Maybe even the one from the restricted section? How about the one from professors private libraries? It may be even able to act as a search browser if you really need only book with specific content (like books regarding Horcruxes)