Questions tagged [rdata]

The Rdata file format is a binary, R specific, file format used to store arbitrary R objects

The Rdata file format is a binary, R specific, file format used to store arbitrary R objects. Saving and restoring of these objects is done using save and load. See their respective documentations for more information.

206 questions
0
votes
2 answers

How to load Rdata file only once in ShinyApp

I have deployed a shinyapp which uses a .Rdata file of ~700Mb. The Rdata file is loaded in server-inputdata.R file and the server.R file looks like as shown below: options(shiny.maxRequestSize =…
chas
  • 1,565
  • 5
  • 26
  • 54
0
votes
1 answer

How to set the path for database drivers in R studio

I am trying to establish a connection to my database using an R package called DatabaseConnector I am trying the below code connectionDetails <- DatabaseConnector::createConnectionDetails(dbms = "postgresql", …
The Great
  • 7,215
  • 7
  • 40
  • 128
0
votes
1 answer

Saving RData and RDS File Object from an Expression String

I am trying to save RData/RDS File Dynamically with expression String, something that looks like this: rdata_saver <- function(target="rdata-one", obj_name=c(), rdata_name=c(), directory=""){ if(target=="all"){ …
Jovan
  • 763
  • 7
  • 26
0
votes
1 answer

write.csv returns a blank file in R

I have a data set that is in a .Rdata format - something I haven't worked with before. I would like to export the data to a csv or related file for use in Python. I've used "write.csv", "write.table", and a few others and while they all seem like…
Spasmann
  • 1
  • 1
0
votes
1 answer

custom RStudio exit strategy for a given project

In RStudio you can configure whether or not to save the .RData file on exit. I generally do not like to save the R project's .RData file on exit so I have set that option accordingly in Preferences > General > Basic: Workspace (on Mac). I do however…
aljabadi
  • 463
  • 4
  • 16
0
votes
1 answer

How to convert .rdata file to parquet in Azure data lake using databricks?

So I have a few large .rdata files that were generated through use of the R programming language. I currently have uploaded them to azure data lake using Azure storage explorer. But I have to convert these rdata files to parquet format and then…
user14791234
0
votes
0 answers

How do I get first column and a few rows in R using indexing?

I used the head function with the head dataset[,head("column")]. But this displays all the rows in column 1 not just few. Thanks for your help
Tote
  • 13
  • 4
0
votes
1 answer

Programmatically extract an object from collection of RData files

We work in a production environment, with large datasets assembled from API calls saved as RData files to retain the full environment and subsequent data summaries. The RData files are very large, and contain multiple dataframe objects generated…
GGAnderson
  • 1,993
  • 1
  • 14
  • 25
0
votes
1 answer

load RData file shows this error: embedded nul character

I tried to figure out the problem, but didn't find a solution. Following problem: I've tried to load this Rdata file. It is about 4 GB. But I always got the error. Error in load.....Embedded nul…
0
votes
0 answers

Is it possible to load rdata-file without file type?

I forgot the addition ".rdata" as I saved the data. Here my mistake: save(data, file="Data_01") The object-class is/was a list. If I try load(file="Data_01") the following error appears: Error in readChar(con, 5L, useBytes = TRUE) : cannot open…
Bert
  • 1
  • 1
0
votes
1 answer

How to create data.frame with different number of rows RData

I have a file (format RData).https://stepik.org/media/attachments/course/724/all_data.Rdata This file contains 7 lists with id and temperature of patients. I need to make one data.frame from these lists and then remove all rows with NA id …
Ekaterina
  • 69
  • 8
0
votes
1 answer

How to save the state of my Rstudio workspace

Im working on a large project in Rstudio with code that takes a long time to load. I was wondering if there was an efficient way that I can save the state of my workspace and variables so that I can easily reopen my workspace when needed with all…
aport550
  • 119
  • 1
  • 9
0
votes
0 answers

I am having trouble reading RData using pyreadr

I have installed pyreadr and would like to use it to read .RData. I have followed the direction given from the previous comment on here Loading RData but that did not work for me. When I try the following line (with the path pointing to the right…
sal_x_sal
  • 75
  • 1
  • 2
  • 7
0
votes
0 answers

How to speed up reading in multiple R objects with parLapply?

I have lots of big lists which I saved (unfortunately at the time) as .RData files. All files had the same name when saving them. Hence, after reading in the files, I want to assign them a new name. I want to speed up this process and thought about…
sh_student
  • 369
  • 2
  • 14
0
votes
0 answers

Error in file: cannot open the connection for files in R project

I recently started using R projects to organize my files and data. I have my .Rdata file and scripts all saved within the same folder (which is currently selected as my working directory). In RStudio, I can see all the objects in my Global…
apple
  • 387
  • 1
  • 14