The follwing link should resolve the problem. It worked for me. http://stackover...
The software outputs a binary .brir file. You may read it using the readbrir fun...