newbzzs
newbzzs

Reputation: 305

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

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

Upvotes: 0

Views: 3428

Answers (1)

geoff
geoff

Reputation: 952

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")

Upvotes: 3

Related Questions