powered by
This function copies MAgPIE-files from one location to another. During the copying it is also possible to change the file type (e.g. from 'mz' to 'csv')
copy.magpie(input_file, output_file, round = NULL)
file, that should be copied
copy destination
number of digits the values should be rounded, if (AND ONLY IF) file format is changed. NULL means no rounding
read.magpie,write.magpie
read.magpie
write.magpie
# NOT RUN { # copy.magpie("bla.csv","blub.mz") # }
Run the code above in your browser using DataLab