magclass (version 4.107.0)

copy.magpie: Copy MAgPIE-files

Description

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')

Usage

copy.magpie(input_file, output_file, round = NULL)

Arguments

input_file

file, that should be copied

output_file

copy destination

round

number of digits the values should be rounded, if (AND ONLY IF) file format is changed. NULL means no rounding

See Also

read.magpie,write.magpie

Examples

Run this code
# NOT RUN {
# copy.magpie("bla.csv","blub.mz")

# }

Run the code above in your browser using DataLab