Skip to content

Commit 07e1d42

Browse files
fixes #81
1 parent b0743b4 commit 07e1d42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/readAxivity.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ readAxivity = function(filename, start = 0, end = 0, progressBar = FALSE, desire
361361
stop("At least file must be specified")
362362
}
363363
# Get file size in data blocks
364-
numDBlocks = round(file.info(filename)$size / blockBytes) - 2
364+
numDBlocks = round(file.size(filename) / blockBytes) - 2
365365
# Open file
366366
fid = file(filename,"rb")
367367
on.exit({

0 commit comments

Comments
 (0)