Hi again :-) I finally was able to fix the program, thank you all very much for your help :-) Now I have a problem and I don?t know if it is possible to solve it with R, I have a data set, and because it is data from salaries I am suspecting it comes from a Pareto distribution, my questions are: 1. Is there any test of hypothesis in R to prove if data comes from a Pareto distribution? 2. How could I estimate the parameters with R? are there any functions for this? Thank you very much again :) Carlos -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.