Idle problems are common with RB's and it is normally something as simple as a dirty MAF, fouled plugs or improper wiring. Here is a link to the FSM's, download the one that pertains to your year engine and start investigating. Post up results.
http://www.nicoclub.com/FSM/rb/
1. Check battery voltage at idle as soon as you start it
2. Check grounds
3. Check for ECU codes
4. What is the Vacuum reading at idle?
5. Use the FSM to check the coil packs for proper resistance
6. Make sure the TPS is calibrated correctly
7. Make sure your MAF's are clean
8. Make sure the Idle Air Control Valve is clean and working properly as well
9. Use the FSM to properly adjust the idle air screw if none of the above help
10. Make sure that you have NO boost leaks, do a pressure test if you are unable to find anything visually
11. Use the FSM to check the ignitor chip
12. Make sure your plugs are not fouled