similar to: load ing and saving R objects

Displaying 20 results from an estimated 12000 matches similar to: "load ing and saving R objects"

2004 Sep 20
5
persiting complex R objects
Is there a method to save a large and complex R object (either as a binary or text file) so that it can be loaded and reused at a later time? Specifically, I am creating large lists (several thousand elements), each element of which is either a vector or a matrix (with ~ 2000 rows). The dimensions of the matrices are not all the same. My ideal would be a set of functions of the form obj
2005 Apr 26
1
survreg with numerical covariates
Does anyone know if the survreg function in the survival package can fit numerical covariates ? When I fit a survival model of the form survreg( Surv(time,censored) ~ x ) then x is always treated as a factor even if it is numeric (and even if I try to force it to be numeric using as.numeric(x). Thus, in the particular example I am analysing, a simple numerical covariate becomes a factor
2010 Sep 27
2
max length of a factor variable
Hi Is there a maximum length for the character string representing a level of a factor? I have a set of several million variables, each a factor of length 19. Each factor level is a character string which in some cases can be many thousands of characters long. I am trying to find out why my analysis fails - I just wanted to rule out the possibility that the internal factor conversion has a
2005 Dec 08
0
qr with missing dependent variables
Dear R-help We have a regression problem which could be solved elegantly if we could figure out how to get the R residuals() function to accept missing dependent variables. We have ~20000 gene-expression vectors y, each being measured on the same set of individuals, but each having a small random number of missing values. For each expression vector we wish to search across the genome
2009 Jul 29
1
lrm-function: Interpretation and error message
I have a set of data that is not normally distributed and for which I need to build a model. So, I tried the lrm function from the design-package. The first run went well, and I got the following results: Wald Statistics Response: RVCL2PROC.mott Factor Chi-Square d.f. P TTV.mott (Factor+Higher Order Factors) 69.01 4
2019 Jul 19
1
difficulty with sanitizer using bigmemory
Dear all, bigKRLS, which has been on CRAN for a couple of years, had to be pulled recently due to what seems to be a sanitizer issue stemming from its use of bigmemory. bigKRLS works fine (we?ve used it ourselves on many different platforms and have had over 15,000 downloads without an end user reporting difficulties because of this issue). Unfortunately, we have been unable to reproduce the
2004 Jul 16
2
inconsistency in pchisq (PR#7099)
Full_Name: Richard Mott Version: 1.9.0 OS: Windows XP Submission from: (NULL) (81.178.233.208) Shouldn't these give the same answer? > pchisq(67.60644,df=1,lower.tail=F,ncp=0) [1] 3.219647e-15 > pchisq(67.60644,df=1,lower.tail=F) [1] 1.996145e-16 >
2005 May 20
5
load constraints
hello Another beginners question..... I've been googling through the icecast archives looking for information on how icecast handles multiple clients. Haven't been able to find what I'm looking for. Could someone please explain (or direct me to links) what happens to the upload bandwidth of a box running icecast, when more than one client connects? For example, if a box on a 128kbps
2005 May 11
2
icecast & china
On Wed, 2005-05-11 at 10:37 +0100, gARetH baBB wrote: > On Wed, 11 May 2005, Iain Mott wrote: > > > Tried with http://zhongshuobeijing.dyndns.org:7000/streamname.m3u > > but was blocked. And at last resolve: > > http://139.168.32.224:7000/streamname.m3u > > Well, 40 minutes later that host is certainly not responding. > good morning No, I shut it down at the
2001 Nov 05
1
Why doesn't outer work?
Hello I'm a population ecologist and use R for all my stats and modelling. Recently I have been using R to numerically solve integral projection models. This involves constructing several large matrices. The current code by Easterling (Size-specific sensitivity: Applying a new structured population model. Ecology, 2000, 81, 694-708) uses nested loops to construct the matrices. To speed up the
2005 May 11
2
icecast & china
Tried with http://zhongshuobeijing.dyndns.org:7000/streamname.m3u but was blocked. And at last resolve: http://139.168.32.224:7000/streamname.m3u is that what you mean? no, perhaps you mean the localhost? "bicho" is its name. Pardon me if i'm confused on this. Will also, tomorrow, try your suggestion of port 443 and Ross' suggestion of the web port. cheers, iain On Wed,
2008 Nov 30
1
normal-bracket50bracket-normal?
Hello: I've found structures like "normal-bracket50bracket-normal" in help files for R packages including the following: * "mergeprepare" and "mergematrices" in a document dated March 3, 2004 by Richard Mott; the second contains "normal-bracket30bracket-normal". * "Fperm.fd" and "tperm.fd" in the
2005 Jun 04
2
relay icecast to shoutcast
On Sun, 5 Jun 2005, Iain Mott wrote: > figured it out! I have a dynamically allocated IP address - and i was > entering a dynamic DNS name in the shoutcast server config expecting it > to be resolved. It wasn't. I entered the IP address just then and it > relays perfectly! Will follow up with the shoutcast service support to > see why my dynamic name isn't being resolved
2005 Mar 07
1
Faster way of binding multiple rows of data than rbind?
Hi all, I have a vector that contains the row numbers of data taken from several filtering operations performed on a large data frame (20,000rows x 500cols). In order to output this subset of data, I've been looping through the vector containing the row numbers (keepRows). output <- data.frame(row.names = rownames(bigMatrix)) for(i in keepRows) { output <- rbind(output,
2012 May 05
2
looking for adice on bigmemory framework with C++ and java interoperability
I work with problems that have rather large data requirements -- typically a bunch of multigig arrays. Given how generous R is with using memory, the only way for me to work with R has been to use bigmatrices from bigmemory package. One thing that is missing a bit is interoperability of bigmatrices with C++ and possibly java. What i mean by that is API that would allow read and write filebacked
2004 May 12
2
Extracting data from matrices
Dear R list I have an m * n matrix P and a vector V of length n containing indices for rows in P. For each of the m columns I want to extract the value in the row specified by V, and put these values into a new vector W of length n. At present I am doing this with a for.... loop, but I imagine there is a faster way that doesn?t involve loops. If anyone knows the way I would be most grateful.
2005 May 10
3
icecast & china
hello list I'm preparing to do a sound project in china where I hope to broadcast an mp3 stream using Icecast2. I've set up test system (outside China) and it seems to be working happily (using Pd to generate audio and the extension "shoutcast~" to stream to the icecast server). I've asked a few people in china to tune into these broadcasts and have run into problems.
2011 Jan 16
1
Memory issues
Hi, I have read several threads about memory issues in R and I can't seem to find a solution to my problem. I am running a sort of LASSO regression on several subsets of a big dataset. For some subsets it works well, and for some bigger subsets it does not work, with errors of type "cannot allocate vector of size 1.6Gb". The error occurs at this line of the code: example <-
2004 Sep 27
8
cannot assign dimnames
Dear list, If anyone knows how to assign dimnames to matrices or arrays I would be most grateful for help. I've tried various permutations of likely-looking code but get error messages every time. I could find no example in the documentation. Many thanks, Dan Bebber Department of Plant Sciences University of Oxford South Parks Road Oxford OX1 3RB UK Tel. 01865 275000
2002 Mar 20
0
[Bug 176] New: OpenSSH_3.1p1 gives X_ShmAttach error on forwarded X11 channel
http://bugzilla.mindrot.org/show_bug.cgi?id=176 Summary: OpenSSH_3.1p1 gives X_ShmAttach error on forwarded X11 channel Product: Portable OpenSSH Version: 3.1p1 Platform: ix86 OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: sshd AssignedTo: