sqlSave function causes R Studio to crash

library(RRWE)
conn<-rweConnect("balakra6")
sample_data<-sqlQuery(conn,"select * from balakra6.sample1")
sample_data
sqlSave(conn,sample_data,table_name = "balakra6.sample2")

where RRWE is a custom library, balakra6 is the database name and sample1 and sample2 are tables