elizabethng / predator-diets

Code used to perform the analyses in "Predator stomach contents can provide accurate indices of prey biomass"
https://academic.oup.com/icesjms/article/78/3/1146/6145864
0 stars 0 forks source link

Change how VAST output objects are saved #27

Closed elizabethng closed 5 years ago

elizabethng commented 5 years ago

Perhaps use .rds or some other format so I don't have to load the entire list of output from Save or Report into the environment.

elizabethng commented 5 years ago

Change everything that uses save() to saveRDS so I can load individual objects.

elizabethng commented 5 years ago

Saved spatial information as RDS, reviewed other stuff and it seems fine in a list. Can always split out individual things that I access a lot at a later time. See https://github.com/elizabethng/predator-diets/commit/ce50bf339e20849c1d4354768b4303f3f6309748 for changes.