Questions tagged [rda]

Rda is a short name for RData.

116 questions
274
votes
2 answers

What are the main differences between R data files?

What are the main differences between .RData, .Rda and .Rds files? Are there differences in compression, etc.? When should each type be used? How can one type be converted to another?
Carlos Cinelli
  • 11,354
  • 9
  • 43
  • 66
34
votes
2 answers

How do you handle R Data internal to a package?

The R package I am developing requires several R data objects, such as pre-computed models and parameters. Currently I have each object in the 'data' directory of the package in individual .RData files. When using the package users can use the…
Nixuz
  • 3,439
  • 4
  • 39
  • 44
14
votes
1 answer

RDA, Error in colMeans(x, na.rm = TRUE) : 'x' must be numeric, when data is numeric?

I want to perform a rda in R, using vegan. My code looks like this: species<- read.delim("springspecies1.txt", header=T) envdata<- read.delim("springenv1.txt", header=T) RDA <- rda(species~Temperature + Salinity + O2 + Phosphate + Nitrate + Silica,…
user3420443
  • 297
  • 2
  • 3
  • 8
13
votes
6 answers

Delphi TOpenDialog hangs in windows 2008 when run as remote desktop application

I have a Delphi 2010 exe that launches a second exe. In the second exe, there is a dialog that calls openDialog.execute. When this runs under Windows 2008 Enterprise R2 under a remote desktop, it runs as expected, but when run as a remote…
Bill Seven
  • 768
  • 9
  • 27
8
votes
5 answers

getting the name of a dataframe from loading a .rda file in R

I am trying to load an .rda file in r which was a saved dataframe. I do not remember the name of it though. I have tried a<-load("al.rda") which then does not let me do anything with a. I get the error Error:object 'a' not found I have also tried…
megv
  • 1,421
  • 5
  • 24
  • 36
5
votes
2 answers

Sync nightmare - is it possible to use Merge Replication (or RDA) between 2 SQL CE instances without IIS?

We are faced with the following problem that involves keeping the following in sync: 1 Centralised Server (IIS / MSSQL 2005) Many Desktop WPF clients distributed by ClickOnce Many Mobile clients - (Windows CE) alt text…
4
votes
1 answer

Loading in multiple .rda files into a list in r

I have run various models (glm, rpart, earth etc) and exported the model object from each respective one into a folder on my computer. So I now have a folder with ~60 different models stored as seperate .rda files. This was done by creating a model…
JFG123
  • 577
  • 5
  • 13
4
votes
0 answers

Columns are concatenated in R package data

I have a CSV file called startdates.csv which I want to provide to colleagues as part of an R package called tabulations. The individual steps work during development but when the package is installed and loaded, the data.frame columns are…
majr
  • 263
  • 1
  • 6
3
votes
1 answer

Error in eval(predvars, data, env) : invalid 'envir' argument of type 'character'

I am newbie to R and started doing Linear Regression in RStudio with a very simple code like the following: dataset = load("C:\\pathToRDA\\swiss.RDA") simple.fit = lm(formula = VoteYes ~ age,data=dataset) The sample code loads in a RDA file which…
Kevin
  • 6,711
  • 16
  • 60
  • 107
3
votes
1 answer

How to convert rdat/rdata xts files to python pandas native time series files?

I have a folder with more than 1000 rda time series files of stock data. Below is the sample code using which I saved my time series(xts) files in rda. I used rda/rdata instead of csv because saving and loading of files are fast and data compression…
Eka
  • 14,170
  • 38
  • 128
  • 212
3
votes
2 answers

R, assign content from .rda object with load()

This is very basic (and I suspect this has been asked elsewhere, although not quite here ). I have a huge number of .rda files each with a single data frame. I would like to do calculations on each data frame and hence need loading them (load()).…
user3375672
  • 3,728
  • 9
  • 41
  • 70
3
votes
1 answer

R vegan RDA not all levels of constraint are displayed in triplot

In my RDA triplot I would like to display 'sites', 'species' and their constraints which in my case are Field and Trt. The problem is that not all levels of the constraints are displayed in the plot. There are two levels of each factor. My RDA code…
2
votes
1 answer

Reaching Definitions analysis - is my solution correct

I am asked to write the reaching definition for the following code and I am wondering if my solution is correct? am I even on the right track? I truly appreciate any help or hint. Thank you. Code: a = 0; while (a < 100) { b = a + 1 c = c +…
Node.JS
  • 1,042
  • 6
  • 44
  • 114
2
votes
1 answer

Vegan RDA and biplot, remove values contributing >10% of variance

I am using the vegan package to do RDA and want to plot the data using biplot. In my data I have hundreds of values. What I would like to do is limit the variance explained to a set limit so in the example below to 0.1. So instead of having 44 of…
HaydenC
  • 107
  • 4
2
votes
1 answer

Why can't I use an apply function in R to load .rda files into the R workspace?

I have a list of .rda (RData) files. I would like to quickly load this data into R, without having to call the load function multiple times. I thought of using the load() function with sapply. However, using the following code, does not load any R…
Sytze
  • 345
  • 2
  • 12
1
2 3 4 5 6 7 8