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
0 answers

How can I compress a .RData file which is a large data frame?

everybody! I have a 50MB .RData file which is one large data frame. Can I compress it to 20-25MB somehow? I tried .zip and .gz, but the former almost did nothing and the latter even generated a bigger file. Also, what's the most space-efficient way…
Paw in Data
  • 1,262
  • 2
  • 14
  • 32
0
votes
1 answer

decode base64 to a raster

it is a rather untypical scenario, I am using R Custom visual in PowerBI to plot a raster and the only way to pass data is by using a dataframe. this what I have done so far, generate a raster in R save it to file using SaveRDS encoded the file as…
Mim
  • 999
  • 10
  • 32
0
votes
1 answer

read Rdata without heads in pandas framework

I would like to read a Rdata file in python and, more important be able to manage it adding date and index. According to the "R" the file is like [1] 51.42683 55.16056 51.55766 56.49496 60.35126 60.00867 59.86904 60.33833 60.14559 …
diedro
  • 511
  • 1
  • 3
  • 15
0
votes
0 answers

load() and source() throw error in opening a RData file

I am trying to open an RData file containing a zoo object with a column for timestamp and a couple of columns containing some data. It has about 300,000 rows in it. Upon using the command load(dest) command I get the following error Error: bad…
Vizag
  • 743
  • 1
  • 7
  • 30
0
votes
0 answers

Read only rows meeting a condition from a compressed RData file in a Shiny App?

I am trying to make a shiny app that can be hosted for free on shinyapps.io. Free hosting requires that all data/code to be uploaded is <1GB, and that when running the app the memory used is <1GB at any time. The data The underlying data (that I'm…
kto
  • 135
  • 1
  • 6
0
votes
0 answers

References to local source files in pe binary rdata section (strings)

I am creating a PE EXE in Visual Studio 2013 (C++) and I notice that in the rdata section of the exe file there are some strings referencing local source files in my project. Any suggestion to remove this references?
0
votes
0 answers

Load .Rda file in R giving error Magic Number

I am trying to load .Rda file in R woth load() function in a docker container but it's giving me the error "file ‘decrypted_model.Rdata’ has magic number 'RDX3' Use of save versions prior to 2 is deprecated" R_BASE_VERSION is 3.6. caret package…
0
votes
1 answer

ReadItem: unknown type 64 perhaps written by later version of R

I was trying to load a .RData file. And got the following error: ReadItem: unknown type 64 perhaps written by later version of R I hit the same error on both Rstudio Server and my Local Rstudio. Here is my session info for Rstudio Server: R version…
Chenying Gao
  • 310
  • 4
  • 14
0
votes
2 answers

put together .text, .rdata, .data, .code to a exe(cutable) file

I get zip.exe from http://stahlworks.com/dev/index.php?tool=zipunzip I have unpacked the files to: .text .rdata .data How to connect together through a command line using an external program or without? copy /B .text+.rdata+.data zip.exe The…
0
votes
0 answers

RData file loads into memory, then is entirely inaccessible

I received an .Rdata file from a colleague that I am trying to load into memory on my own server. When I attempt to use load('./myfile.Rdata'), everything appears to work (i.e. the machine thinks for a while and doesn't throw any error message), but…
thagzone
  • 355
  • 1
  • 3
  • 13
0
votes
0 answers

convert .RData file to netCDF

Is there a quick and easy way to take an existing RData file and convert it to netCDF? I have a large .RData file (~780 MB) with 88 variables, and all I can find online is how to make a netCDF file from scratch with simple examples that don't have a…
Cyndi
  • 1
0
votes
1 answer

Load objects contained in .RData file if they do not already exist

Question: Is it possible to read R objects from an RData file only if they don't exist in the current environment? Why: I'd like to be able to set some variables at the top of an R script, but load in a previous script's finished variables. If they…
Neal Barsch
  • 2,810
  • 2
  • 13
  • 39
0
votes
1 answer

Boxplot overlaping text and dots

I have this code exported from Rdata load(...) ViajesCCAA <- subset(ViajesCCAA, subset=CCAA.DESTINO=="SOMETHING") library(relimp, pos=4) showData(ViajesCCAA, placement='-20+200', font=getRcmdr('logFont'), maxwidth=80,…
0
votes
1 answer

Overwrite a function after loading .RData file

Let's say I have function foo <- function (x, y){ x <- y + 5 } I save my work with save.image(file= file_name) Then I load data with load(file, envir=.GlobalEnv) Let's say I load the data, but after that I modify my function say: foo <-…
Vesnič
  • 365
  • 5
  • 17
0
votes
0 answers

R-convert plotly object to list

plotly_3.6.0 had function plotly_build() which would convert the plotly object to 'plotly_built' class which was similar to a list. After updating to plotly_4.7.1 it appears that this function no longer returns a 'plotly_built' object. The built…
user98180
  • 149
  • 1
  • 4
  • 12