Kou Kou - 1 year ago 83
R Question

Exporting data in raw format in R

I will briefly describe my problem in here...
I am working with Access database file (.accdb), due to some compatibility issues I had to run 32 bit version of R to access the database and import data. I have imported the data but when I try to do some operations on the data file (merging) I run into an error

Error: cannot allocate vector of size 152.1 Mb

So my solution for this is, import the data using 32bit version and run the program in 64bit version. (Is there any better way to do this ??)

My question is what is the best way to export data from R? I dont want to export them into excel/csv files as writing/reading them will again consume a lot of time. How do I export raw data in R and how do import this data into my new environment (64 bit )? Or is there any better method to do this?

Answer Source

in 32 bit:

save(list=ls(), file='~/r_workspace.RData')

and then in 64 bit:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download