Displaying 20 results from an estimated 20000 matches similar to: ".Rdata file size"
2011 Jan 05
1
RData size
Hi, I noticed a Rdata size issue that's puzzling to me. Attached find 2 example
datasets in text file. Both are 100x5, so the sizes for both text file are the
same. However, when I read them into R, the sizes are much different:
tt<-as.matrix(read.table("tt.txt",header=T,row.names=1))
save(tt,file='tt.RData')
2005 Jun 02
2
overlaying plots
surely this not hard, but i can't figure it out. i'd like to overlay
the results of two ecdf's.
e.g. xx<--ecdf(x) and yy<--ecdf(y). i'd like to plot xx and yy on the
same graph.
thanks...mj
[[alternative HTML version deleted]]
2005 Jul 27
2
Returning positions of a vector
Hi,
I'd like to return the rows of sampled values of a vector. Can't figure
out how to do it.
For example: I start with [3, 1, 7, 4, 10] that have position
[1,2,3,4,5]. I sample [10,1,4] and I want to return [5,2,4].
I'm sure there's a simple way to do that but haven't been able to figure
it out or locate it.
Thanks in advance...mj
[[alternative HTML version
2013 Dec 17
2
Setting up a lustre zfs dual mgs/mdt over tcp - help requested
Hi all,
Here is the situation:
I have 2 nodes MDS1 , MDS2 (10.0.0.22 , 10.0.0.23) I wish to use as
failover MGS, active/active MDT with zfs.
I have a jbod shelf with 12 disks, seen by both nodes as das (the
shelf has 2 sas ports, connected to a sas hba on each node), and I
am using lustre 2.4 on centos 6.4 x64
I have created 3 zfs pools:
1. mgs:
# zpool
1999 Feb 15
1
.Rdata questions
Dear all,
in a current project I have a pretty huge .Rdata. Thus I was working with
R --vsize 100 --nsize 1000000. Today when I tried to restart R I get the
following error message:
Error: a read error occured
Fatal error: unable to restore saved data
(remove .RData or increase memory)
I increased memory up to --vsize 180 and --nsize 2000000, but the error
reoccurrs. Is there a way to know
2007 Nov 19
6
Dedicated MGS?
This may be in the documentation. If so, I missed it.
If a site has multiple Lustre file systems, the documentation implies
that there only needs to be a single MGS for an entire site
(regardless of the number of file systems). However, I also know
it is fairly common to have a combined MGS/MDT. So here are the
questions.
1. If we are going to have several Lustre file systems,
2007 Nov 07
1
ll_cfg_requeue process timeouts
Hi,
Our environment is: 2.6.9-55.0.9.EL_lustre.1.6.3smp
I am getting following errors from two OSS''s
...
Nov 7 10:39:51 storage09.beowulf.cluster kernel: LustreError:
23045:0:(client.c:519:ptlrpc_import_delay_req()) @@@ IMP_INVALID
req at 00000100b410be00 x4190687/t0 o101->MGS at MGC10.143.245.201@tcp_0:26
lens 232/240 ref 1 fl Rpc:/0/0 rc 0/0
Nov 7 10:39:51
2005 Nov 09
6
elements in a matrix to a vector
hi all,
i'm trying to get elements in a matrix into a vector. i need a
"streamlined" way to do it as the way i'm doing it is not very
serviceable. an example is a 3x3 matrix like
0 0 3
2 0 0
0 4 0
to a vector like
3 2 4
thanks...mj
[[alternative HTML version deleted]]
2013 Apr 17
1
mgcv: how select significant predictor vars when using gam(...select=TRUE) using automatic optimization
I have 11 possible predictor variables and use them to model quite a few
target variables.
In search for a consistent manner and possibly non-manual manner to identify
the significant predictor vars out of the eleven I thought the option
"select=T" might do.
Example: (here only 4 pedictors)
first is vanilla with "select=F"
>
2005 Apr 07
2
Zipping Rdata Files
Saving Rdata files in a zip archive form can in some cases save a
considerable amount of disk space. R has the zip.file.extract function to
extract files from zip archives, but appears not to have any corresponding
function to save in zipped form. (At least I have not been able to find
anything in the help files or through searching the mail archives.) The
system function can be used to call gzip
2005 Feb 01
1
RData loading weirdness
I've just had an interesting thing happen to one of our students. He's
using R 1.9.1 on Linux, and so I dont expect bugfixes, I'm just
reporting this out of interest in case anyone else has had this happen.
Starting R caused a seg fault shortly after "[Previously saved
workspace restored]". Running "R --no-restore-data" worked fine so I
suspected a corrupted
2005 Feb 01
1
RData loading weirdness
I've just had an interesting thing happen to one of our students. He's
using R 1.9.1 on Linux, and so I dont expect bugfixes, I'm just
reporting this out of interest in case anyone else has had this happen.
Starting R caused a seg fault shortly after "[Previously saved
workspace restored]". Running "R --no-restore-data" worked fine so I
suspected a corrupted
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]]
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
2004 Jun 17
1
problem with restore and some .RData
Hi,
I have problem with the restore function in some .RData using R 1.9.0
Look the error:
[ronaldo at zeus RAnalise]$ R
...
Error: object 'family' not found whilst loading namespace 'MASS'
Fatal error: unable to restore saved data in .RData
But if I load this .RData with the load() function all objects are recovered.
[ronaldo at zeus RAnalise]$ R --no-restore-data
...
> ls()
2012 Mar 07
4
add data from .RData file
I got two .RData file e.g data.2005.RData & data.2006.RData
I would like to combine these two different data set and make single RData
file.
in both file there are some NULL files are also available and I would like
to clear this NULL files also.
$ : NULL
$ : NULL
$ : num [1:43285, 1:8] -21.1 -21.1 -24.9 -24.9 -24.9 ...
..- attr(*, "dimnames")=List of 2
.. ..$ : NULL
..
2005 Jan 30
1
S4 packages and .Rdata file.
Dear developers.
Have spend just 1 h searching for a bug in a new version of a new
version of a package.
I was getting a segfault all the time. "Funny" thing - there was no
error neither in the S nor in the C code.
To solve the problem I had to delete the .Rdata file!
What I observed. If the .Rdata file was generated while a previous
release of a package was installed in the
2003 Feb 06
2
.Rprofile, .Rfirst, and .Rdata
Hi all,
After a short hiatus away from R I have found that it's changed a bit.
I used to keep a definition of .First in .Rprofile that did a couple of
things on startup (load a couple of libraries). Now, I've discovered
that when I change the definition of .First in .Rprofile it doesn't
change anything when I start up, because .First is held over in .Rdata
from the last session.
2006 Nov 17
2
Getting R and .Rdata together again
Somehow, I've managed to have my .Rdata files become `disassociated'
from the R program. I am running Windows XP Pro. I have re-installed R
2.4 in an attempt to have it re-associate itself with .Rdata files, but
to no avail. .Rdata files are now associated with a file compression
program or alternatively with Rgui.exe. .Rdata files are represented by
the blue R, but double-clicking on
2012 Apr 17
1
Problem accessing .Rdata objects in a loop
Hi,
I am trying to access many .Rdata objects and do some operations with them
using a loop. I can load the files but can't access them. The files' names
are stored in a character vector called "names". After loading the objects,
I can view each one using ls() and see that two objects are present for
each. I am trying to access the one with the name which is the same as the