Quarterly report pursuant to Section 13 or 15(d)

Debt (Details)

v2.4.1.9
Debt (Details) (USD $)
6 Months Ended 3 Months Ended
Jun. 30, 2014
Mar. 31, 2015
Dec. 31, 2014
Sep. 30, 2014
May 31, 2014
Line of Credit Facility [Line Items]          
Line of credit facility, additional borrowing capacity       $ 150,000,000.0rp_LineofCreditFacilityAdditionalBorrowingCapacity  
Revolving credit facility   15,000,000us-gaap_LongTermLineOfCredit 20,000,000us-gaap_LongTermLineOfCredit    
Revolving line of credit facility, available borrowing capacity   185,000,000us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity      
Issuance of letters of credit outstanding, amount   10,000,000us-gaap_LettersOfCreditOutstandingAmount      
Unamortized debt issuance costs   1,200,000us-gaap_UnamortizedDebtIssuanceExpense 1,300,000us-gaap_UnamortizedDebtIssuanceExpense    
Authorized amount of common stock repurchase         75,000,000.0us-gaap_StockRepurchaseProgramAuthorizedAmount1
Value of equipment in hands of employees, consultants, or customers   2,500,000rp_LineofCreditFacilityValueofEquipmentinHandsofEmployeesConsultantsorCustomers      
Aggregate permitted acquisition limit   150,000,000.0rp_LineofCreditFacilityAggregatePermittedAcquisitionLimit      
Additional borrowing capacity under certain conditions   100,000,000.0rp_LineofCreditFacilityAdditionalBorrowingCapacityunderCertainConditions      
Federal Funds Rate          
Line of Credit Facility [Line Items]          
Basis spread on interest rate 0.50%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
/ us-gaap_VariableRateAxis
= us-gaap_FederalFundsEffectiveSwapRateMember
       
LIBOR          
Line of Credit Facility [Line Items]          
Basis spread on interest rate 1.00%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
/ us-gaap_VariableRateAxis
= us-gaap_LondonInterbankOfferedRateLIBORMember
       
LIBOR | Minimum          
Line of Credit Facility [Line Items]          
Basis spread on interest rate 2.00%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
/ us-gaap_RangeAxis
= us-gaap_MinimumMember
/ us-gaap_VariableRateAxis
= us-gaap_LondonInterbankOfferedRateLIBORMember
       
LIBOR | Maximum          
Line of Credit Facility [Line Items]          
Basis spread on interest rate 2.50%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
/ us-gaap_RangeAxis
= us-gaap_MaximumMember
/ us-gaap_VariableRateAxis
= us-gaap_LondonInterbankOfferedRateLIBORMember
       
Prime Rate | Minimum          
Line of Credit Facility [Line Items]          
Basis spread on interest rate 0.00%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
/ us-gaap_RangeAxis
= us-gaap_MinimumMember
/ us-gaap_VariableRateAxis
= us-gaap_PrimeRateMember
       
Prime Rate | Maximum          
Line of Credit Facility [Line Items]          
Basis spread on interest rate 0.25%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
/ us-gaap_RangeAxis
= us-gaap_MaximumMember
/ us-gaap_VariableRateAxis
= us-gaap_PrimeRateMember
       
Revolving Credit Facility          
Line of Credit Facility [Line Items]          
Line of credit facility, maximum borrowing capacity 150,000,000.0us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
    200,000,000.0us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
 
Ratio of indebtedness       3.25us-gaap_RatioOfIndebtednessToNetCapital1
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
 
Revolving Credit Facility | Federal Funds Rate          
Line of Credit Facility [Line Items]          
Basis spread on interest rate   0.50%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_VariableRateAxis
= us-gaap_FederalFundsEffectiveSwapRateMember
     
Revolving Credit Facility | LIBOR          
Line of Credit Facility [Line Items]          
Basis spread on interest rate   1.00%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_VariableRateAxis
= us-gaap_LondonInterbankOfferedRateLIBORMember
     
Revolving Credit Facility | LIBOR | Minimum          
Line of Credit Facility [Line Items]          
Basis spread on interest rate   1.25%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_RangeAxis
= us-gaap_MinimumMember
/ us-gaap_VariableRateAxis
= us-gaap_LondonInterbankOfferedRateLIBORMember
     
Revolving Credit Facility | LIBOR | Maximum          
Line of Credit Facility [Line Items]          
Basis spread on interest rate   1.75%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_RangeAxis
= us-gaap_MaximumMember
/ us-gaap_VariableRateAxis
= us-gaap_LondonInterbankOfferedRateLIBORMember
     
Revolving Credit Facility | Base Rate | Minimum          
Line of Credit Facility [Line Items]          
Basis spread on interest rate   0.25%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_RangeAxis
= us-gaap_MinimumMember
/ us-gaap_VariableRateAxis
= us-gaap_BaseRateMember
     
Revolving Credit Facility | Base Rate | Maximum          
Line of Credit Facility [Line Items]          
Basis spread on interest rate   0.75%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
/ us-gaap_CreditFacilityAxis
= us-gaap_RevolvingCreditFacilityMember
/ us-gaap_RangeAxis
= us-gaap_MaximumMember
/ us-gaap_VariableRateAxis
= us-gaap_BaseRateMember
     
Standby Letters of Credit          
Line of Credit Facility [Line Items]          
Sub limit for issuance of letters of credit 10,000,000.0rp_SublimitForIssuanceOfLettersOfCredit
/ us-gaap_CreditFacilityAxis
= us-gaap_StandbyLettersOfCreditMember
    10,000,000.0rp_SublimitForIssuanceOfLettersOfCredit
/ us-gaap_CreditFacilityAxis
= us-gaap_StandbyLettersOfCreditMember
 
Swingline Loan          
Line of Credit Facility [Line Items]          
Sub limit for issuance of letters of credit       $ 20,000,000.0rp_SublimitForIssuanceOfLettersOfCredit
/ us-gaap_CreditFacilityAxis
= rp_SwinglineLoanMember