Spatial information on the location of crops is key to inform agricultural policies, and are an important input for global and national land use change models. The global crop distribution maps produced with the Spatial Production Allocation Model (SPAM) are widely used by researchers, policy makers and business for this purpose. SPAM uses a downscaling approach to allocate national and subnational crop statistics to a 5 arc minutes grid, informed and constrained by spatial information on biophysical and socio-economic drivers. This study introduces the R mapspamc package that allows users to create crop distribution maps for single countries using the SPAM cross-entropy crop allocation algorithm as well as an alternative approach to create maps at higher spatial resolution. It presents a six-step approach and a detailed example for Malawi to illustrate how the package can be used and what type of outcomes can be produced.