I am trying to fit a gamma distribution to a variable when i have two quantiles:
0.25 = 1508
0.75=2702
I have managed to use get.norm.par(p=c(0.25,0.75),q=c(1508,2702)) for the normal distribution - and have done the log-logisitc, log-normal etc... 
But with the gamma distrubtion it displays this message:
"The fitting procedure 'L-BFGS-B' has failed (convergence error occured or specified tolerance not achieved)!"
I have tried to increase the convergence:
get.gamma.par(p=c(0.25,0.75),q=c(1508,2702)), tol=0.1
but then i get an error message saying:
Error: unexpected ',' in get.gamma.par(p=c(0.25,0.75),q=c(1508,2702)),
 
     
     
    