# Input file name
input <- system.file("files/sids.dbc", package = "read.dbc")
# Output file name
output <- tempfile(fileext = ".dbc")
# The call returns TRUE on success
if( dbc2dbf(input.file = input, output.file = output) ) {
print("File decompressed!")
# do things with the file
}
file.remove(output) # clean up example, don't do in real life :)
Run the code above in your browser using DataLab