Questions tagged [rda]

Rda is a short name for RData.

116 questions
0
votes
2 answers

.rda file containing large list grows in size after deleting some rows

I had an .rda file with a large list, that looked like this: [[1]] Null [[2]] Null ... [[1000]] (Some data) ... The first K empty rows (999 in the example) were created because of bug in the code, so I decided to delete all the 1:K rows. After…
Tim
  • 7,075
  • 6
  • 29
  • 58
0
votes
1 answer

How do I connect a device to SQL server through a network?

I have a laptop with SQL Server and the Compact server agent and IIS running. I'd like to connect a mobile device to another laptop on the same network and be able to access the SQL Server. How do I go about this? I know it's possible with IIS and…
Yves
  • 682
  • 1
  • 6
  • 15
0
votes
1 answer

R: rda() with CV

I've used the following code: breast.rda = rda(Diagnosis~ ., data=breast, lambda = 0.2, crossval=T, fold = 10, gamma=0) I can retrieve the error by running: breast.rda[5] ## $error.rate ## APER ## 0.06151142 But what does this error mean?…
Silke
  • 177
  • 1
  • 11
0
votes
1 answer

Having R read in the .rda file that is entered by the user

I have a function in R that I need to conditionally load a .rda file. For example, I want the user of the function to be able to specify which file they want loaded, and then R will load the corresponding datafile. The function takes two…
user3084629
  • 445
  • 2
  • 4
  • 7
0
votes
1 answer

Regularised discriminant analysis (RDA) in R

I am trying to apply RDA on my data in R, after some research I found that there is a package in R called "rda" which seems can do the job for me. However I looked at the description of the RDA function in that package and I'm a little confused…
ElaineC
  • 41
  • 2
  • 8
0
votes
1 answer

How to make a difference between month 1 and 10 in my data set?

This is part of my code. library(reshape2) setwd("C:/Users/Desktop/WildFires/FedFire8004/FedFire8004") load("fedfire8004.rda") library(reshape2) Acres <- melt(fedfire8004$acres) It reads data which has lat,lon,time(monthly) and value and converts…
SaZa
  • 311
  • 2
  • 7
  • 14
-1
votes
1 answer

How to make rownames in two separate data.frames the same?

Please see the picture attached! I am trying to conduct a RDA analysis, but before I proceed I need to make sure my SNP dataset and my Environmental dataset have identical rownames. I tried editing the individual datasets in excel to satisfy this…
-1
votes
1 answer

dbRDA in R, how to with abundance data and missing values for environmental data

Using R, I'm trying to do a dbRDA on a set of abundance data of 9 species (units cells/mL) over 10 sampling days and I have 8 environmental variables (different units and some missing values). I want a test to show how the environmental variables…
-1
votes
1 answer

How to open and use an .Rda file

I am writing multiple RDA files to my computer and trying to open them again. For example, I save a data frame called 'geocode' as: dim(geocode) save(geocode, file=paste0("[path]/geocodenew.Rda")) I can see the file saved, about 30 KB, on my…
garson
  • 1,505
  • 3
  • 22
  • 56
-1
votes
2 answers

Match names from one file to ids from another in R

I have two R data files (rda format), the first one is an edge list and contains only id numbers, the second one contains ids and names. I need to match the names from the second file to the ids in the first one, or just replace them. Which command…
Tash
  • 53
  • 1
  • 7
-3
votes
2 answers

Save an *.rda file as a data.frame

This question has been asked several times, but I haven't found a solution. I have an rda R file (df) that I want to save as a non binary file (such as txt or csv) so I can use it in a text editor program... Is there a way to do this? Right now…
joeblow
  • 13
  • 6
1 2 3 4 5 6 7
8