An R script which contains a cellular model for dune dynamics modeling in the context of variable wind regime.