This function is a wrapper function around the functions read_BIN2R and write_RLum2CSV and it imports a Risoe BIN-file and directly exports its content to CSV-files. If nothing is set for the argument path
(write_RLum2CSV ) the input folder will become the output folder.
convert_BIN2CSV(file,...)
Arguments
file: character (required ): name of the BIN-file to be converted to CSV-files
...: further arguments that will be passed to the function read_BIN2R and write_RLum2CSV
Returns
The function returns either a CSV-file (or many of them) or for the option export == FALSE a list comprising objects of type data.frame and matrix
Function version
0.1.0
Examples
##transform Risoe.BINfileData values to a listdata(ExampleData.BINfileData, envir = environment())convert_BIN2CSV(subset(CWOSL.SAR.Data, POSITION ==1), export =FALSE)## Not run:##select your BIN-filefile <- file.choose()##convertconvert_BIN2CSV(file)## End(Not run)
Sebastian Kreutzer, Institute of Geography, Heidelberg University (Germany) , RLum Developer Team
How to cite
Kreutzer, S., 2025. convert_BIN2CSV(): Export Risoe BIN-file(s) to CSV-files. Function version 0.1.0. In: Kreutzer, S., Burow, C., Dietze, M., Fuchs, M.C., Schmidt, C., Fischer, M., Friedrich, J., Mercier, N., Philippe, A., Riedesel, S., Autzen, M., Mittelstrass, D., Gray, H.J., Galharret, J., Colombo, M., Steinbuch, L., Boer, A.d., 2025. Luminescence: Comprehensive Luminescence Dating Data Analysis. R package version 1.0.1. https://r-lum.github.io/Luminescence/