Thank you to all who helped me with my previous question regarding random numbers. I have read up on the subject and found a whole new interesting world. I found some code wich I translated into java for my project and now have a few pseudorandom number generators. I was wondering if R had any inbuilt tests for randomness (a birthday-spacings, serial correlation...) or would I need to write my own (in either R or java)? Thanks to all David