load.furniture.Rd
Load furniture for a given model.
load.furniture(model.name, path, file.name)
the name given to the model used to store log information
list of useful paths
list of useful file.names
a data.frame of furnitures present in the model. If the file furniture.csv does not yet exist, return NULL. Some tries are made on format. First, 'furniture.csv' is supposed to be readable by utils::read.csv2, if not it is supposed to be readable by utils::read.csv. If not, an error is returned. User is asked to manage format on his own. Some tries are made on encoding. First, 'furniture.csv' is supposed to be encoded in UTF-8. If this try makes some error, another try is made in ISO-8859-15. If this second try does not work, an error is returned. User is asked to manage encoding on his own.
if (FALSE) {
load.furniture("test", update.path(path, init.create.path("dwelling"), "test"), update.file.name(init.file.name(), "test"))
}