integer64 type column in dataframe seem to crash my code?

Does this work for you in R, but not in RStudio? (see FAQ below for disambiguation)