I am trying save a dataframe using the below code:
save(df_Name, file = paste0(folderPath, 'df_Name.RData'))
My dataframe has approx. 1,200,000 rows and 60 columns. The size of .RData file created for the same dataframe with the above code in is different in Windows and Linux. While in Windows, the size of file is approx. 229 MB, in Linux it is 2 GB.
What is the potential reason for this? Is there any workaround for me to reduce the size of files in Linux?