buildRawrrExe: Build 'rawrr.exe' console application.

View source: R/dotNetAssembly.R

buildRawrrExeR Documentation

Build rawrr.exe console application.

Description

builds rawrr.exe file from C# source code requiring .NET SDK. The console application rawrr.exe is used by the package's reader functions through a system2 call or a textConnection.

Usage

buildRawrrExe()

Details

The rawrr package implementation consists of two language layers, the top R layer and the hidden C# layer. Specifically, R functions requesting access to data stored in binary raw files invoke compiled C# wrapper methods using a system2 call. Calling a wrapper method typically results in the execution of methods defined in the RawFileReader dynamic link library provided by Thermo Fisher Scientific. Our precompiled wrapper methods are bundled in the rawrr.exe executable file (.NET assembly) and shipped with the released R package. Our package also contains the C# source code rawrr.cs. In order to return extracted data back to the R layer we use file I/O. More specifically, the extracted information is written to a temporary location on the harddrive, read back into memory and parsed into R objects.

Value

the return value of the system2 command.

Author(s)

Tobias Kockmann, Christian Panse <cp@fgcz.ethz.ch>, 2021, 2024

References

See Also

installRawrrExe


fgcz/rawR documentation built on Nov. 8, 2024, 1:30 a.m.