similar to: memory problem

Displaying 20 results from an estimated 2000 matches similar to: "memory problem"

2005 Feb 11
3
formatC with illegal input crashes Rgui (PR#7686)
Full_Name: Peter Ehlers Version: rw2001pat (2005-02-03) OS: Win XP Submission from: (NULL) (136.159.61.115) formatC(1, flag="s") crashes Rgui. Similarly for flag=[SnZ]. Stupid input, of course, but I'm error-prone. Peter
2008 Jul 11
1
Subsetting an array by a vector of dimensions
Hi Is it possible to subset an n-dimensional array by a vector of n dimensions? E.g. assume I have > x <- array(1:24, dim=2:4) > x[1,1,2] [1] 7 > dims <- c(1,1,2) I would like a function that I can supply x and dims as parameters to, and have it return 7. Also, I would like to do something like: > x[1,1,] [1] 1 7 13 19 > dims2<- c(1,1,NA) And have a function of x and
2007 Mar 06
2
SVG and tooltips, hyperlinks
Dear all, is there a good way to create SVG plots with R whose elements have titles (tooltips) or act as hyperlinks? I am using the RSvgDevice package, which works great - but it doesn't seem to support the notion that plot objects have titles or are act as hyperlinks, so I am helping myself by giving the objects funny unique colors and then postprocessing the .svg file. I wonder
2009 Feb 25
1
Unexpected side effect of the ":::" operator on the value of isGeneric
Hi, when running the following on a fresh R, library("IRanges") annotation showMethods("annotation") Biobase:::annotation showMethods("annotation") I get (see the "^^^^^" marked output at the bottom): > library("IRanges") Carico il pacchetto richiesto: 'IRanges' The following object(s) are masked from package:base :
2006 Jul 10
1
Unexpected difference in Bounding Box of PDF graphics between (PR#9072)
huber at ebi.ac.uk wrote: > Full_Name: Wolfgang Huber > Version: R version 2.4.0 Under development (unstable) (2006-07-09 r38523) > OS: i686-pc-linux-gnu > Submission from: (NULL) (62.253.128.15) > > > There appears to be unintentional behaviour in the size of the bounding box for > PDF graphics produced with the current R2.4, compared to 2.3.1. I posted two PDF >
2010 Jan 16
1
"Too many raster images" in devPS.c
Hi, I am finding the recently added [1] functionality of embedding raster images into plots on R devices very useful! Thanks to Paul Murrell and others for providing that. I noted that in https://svn.r-project.org/R/trunk/src/library/grDevices/src/devPS.c a macro is defined: #define MAX_RASTERS 64, and consequently, I get Error in grid.Call.graphics("L_raster", x$raster, x$x, x$y,
2008 Jul 15
5
counting number of "G" in "TCGGGGGACAATCGGTAACCCGTCT"
Any better solution than this ? sum(strsplit("TCGGGGGACAATCGGTAACCCGTCT", "")[[1]] == "G") _________________________________________________________________ [[alternative HTML version deleted]]
2007 Mar 19
1
Carriage returns and Sweave output
Dear all, I have a code chunk in my Rnw file that, when executed, outputs carriage return characters ('\r') to inform on the progress (e.g. "sweep 4 of 1024\r"). But Sweave interprets this as a newline character, and therefore I get countless pages of output in my vignette where I only really want one line. Any ideas? Thanks E
2007 Jan 19
1
Error in heatmap()
Hi, I run into following error when using heatmap() for data matrix "xx". Any help is appreciated? "xx" contains many "NA"s. > hv <- heatmap(data.matrix(xx)) Error in hclustfun(distfun(if (symm) x else t(x))) : NA/NaN/Inf in foreign function call (arg 11) Thanks a lot. Yuhong
2007 Jan 21
1
Working with a set of matrices
Hi, I have a set of matrices (MAT.1, MAT.2, ...) and I'd like to perform the same operation on each of them (for simplicity, say . I'm writing a function for this so that it can be repeated for different sets with different numbers of matrices. The matrices have the same number of columns, but do not have the same number of rows. My thought is to loop thru the set. but I'm not sure
2008 Jul 14
1
Analysis of poorly replicated array data
Greetings, I have "inherited" a cDNA macroarray dataset that is structured as follows. Three different stressors were tested. For each stressor, there are two treatments (control and stressed). For each treatment, two biological replicates exist, and these are paired (i.e., there is a stressed array for colony A and a control array from this same colony). For one of these samples,
2008 Jul 14
2
question about a small "for" loop
R 2.5.1 on WinXP I'm trying to create new variables in a dataframe called jaw, as powers of jaw$age up to the sixth power, and name them jaw$age.(--the digit corresponding to the power--) Obviously none of these work (silly for me to try, I suppose): for (i in 2:6) { jaw$age.'i' <- jaw$age^i } for (i in 2:6) { jaw$age.i <- jaw$age^i } for (i in 2:6) {
2008 Aug 05
2
Adding .PDF files to a package
Deal all, new as I am to developing packages for R-Project, I apologize on beforehand for questions that are too obvious. I am trying to 'add' a PDF document containing some detailed information to a package. The way I understand the Rexts.pdf document, I should add my .PDF document to the /inst/doc/ folder, and links to the files should be build automatically. However, after
2007 Jan 19
2
combn implementation
Hi, I was checking the source code to the function combn that "generates all combinations of the elements of 'x' taken 'm' at a time.", because I wished to modify it. I have a doubt about a statement. This is the main loop. ._1 <- 1:1 nmmp1 <- n - m + ._1 while (a[1] != nmmp1) { if (e < n - h) { h <- ._1 e <-
2008 Jun 07
1
strange (to me) p-value distribution
I'm working with a genomic data-set with ~31k end-points and have performed an F-test across 5 groups for each end-point. The QA measurments on the individual micro-arrays all look good. One of the first things I do in my work-flow is take a look at the p-valued distribution. it is my understanding that, if the findings are due to chance alone, the p-value distribution should be uniform. In
2008 Dec 22
1
How to add a slot to S4 class of an existing package?
Dear all, Since my package is based on S4 classes, I would like to know how to add a slot to an existing S4 class without breaking the code of users of my package. Assume the following S4 class: setClass("MyClass", representation(name = "character", type = "character", data = "data.frame" ), prototype(name =
2008 Feb 09
2
shortest distance between two point pattern
Um texto embutido e sem conjunto de caracteres especificado associado... Nome: n?o dispon?vel Url: https://stat.ethz.ch/pipermail/r-help/attachments/20080208/bf7b4696/attachment.pl
2004 Nov 18
1
Declaration of RuleThickness() in src/main/plotmath.c (PR#7380)
Full_Name: Wolfgang Huber Version: R-2.0.1 OS: HP-UX B.11.23 ia64 Submission from: (NULL) (81.104.215.6) Hi, I hope I am not missing something basic... I am using a somewhat exotic compiler and OS, but if I understand what I am seeing the problem is more general: In src/main/plotmath.c, the following function is defined /* Thickness of rules */ static double RuleThickness() { return
2006 Jun 26
1
apparent problem in how PDF evaluates its arguments (PR#9035)
Full_Name: Wolfgang Huber Version: 2.4.0 (2006-06-24 r38403) OS: i686-pc-linux-gnu Submission from: (NULL) (134.60.107.160) The simple example script below fails in the call to makepdf1 with "Error in eval(expr, envir, enclos) : object "p" not found" I believe this is a problem in the pdf() function, having to do with the line: lapply(Call, function(x) eval.parent(x, 2))
2007 Mar 19
2
sorting with criteria that are "out of order"
I try to sort this dataframe: [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [1,] "CM" "BARBY" "INCREASED" " 0" " 2" " 0" " 1" " 1" [2,] "CM" "BARBY" "REDUCED" " 0" " 1" " 2" " 2" " 5" [3,] "CM"