How to convert a csv file to an R.Data file

2k Views Asked by At

I have a csv file I generated in Python. I now need to convert it to an R.Data file for further downstream analyses, but I have no idea how to accomplish this.

Someone else asked this question a few years back but it has no solutions. Would really appreciate some input.

Previously asked question: Converting csv to Rdata

1

There are 1 best solutions below

0
geoff On BEST ANSWER

This is a classic situation of but why?, but if you must accomplish this then it is as easy as:

data <- read.csv("my_file.csv")
save(data, file = "my.file.RData")