Conveting CSPro Data to text file in R

Good day house,
I am new to CSpro and R and I need help with a project I am currntly working on.

I have a number of .csdb files that I need to convert and I want do them with a code in R if possible.

This file format might be readable with the hipread package.