Welcome in the forum
I have vacant ranger houses or farms. How do I increase the number of rangers or farmers ?
By building a toolsmith who creates tools. Many new workers need tools. You can set economy settings of tools to zero, then the smith will only produce tools which are needed currently.
My game is well developed as I have 613 carriers, 45 soldiers, 11 lumberjacks, 9 master miners, but only 8 rangers and 6 farmers.
I have 1392 logs and 152 wheat in stock. Does that prevent more rangers and farmers ?
No, but this a lot, so you do not really need more rangers, and for some time not more farmers neither.
“It's a threat to our planet to believe that someone else will save it.” - Robert Swan