doc for r prompt