FAQ

Search Discussions

86 discussions - 300 posts

  • == Summary == * Problem: BibTeX entries extracted from R packages via citation() require too much manual editing to be of general use. * Proposal: Date: fields should be made mandatory in package ...
    Michael FriendlyMichael Friendly
    Nov 3, 2010 at 1:44 pm
    Nov 16, 2010 at 1:04 pm
  • Hi all, I'm trying to understand how the search path and namespaces interact. For example, take the devtools package which suggests the testthat package. Here's what the search path looks like after ...
    Hadley WickhamHadley Wickham
    Nov 15, 2010 at 11:26 pm
    Nov 16, 2010 at 2:19 pm
  • Hello, I've created this class: setClass("example", representation ( size = "numeric", id = "character" ) ) Suppose I create a new instance of this class: This creates an S4 object with two slots. Am ...
    Patrick LeyshockPatrick Leyshock
    Nov 12, 2010 at 10:31 pm
    Nov 16, 2010 at 8:46 pm
  • Dear list, I've just tried to compile R 2.12.0 from source as I think I found an error in a C function that I would like to fix and check before I go ahead with posting the presumed error. I've got ...
    Janko ThysonJanko Thyson
    Nov 17, 2010 at 4:51 pm
    Nov 18, 2010 at 5:43 pm
  • I have a package that I'm developing that I need to unload the library. Long story short I figured out that the leaving the compiled code loaded lead to a segmentation fault, but unloading the code ...
    Andrew ReddAndrew Redd
    Nov 12, 2010 at 9:26 pm
    Nov 18, 2010 at 4:12 pm
  • Hello, I am trying write a script that includes a prompt for user input using readlines() and was told that folks at R-devel might be able to help. I am running into the problem that when I run ...
    Nathan MillerNathan Miller
    Nov 22, 2010 at 9:11 pm
    Oct 20, 2012 at 1:46 am
  • Dear List, So far, I really like those new R5 classes. But what kind of puzzles me is that it's not just enough to define the actual reference class, I also have to assign it to an object (e.g ...
    Janko ThysonJanko Thyson
    Nov 15, 2010 at 11:26 pm
    Nov 22, 2010 at 5:25 pm
  • I am experiencing unexpected behavior with the command cat under Window GUI builds of R version 2.12.0 (it does not seem to be an issue in Rterm). For example if I issue the command cat(70,"\r") I ...
    Russell PierceRussell Pierce
    Nov 8, 2010 at 1:57 am
    Nov 30, 2010 at 7:00 am
  • I posted this yesterday to r-help and Ben Bolker suggested reposting it here... Dickison, Daniel <ddickison <at carnegielearning.com writes: Could you re-post this on r-devel? It definitely sounds ...
    Dickison, DanielDickison, Daniel
    Nov 17, 2010 at 3:49 pm
    Nov 18, 2010 at 3:56 pm
  • The survexp function can fail when called from another function. The "why" of this has me baffled, however. Here is a simple test case, using a very stripped down version of survexp: survexp.test <- ...
    Terry TherneauTerry Therneau
    Nov 11, 2010 at 8:08 pm
    Nov 11, 2010 at 11:25 pm
  • Hello, Based on yesterday's R-help thread (help: program efficiency), and following Bill's suggestions, it appeared that sequence: function (nvec) unlist(lapply(nvec, seq_len)) <environment ...
    Romain FrancoisRomain Francois
    Nov 28, 2010 at 8:45 am
    Dec 16, 2010 at 6:14 pm
  • parseNamespaceFile() doesn't seem to detect misspelled directives. Looking at its code I see switch(as.character(e[[1L]]), <lots of args omitted here , stop(gettextf("unknown namespace directive ...
    Charles C. BerryCharles C. Berry
    Nov 27, 2010 at 10:58 pm
    Nov 28, 2010 at 10:54 pm
  • Hi all! I read R Extensions manual. But still I am not sure how to call R functions from C. Would any of you give me a sample C code to show how to call R functions - for instance, time series ...
    이원재이원재
    Nov 22, 2010 at 4:24 pm
    Nov 23, 2010 at 12:23 pm
  • Hi, consider this one as an FYI, or a seed for further discussion. I am aware that many traps on sample() have been reported over the years. I know that these are also documents in help("sample") ...
    Henrik BengtssonHenrik Bengtsson
    Nov 3, 2010 at 5:54 pm
    Nov 4, 2010 at 5:59 pm
  • in a long program, I ran into ?*** caught segfault *** address 0xdc3f9b48, cause 'memory not mapped' Traceback: ?1: rep.int(seq_len(nx), rep.int(rep.fac, nx)) ?2: rep.int(rep.int(seq_len(nx), ...
    Ivo welchIvo welch
    Nov 24, 2010 at 4:18 pm
    Dec 2, 2010 at 9:50 pm
  • Hi, The recommended package matrix contains an empty file src/dummy.cpp which results in using g++ instead of gcc to link Matrix.so. What is the reason for that? Is there any difference between using ...
    Ambrus KaposiAmbrus Kaposi
    Nov 28, 2010 at 12:39 pm
    Nov 29, 2010 at 1:38 pm
  • Hi, I posted this a week ago on r-help but did not get an answer. So I hope that someone here can help me: I want to define some options for my package the user may change. It would be convenient if ...
    Mark HeckmannMark Heckmann
    Nov 20, 2010 at 4:12 pm
    Nov 22, 2010 at 4:34 pm
  • I normally see digest once per day, but got msg from Doug Bates so responding with context. UCMINF is a package on CRAN that implements a variable metric minimizer. It does quite well on ...
    Prof. John C NashProf. John C Nash
    Nov 16, 2010 at 8:35 pm
    Nov 16, 2010 at 11:02 pm
  • I am not sure if this is an R development problem or not. I am starting with completely clean OS and and installing the latest version of R without trying to anything special but I am having trouble ...
    Ron BurnsRon Burns
    Nov 14, 2010 at 6:05 pm
    Nov 15, 2010 at 2:44 am
  • According to ?system2, I should be able to direct the output of STDERR to a file by giving the filename as a character vector to the "stderr" argument. But here is what happens. Given a ruby script ...
    Dan TenenbaumDan Tenenbaum
    Nov 11, 2010 at 2:21 am
    Nov 12, 2010 at 5:49 pm
  • Dear list, somehow I can't get the Roxygen tag "@example" to work for me. My "Roxygen-Header" of a script containing, say, a function looks like this: #' My header #' #' My description #' #' @param a ...
    Janko ThysonJanko Thyson
    Nov 4, 2010 at 12:50 am
    Nov 4, 2010 at 6:12 pm
  • In Section 'Package subdirectories' of 'Writing R Extensions', it says about the inst/ directory that: "The contents of the inst subdirectory will be copied recursively to the installation directory ...
    Henrik BengtssonHenrik Bengtsson
    Nov 2, 2010 at 10:53 pm
    Nov 4, 2010 at 5:59 pm
  • kronecker, with make.dimnames=TRUE uses a hardwired sep=":" in the line tmp <- outer(dnx[[i]], dny[[i]], FUN = "paste", sep = ":") For an application in which dimnames arise from an n-way array, ...
    Michael FriendlyMichael Friendly
    Nov 25, 2010 at 8:10 pm
    Nov 29, 2010 at 1:59 pm
  • Hello: What do I need to do to compile R packages (especially RMySQL) for the 64-bit version of R 2.12.0 under Vista_x64? I upgraded to "Rtools212.exe" yesterday but immediately got errors from "R ...
    Spencer GravesSpencer Graves
    Nov 26, 2010 at 6:06 pm
    Nov 26, 2010 at 9:13 pm
  • Dear list, I don't know what's the correct term for this in the OOP context, but is it possible to "clone"/copy an instance of a reference class (say 'a') so that I get an *autonomous* second ...
    Janko ThysonJanko Thyson
    Nov 24, 2010 at 9:47 am
    Nov 25, 2010 at 5:05 pm
  • Dear list, I have a reference class which should act as a "generic" superclass for other classes. I've read the respective section at ?setRefClass and put the name of the superclass to the 'contains' ...
    Janko ThysonJanko Thyson
    Nov 21, 2010 at 11:31 pm
    Nov 22, 2010 at 10:34 pm
  • Hi there, I'd like to choose between an "static" and "dynamic" access of a reference class field, say 'a'. myObj <- getRefClass("Blabla")$new() Static: myObj$a Dynamic: myObj$a.get() where the ...
    Janko ThysonJanko Thyson
    Nov 17, 2010 at 12:07 pm
    Nov 17, 2010 at 2:33 pm
  • Hola! I just changed my laptop to debian squeeze, downloaded R devel from svn repo, as described in the manual. Then I configured for building in a separate build dir with: kjetil at ...
    Kjetil HalvorsenKjetil Halvorsen
    Nov 13, 2010 at 11:25 pm
    Nov 15, 2010 at 1:15 am
  • Hi, Found in ?eapply (in current R-devel): \value{ A named (unless \code{USE.NAMES = FALSE}) list. Note that the order of the components is arbitrary for hashed environments: currently it will be in ...
    Hervé PagèsHervé Pagès
    Nov 10, 2010 at 2:21 am
    Nov 10, 2010 at 6:42 pm
  • Dear developers, I am trying to run some C/ Fortran code in R. Although I have experience with that in Windows (Vista) 32 bit, I could not succeed in 64 bit. I downloaded the following: - R 2.12.0 - ...
    Aysun CetinyurekAysun Cetinyurek
    Nov 3, 2010 at 12:20 pm
    Nov 4, 2010 at 6:44 am
  • Hello all, I don't know if it is possible, but I would like to use do.call in C code in my package. The function do.call is defined as function (what, args, quote = FALSE, envir = parent.frame()) { ...
    Christophe DutangChristophe Dutang
    Nov 2, 2010 at 3:28 pm
    Nov 3, 2010 at 8:44 am
  • Hi, There is a small bug in the kernel() function. Everything is fine when we use the format: kernel("name",m,r) but if we want the first argument to be a vector, which is useful is we are interested ...
    Pierre ChaussePierre Chausse
    Nov 30, 2010 at 5:09 pm
    Nov 30, 2010 at 6:57 pm
  • Hi Duncan, just noticed that after installing the Windows R-2.13.0 build there is no i386 directory in the R-2.13.0dev/bin directory and hence no Rgui.exe. Is this intentional with the devel version? ...
    Keith SatterleyKeith Satterley
    Nov 30, 2010 at 6:41 am
    Nov 30, 2010 at 12:13 pm
  • Hi there, is it possible to register fields as you can register methods with getRefClass("Classname")$methods(.)? I know that you should usually give some thought on which fields you need and ...
    Janko ThysonJanko Thyson
    Nov 21, 2010 at 10:18 pm
    Nov 27, 2010 at 10:58 am
  • Hi, I'd like to plot a tree with images of molecular structures instead of labels (words). I think this is possible because someone who worked in my office before I arrived did this. However I'm not ...
    DarfunkelDarfunkel
    Nov 16, 2010 at 9:03 pm
    Nov 24, 2010 at 8:02 am
  • Greetings, I last built R-2.11.1 a few months ago. The computer was equipped with these:- ---cpu amd64 2 cores ---o/s cblfs 64-bit only linux kernel-2.6.32 gcc-4.4.2 jdk(1.5)-6U20? ---bls atlas3.9.26 ...
    luxIntegluxInteg
    Nov 20, 2010 at 10:35 pm
    Nov 22, 2010 at 9:56 pm
  • Hi Guys I have defined a generic function, for which one of the arguments has a default: setGeneric( "getFwdRate", function(.Object, tenorFrom, tenorTo=tenorFrom) standardGeneric("getFwdRate") ) Then ...
    EvilphilEvilphil
    Nov 11, 2010 at 12:13 pm
    Nov 22, 2010 at 4:34 pm
  • Dear developers, I am a maintainer of the CORElearn package which uses OpenMP multithreading to speed up some computations. When producing a new release we tested the package with the latest R ...
    Marko Robnik-©ikonjaMarko Robnik-©ikonja
    Nov 19, 2010 at 3:58 pm
    Nov 20, 2010 at 7:25 pm
  • Dear R users, I have a small project written in Java and need some statical tools. Therefore, I used JRI (in rJava package) as an interface between R and Java to write some wrappers for my work ...
    KeithKeith
    Nov 19, 2010 at 6:40 pm
    Nov 20, 2010 at 10:12 am
  • Dear R-devel members, I would like to compile a package with two seperate shared libraries. For example, in a package 'foo', a file 'bar.so' built from a distinct set of source files should be ...
    Andreas BorgAndreas Borg
    Nov 15, 2010 at 10:10 am
    Nov 16, 2010 at 8:20 am
  • I am preparing a script, which uses three graphical windows for different types of plots. Before each plot, the device can be chosen by dev.set(k) for k = 2, 3, 4. The function dev.set(k) does not ...
    Petr SavickyPetr Savicky
    Nov 13, 2010 at 10:44 am
    Nov 13, 2010 at 6:50 pm
  • Dear Developers, callNextMethods does not work with "$" setClass("mylist", contains = "list"): setMethod("$", signature(x = "mylist"), function (x, name){ cat("here:\n") callNextMethod() }) tl <- ...
    Vitalie S.Vitalie S.
    Nov 10, 2010 at 12:49 pm
    Nov 11, 2010 at 1:47 pm
  • Hello, I think there is a problem in recent devel builds of R on Windows with various devices from the grDevices package. For example: jpeg png tiff tcltk X11 aqua http/ftp sockets TRUE TRUE TRUE ...
    Dan TenenbaumDan Tenenbaum
    Nov 8, 2010 at 8:14 pm
    Nov 9, 2010 at 3:53 pm
  • Hi Vinh, thanks for the reply. What you suggest works just fine. It's not the thing I'm looking for, though, since it means I have to "hard code" my examples to the actual script. That's exactly what ...
    Janko ThysonJanko Thyson
    Nov 4, 2010 at 1:14 pm
    Nov 4, 2010 at 5:49 pm
  • Dear all, I tried to build a package from source, and ran into a problem. * checking for file 'RQDA/DESCRIPTION' ... OK * preparing 'RQDA': * checking DESCRIPTION meta-information ... OK ERROR ...
    WincentWincent
    Nov 2, 2010 at 2:16 am
    Nov 2, 2010 at 1:51 pm
  • For the purpose of helping in installing only parts of a package (in my case, the help system), R CMD INSTALL should accept a flag --no-check-deps Below is a diff for R-devel, svn revision 53672 ...
    Kjetil HalvorsenKjetil Halvorsen
    Nov 30, 2010 at 12:10 am
    Dec 3, 2010 at 8:50 am
  • Hi, I've noticed that as.vector() always allocates a new object, e.g. tracemem[0x000000000561c388 - 0x000000000561c3e0]: as.vector and so on. This also seems to be the reason for an extra copy being ...
    Henrik BengtssonHenrik Bengtsson
    Nov 23, 2010 at 2:12 pm
    Nov 30, 2010 at 6:40 am
  • Dear all, Sweave chokes when using "\\" in the path to the Rnw file. Using "/" works fine. The problem is that Eclipse+StatET uses "\\" in the filename. And example of the error, traceback and ...
    ONKELINX, ThierryONKELINX, Thierry
    Nov 29, 2010 at 1:07 pm
    Nov 29, 2010 at 3:56 pm
  • Hello, The documentation for the tar command leads me to think there is an internal implementation when the command can't be found in the OS. However, it doesn't seem to be the case, as I get an ...
    Dario StrbenacDario Strbenac
    Nov 29, 2010 at 3:00 am
    Nov 29, 2010 at 4:35 am
  • Greetings, I wanted to add a dataset to a complete R package I am working on (the package cleanly installs and passes the R CMD check). The data (a matrix) was saved, and the save() image dragged to ...
    Ronald BarryRonald Barry
    Nov 28, 2010 at 10:10 am
    Nov 28, 2010 at 1:27 pm
Group Navigation
period‹ prev | Nov 2010 | next ›
Group Overview
groupr-devel @
categoriesr
discussions86
posts300
users100
websiter-project.org
irc#r

100 users for November 2010

Janko Thyson: 25 posts Prof Brian Ripley: 20 posts Henrik Bengtsson: 16 posts Duncan Murdoch: 15 posts Hadley Wickham: 9 posts Romain Francois: 8 posts Andrew Redd: 7 posts Ben Bolker: 7 posts Charles C. Berry: 7 posts Simon Urbanek: 7 posts Vitalie S.: 7 posts Hervé Pagès: 6 posts Dan Tenenbaum: 5 posts Dirk Eddelbuettel: 5 posts John Chambers: 5 posts Prof. John C Nash: 5 posts Uwe Ligges: 5 posts Davor Cubranic: 4 posts Dickison, Daniel: 4 posts Gabor Grothendieck: 4 posts
show more
Archives