Search Discussions

60 discussions - 212 posts

  • A question, please about development of R packages: Are there any guidelines or best practices for deciding when and why to implement an operation in R, vs. implementing it in C? The "Writing R ...
    Patrick LeyshockPatrick Leyshock
    Jan 17, 2011 at 5:13 pm
    Jan 18, 2011 at 5:50 pm
  • Hi, str() on raster objects fails for certain dimensions. For example: Error in `[.raster`(object, seq_len(max.len)) : subscript out of bounds This seems to do with how str() and "[.raster"() is ...
    Henrik BengtssonHenrik Bengtsson
    Jan 31, 2011 at 7:16 pm
    Feb 8, 2011 at 8:59 pm
  • Hello everyone! Motivated by the recent post on SO http://stackoverflow.com/questions/4730551/making-a-string-concatenation-operator-in-r I wonder what is the current state of argument on making "+" ...
    Vitalie S.Vitalie S.
    Jan 22, 2011 at 8:08 pm
    Jan 24, 2011 at 7:30 pm
  • Dear r-devel list members, On a couple of occasions I've encountered the issue illustrated by the following examples: --------- snip ----------- + subs <- 1:10 + update(mod, subset=subs) + } Call ...
    John FoxJohn Fox
    Jan 4, 2011 at 9:35 pm
    Jan 6, 2011 at 12:31 pm
  • Hello, Using R-devel (rev 53950), I get inconsistent results with as.environment( VECSXP ) when gctorture is on. Consider: a <- list( aa = rnorm, bb = runif ) gctorture(TRUE) as.environment( a ) The ...
    Romain FrancoisRomain Francois
    Jan 11, 2011 at 7:33 pm
    Jan 13, 2011 at 10:14 pm
  • Two things have emerged in testing on x86_64 Fedora 14 which mean that a recent R-patched is probably needed. 1) That OS uses zlib 1.2.5: that claims to be binary-compatible with zlib 1.2.3 but is ...
    Prof Brian RipleyProf Brian Ripley
    Jan 31, 2011 at 7:48 pm
    Feb 2, 2011 at 3:39 pm
  • [I originally posted this on the R-help mailing list, and it was suggested that R-devel would be a better place to dicuss it.] Running ?table? on a factor with levels containing non-ASCII characters ...
    Karl Ove HufthammerKarl Ove Hufthammer
    Jan 21, 2011 at 9:47 am
    Jan 26, 2011 at 1:37 pm
  • Hi, A quick bench-mark of an R matrix muliplication 500by500 X 500by10000, all random variates, with matlab reveals a huge difference in speed (5 times at least). Is there anything that can be done ...
    Jan 14, 2011 at 8:09 am
    May 10, 2011 at 6:07 am
  • Hello, It seems that the plot function for dendrograms does not draw labels when they are too long. Is this expected ? Is it possible to force the drawing ? Thank you, Karl
    Karl FornerKarl Forner
    Jan 25, 2011 at 10:27 am
    Jan 30, 2011 at 8:42 pm
  • Hi, I'm putting together an R package. In explaining how it works (in the Rd files), I want to refer to another package. The other package is not used anywhere in the actual code nor in the ...
    Kevin R. CoombesKevin R. Coombes
    Jan 27, 2011 at 8:22 pm
    Jan 29, 2011 at 8:57 pm
  • Hi, I build the binary package file of RPostgreSQL 0.1.7 for Windows 2003 Server R2 64 bit SP2, the software environments are as following: R 2.12.1 for Win64 RTools212 for Win64 DBI 0.2.5 ...
    Xiaobo GuXiaobo Gu
    Jan 15, 2011 at 2:34 am
    Jan 29, 2011 at 9:07 am
  • I just tried ?Constants at the console and was disappointed that the so-named base help page would not come up. No documentation for 'Constants' in specified packages and libraries: you could try ...
    David WinsemiusDavid Winsemius
    Jan 7, 2011 at 5:08 am
    Jan 7, 2011 at 1:54 pm
  • Hi, I'd like to construct an R list object in C++, fill it with relevant data, and pass it to an R function which will return a different list object back. I have browsed through all the R manuals, ...
    Wayne ZhangWayne Zhang
    Jan 26, 2011 at 10:56 pm
    Jan 27, 2011 at 9:16 pm
  • I'm experimenting with a few model-fitting classes of my own. I'm leaning towards using S4 for my classes, but the R functions I'd want to override (residuals, predict, etc.) are all S3 methods. As I ...
    Johann HibschmanJohann Hibschman
    Jan 20, 2011 at 3:24 pm
    Jan 24, 2011 at 5:13 pm
  • Hi All, I am new to this area and use Rcpp to call C++ from R and try to build the package under Windows 7. I use Rtools and R 2.10.1 32bit. Everything works fine with me, except using R functions ...
    Jan 20, 2011 at 9:05 pm
    Jan 22, 2011 at 7:21 pm
  • Dear all, I just stumbled over the fact that subsetting by square bracket will only output the first given index. I guess the rest is thrown away by the CADDR in RenderSub (plotmath.c l. 1399). Maybe ...
    Claudia BeleitesClaudia Beleites
    Jan 20, 2011 at 1:05 pm
    Jan 21, 2011 at 6:25 pm
  • I agree that it is natural then, to expect min(), max() and range() to work as well. (the above is now even more garbled than it was already by your use of HTML-ified e-mail ..) But your code is ...
    Martin MaechlerMartin Maechler
    Jan 5, 2011 at 3:26 pm
    Jan 8, 2011 at 7:54 am
  • Hi, is it possible, that the current development version for Windows ( http://cran.at.r-project.org/bin/windows/base/R-2.13.0dev-win.exe) is infected by a trojan/virus. My antivir-program ...
    Andreas MayrAndreas Mayr
    Jan 28, 2011 at 8:47 am
    Jan 28, 2011 at 2:17 pm
  • Hi, I'm trying to make a new S4 object with a slot for a "link-glm" object. R doesn't like me have a slot of class "link-glm" [1] "a" Warning message: undefined slot classes in definition of "a" ...
    Paul BaileyPaul Bailey
    Jan 28, 2011 at 4:51 am
    Jan 29, 2011 at 8:49 pm
  • Dear r-devel-list, dear John Chambers, I'm trying to learn OOP-possibilities in R and I was going through the documentation 'ReferenceClasses {methods}' (great work, by the way...). Reading ...
    Marc CarpentierMarc Carpentier
    Jan 28, 2011 at 7:01 pm
    Jan 29, 2011 at 10:49 am
  • Hi, is there an easy, robust, and/or recommended way to distinguish a missing argument from an empty argument as in: foo <- function(i, j){ print(missing(j)) print(nargs()) } foo(i) # TRUE, 1 foo(i,) ...
    Renaud GaujouxRenaud Gaujoux
    Jan 25, 2011 at 9:27 am
    Jan 25, 2011 at 11:01 am
  • I currently have a program that automates 2-way ANOVA on a series of endpoints, but before the ANOVA is carried out I want the code to test the assumptions of normality and equal variance and report ...
    Karthi SubramanianKarthi Subramanian
    Jan 24, 2011 at 5:05 pm
    Jan 24, 2011 at 9:02 pm
  • Request: An additional hook in plot.new() that is called prior to the call to .Internal(plot.new()). Reason: To allow the hook to set up or modify a graphics device that the new plot will appear in ...
    Tony PlateTony Plate
    Jan 23, 2011 at 3:44 pm
    Jan 23, 2011 at 8:23 pm
  • Maybe I'm just overlooking something, but I can't figure out how to set/change the locale of a file loaded into the built-in script editor on Windows. The generic issue is that if I make a teaching ...
    Peter dalgaardPeter dalgaard
    Jan 21, 2011 at 3:14 pm
    Jan 23, 2011 at 8:18 pm
  • In R 2.12.0 I get y ~ x + f3 In S+ formula(m) gives formula given to model.frame(), but in R you have to do the following get that formula: y ~ (x + f3)^2 Would it break anything to add to the top of ...
    William DunlapWilliam Dunlap
    Jan 7, 2011 at 1:29 am
    Jan 19, 2011 at 11:43 pm
  • I have run into a potential bug somewhere between format (specifically scientific notation) and plotmath that results in displaying: $1e+01^{2e+00}$ instead of $10^2$ Reproduce by: plot.new() ...
    Philip JohnsonPhilip Johnson
    Jan 17, 2011 at 10:06 pm
    Jan 18, 2011 at 4:52 pm
  • I believe there is a memory leak in isoreg in the current version of R, as I believe the following shows used (Mb) gc trigger (Mb) max used (Mb) Ncells 120405 3.3 350000 9.4 350000 9.4 Vcells 78639 ...
    Simon WotherspoonSimon Wotherspoon
    Jan 17, 2011 at 3:41 am
    Jan 17, 2011 at 9:53 pm
  • This might be a dumb question, but I couldn't figure out how to find the answer: why is it that comments in R documentation files (i.e. in examples) typically start with a double hash (##) instead of ...
    Jan 13, 2011 at 7:34 pm
    Jan 14, 2011 at 6:53 pm
  • Have UI that simplifies running code from another (internal) package, allowing user to set values on fields I basically grabbed from results of calls to formals() for various functions. That works ...
    Roebuck,Paul LRoebuck,Paul L
    Jan 12, 2011 at 5:23 pm
    Jan 13, 2011 at 8:46 pm
  • Recently installed 2.12.1 on my CentOS 5.5 box. Install of R went without incident, and packages downloaded and compiled fine. With one exception -- my interest is somewhat in the problems with this ...
    Jan 6, 2011 at 9:27 pm
    Jan 7, 2011 at 3:52 pm
  • Dear All, I need to convert all Rd help pages for my package to HTML format in order to serve these on our web-server. Ideally, I would like to do that as "all docs in single page" and also index ...
    Jan 28, 2011 at 6:35 am
    Jan 28, 2011 at 7:46 am
  • Dear list, There is, I believe, a minor typo in the example section of influence.measures.Rd. In the final example the word `does` appears where I suspect `dose` is required: I couldn't remember ...
    Gavin SimpsonGavin Simpson
    Jan 27, 2011 at 2:47 pm
    Jan 27, 2011 at 6:09 pm
  • Dear list, I'm tackling an empiric research problem that requires me to address a whole bunch of conceptual and/or technical details at the same time which cuts time short for all the nitty-gritty ...
    Janko ThysonJanko Thyson
    Jan 26, 2011 at 7:34 pm
    Jan 26, 2011 at 10:31 pm
  • I'm having a problem with aggregate.formula when I call it in a function and the function is converted from a string in the funtion I think my problem may also only occur when the left hand side of ...
    Paul BaileyPaul Bailey
    Jan 26, 2011 at 7:04 pm
    Jan 26, 2011 at 7:31 pm
  • Hi. I'm writing a print method for an object that includes a numeric matrix for which the lower diagonal elements are not meaningful. So I make the lower diagonal of my matrix NA and print it. But my ...
    Robin HankinRobin Hankin
    Jan 25, 2011 at 3:34 pm
    Jan 25, 2011 at 4:08 pm
  • Dear R developers, A recent typo led me to discover, that R is happy to accept [1] 20 as input. This appears to be related to the parsing of hexadecimal constants, since there must be a zero before ...
    Olaf MersmannOlaf Mersmann
    Jan 24, 2011 at 8:15 am
    Jan 25, 2011 at 7:22 am
  • I'm converting the "Changelog" files that I have used in the survival package (since the 1980s) to the inst/NEWS.Rd format and a couple of things are not clear from the help page. 1. What should I ...
    Terry TherneauTerry Therneau
    Jan 22, 2011 at 3:58 pm
    Jan 24, 2011 at 10:07 pm
  • Dear list, I was wondering if it is possible to create and use a package namespace at the development stage of a package. To clarify, I would like to make sure that my package functions (and not some ...
    Janko ThysonJanko Thyson
    Jan 23, 2011 at 8:21 pm
    Jan 24, 2011 at 10:47 am
  • When weighted.residuals() is given a fitted model object with several responses (class mlm) and some zero weights it returns a vector instead of a matrix. It looks like it is doing resids[ weights != ...
    William DunlapWilliam Dunlap
    Jan 19, 2011 at 10:58 pm
    Jan 20, 2011 at 7:29 am
  • x <- NA na.act <- na.action(na.exclude(x)) y <- rep(0,0) naresid(na.act,y) ... currently produces the result... numeric(0) ... whereas the documentation might lead you to expect NA The behaviour is ...
    Simon WoodSimon Wood
    Jan 14, 2011 at 2:52 pm
    Jan 19, 2011 at 12:06 pm
  • A colleague designed a script for a bar plot, which I'd like to export to my directory via the barplot command: bitmap(file="barplot.tif", type="tifflzw", height=4, width=6.5, res50) Unfortunately, ...
    Jeremy KosterJeremy Koster
    Jan 14, 2011 at 6:12 pm
    Jan 15, 2011 at 7:59 am
  • Hi, I use Sweave extensively in my consulting work. When submitting reports to the scientists I work with I like to use the citation function to reference any packages I use, to give proper ...
    Nicholas Lewin-KohNicholas Lewin-Koh
    Jan 7, 2011 at 4:25 pm
    Jan 8, 2011 at 2:37 pm
  • Hi, I am currently writing an extension for R and have the need to include some C code. If I call the code with a large amount of data then it can take several minutes to complete. The C code prints ...
    Robert LoweRobert Lowe
    Jan 4, 2011 at 4:41 pm
    Jan 4, 2011 at 5:09 pm
  • Hi. The following results in a data.frame with column names starting with "A.": x y 1 1 1 2 2 2 A.x A.y 1 1 1 2 2 2 whereas with a single-column matrix you won't get "A.": x 1 1 2 2 x 1 1 2 2 I'd ...
    Henrik BengtssonHenrik Bengtsson
    Jan 31, 2011 at 4:14 am
    Jan 31, 2011 at 4:14 am
  • Hello, I noticed a behavior ot the cut() function that does not seem right. In a dendrogram with only 2 leaves in one cluster, if you cut() at a height above this cluster, you end up with 2 cut ...
    Karl FornerKarl Forner
    Jan 28, 2011 at 11:54 am
    Jan 28, 2011 at 11:54 am
  • Dear all, I just saw that Google Summer of Code 2011 is announced: http://www.google-melange.com/ Claudia -- Claudia Beleites Dipartimento dei Materiali e delle Risorse Naturali Universit? degli ...
    Claudia BeleitesClaudia Beleites
    Jan 27, 2011 at 2:48 pm
    Jan 27, 2011 at 2:48 pm
  • Hi list, When nesting 2 function calls, if an exception occurs during the inner call, the error message will display properly: bar <- function() stop("bar() is broken") foo <- function(x) {x * (x - ...
    Hervé PagèsHervé Pagès
    Jan 25, 2011 at 6:13 pm
    Jan 25, 2011 at 6:13 pm
  • I forgot to state the version of R in my last message. R version 2.12.1 (2010-12-16) Copyright (C) 2010 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i686-pc-linux-gnu ...
    Terry TherneauTerry Therneau
    Jan 22, 2011 at 4:04 pm
    Jan 22, 2011 at 4:04 pm
  • Hi all, i am trying to compile a test, calling from C code R Lapack shared libraries. In particular, i am calling simple LAPACK driver dposv for solving linear equation system A*x=B with positive ...
    Andre ZegeAndre Zege
    Jan 22, 2011 at 2:43 am
    Jan 22, 2011 at 2:43 am
  • Hi, I have just encountered a strange behaviour from 'cor' with regards to the treatment of NAs when calculating Spearman correlations. I guess it is a subtle bug. If I understand the help page ...
    Simon AndersSimon Anders
    Jan 21, 2011 at 6:13 pm
    Jan 21, 2011 at 6:13 pm
Group Navigation
period‹ prev | Jan 2011 | next ›
Group Overview
groupr-devel @

83 users for January 2011

Prof Brian Ripley: 21 posts Martin Maechler: 8 posts Spencer Graves: 8 posts Duncan Murdoch: 7 posts Peter dalgaard: 7 posts Simon Urbanek: 7 posts Dominick Samperi: 6 posts Claudia Beleites: 5 posts Dirk Eddelbuettel: 5 posts Gabor Grothendieck: 5 posts John Fox: 5 posts Karl Ove Hufthammer: 5 posts Luke-Tierney: 5 posts Janko Thyson: 4 posts Martin Morgan: 4 posts William Dunlap: 4 posts Xiaobo Gu: 4 posts Ben Bolker: 3 posts Carol white: 3 posts Hadley Wickham: 3 posts
show more