Is there a way to just build a madifa function in adehabitat just using a .csv file with presences and the corresponding environmental data? I'm trying to model the species distribution of a species using 45 environmental grids and r crashes after loading just 5 of them. I'd like to develop the function and then predict it using a line by line predict function, but can't figure out if you can just build functions in adehabitat without loading entire rasters. Thanks, Helen