Displaying 20 results from an estimated 5000 matches similar to: "save to Rdata file and to txt"
2008 May 13
0
Question about how to save a txt file in .Rdata or .rda format
Hi Everybody,
Suppose I have a *txt file*, named "proof" wich I have read it previously
using the function *read.table( ). *And suppose I have an algorithm wich
requires to load this file "proof" using the function *data ( ) *
My problem is the following: how to store the file proof in "*.Rdata"*
or.in ".*rda"* format in order to use the function data?
2009 Oct 05
3
convert RData to txt
hello all,
will you plz tell me how can i convert RData files to txt,,,
2006 Nov 20
0
converting .RData to a .TXT file
Help! I accidentally saved my work as an .rdata format instead of .txt
I need to somehow get it saved as a .txt file otherwise i'm really in trouble!
Does anyone know how to convert .rdata to .txt files??
I also tried re-loading the file into R to see if i can re-save it but it doesnt work!
i've attached it below...
please help me asap! i need to turn it in as a .txt file
Thanks
ps- I
2004 Jun 18
1
how to store estimates results as scalars of a matrix?
Dear R users,
I've written a loop to generate Moran's test (spdep package) on serval
subsamples of a large dataset. See below a short example.
My loop is working fine, however I would like to be able to store the test
results as lines of a matrix, that I would latter be able to export as a
dataset. My problem is that I'm not sure how I could do this using R.
Any help will be much
2018 Jan 26
0
Problem saving .RData file with save.image
I am running R-3.0.3 on RStudio 1.1.183. I have recently gotten the following error message while saving an .RData file with the save.image command. I have not had this problem until recently. Help appreciated.
===
Error in save.image("bope1a.RData") :
image could not be renamed and is left in bope1a.RDataTmp
[[alternative HTML version deleted]]
2011 Jul 21
1
Can you save an installed library to an .RData file?
It occurred to me that it would be nice to be able to save a library that I
have installed an loaded into my workspace for easy sharing. I suppose it
might not work if someone's on a different version of R, but usually since
the library is just a collection of functions, it seems plausible that you
could just save the functions into your workspace.
I'm sure this question is a bit naive,
2012 Jan 22
4
how to save the R script itself into a rData file?
Hi all,
As a part of work flow, I do a lot of experiments and save all my results
into rData file...
i.e. at the end of all my experiments, I do
"save.image("experiment_name_with_series_number.rData")"...
However, some times even with the rData files, I cannot remember the
context where these data files were generated.
Of course, I can make the R data file names and the R
2012 Jul 12
0
How to handle NA-values in raster-based Geary´s C test?
Hi,
I have a question on testing spatial autocorrelation on raster data
including NA-values. In particular, I like to calculate Moran?s I and
Geary?s C indices by using inverse distance weighting matrices.
Calculating Moran?s I with moran.test works fine, because the function
contains the option "na.action=na.pass". Unfortunately, the function
geary.test does not contain this
2011 Aug 04
1
Running a column loop through the Moran.I function.
Dear R users,
I have two data frames that consist of statistical information for most
countries around the world. One dataframe consists of the latitude and
longitude ("coord.csv") of each country, while the other consists of 100's
of different attributes ("countryattri.csv") for each country (like, GDP,
Population, etc.). The data is organized with a header and then
2010 Jun 21
0
how to find observed Moran's I value using moran.test(spdep)
Dear ,
This is Elaine.
I am computing moran's I using moran.test for
a generalized linear model (multiregression).
The following contents are the results, and I cannot find the observed
Moran's I mentioned as estimate in the manual.
Please kindly help indicate if there is observed Moran's I did not notice or
other method for calculation.
Thanks
Elaine
data: residuals(modg1)
2011 Jan 19
0
Error Moran's test : reconsider test arguments
Dear
R-users,
I was
wondering if someone could give me some advices on the following problem.
I tried to
apply moran’s test to a small dataset and couldn’t succeed, here is the error
message:
mor <- moran.test(x, res2)
Avis dans
moran.test(x, res2) :
Out-of-range p-value: reconsider test arguments
mor
Moran's I test under randomization
data: x
weights: res2
2012 Jul 19
2
change file name from file0.1_data.RData to file1_data.Rdata
Dear All,
I want to change file names.
I have file0.1_data.RData (I have several files whose names are
file0.x_data.Rdata)
I want to rename it to file1_data.RData
How can I do it?
Thank you for saving my time!
[[alternative HTML version deleted]]
2007 Feb 06
2
How to do "moran's I test"?
I want to do "moran's I test" in R language. I try to use "gearymoran" in
Package "ade4","moran" in Package "spdep", and Moran.I in Package "ape". But
I do not know how to do it because data format is different.
My data:
x y dbh
111.03 10.7 7
118.11 0.28 1.2
165.36 0.36 8.4
2010 Nov 29
1
Moran I for very large data set
Hi
Are there any more efficient ways of calculating the neighbourhood object for large datasets?
I am trying to compute Moran I statistics for a very large data set (over 14,000 points). I have been using moran.test from the spdep package and everything works fine for a small data set (200 points). However, applying the same script to the whole dataset is taking days to compute (it so far has
2005 Jan 30
1
New user...tips for spdep?
Hello List,
I'm a very new user to the R system. I'm only beginning to learn the
basics, but so far I've been able to do little more than try a few examples,
and of course begin reading the documentation.
My primary motivation for exploring R is the availability of tools like the
'spdep' package for calculating spatial statistics such as Geary's C and
Moran's
2011 Jun 02
48
[PATCH 0/9] libxl: disk configuration handling
This is v3 of my disk series. What were previously patches 01-06 have
been applied. These are the tested and updated remainder, addressing
the previous comments.
1 Preparatory work.
2-4 The new parser and its documentation.
5-6 Replace old parsers with calls to the new one.
7-8 Two features, one of them essential.
9 Basic test suite for disk string parsing, as adhoc script.
2009 Jan 07
1
troubles performing Moran.I test
dear R users,
I have troubles performing Moran.I test as suggested on
http://www.ats.ucla.edu/stat/r/faq/morans_i.htm
my spatial data are longitude and lattitide of communities. The
calculation of the inverse distance matrix according to the homepage
(using my data)
datAL <- read.csv2("C:\\Konvergenz AL.csv", header=T)
ALdist <- as.matrix(dist(cbind(datAL$L?nge,
2008 Jul 14
0
Moran's I- Ordinal Logistic Regression
Hi,
I am trying to do a Moran's I test on an ordinal logistic regression model.
I have a simple spatial weights matrix listed below I would like to use.
Y=
1
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
1
0
1
1
0
0
0
0
1
1
0
0
0
1
1
1
1
0
0
0
0
0
1
1
1
1
0
0
0
0
0
1
1
1
1
0
0
0
0
0
1
1
1
1
0
0
0
1
1
0
0
0
0
1
1
0
0
1
0
0
0
0
1
1
I try to run the test as follows-
moran.test(order$resid,
2005 Mar 29
0
Plot Moran's I
Hello all,
I'm a new user of R and I have used the spdep package to calculate Moran's I estimates. I used the dnearneigh() function and moran.test() function and obtained what I wanted, but now I want to plot my results with the p-values. I regrouped my results for the Moran's I like
>m=c(m1$e,m2$e...) #m1 contain the results of the moran.test for lag1
2010 Jul 08
2
Loading .Rdata within an R function
Colleagues:
I am having trouble loading data from within .Rdata file
within the environment of a function. That is,
the following always loads to the global environment:
f1 <- function() {
load("mydata.Rdata")
# compute with objects from mydata.Rdata.
}
I wish to load mydata.Rdata only within the function f1.
Perhaps I have misunderstood