Grokbase Groups R r-devel May 2012

Search Discussions

55 discussions - 241 posts

  • Hi, I'd like to spawn of a new R process from within R using system(), e.g. system("R -f myScript.R"). However, just specifying "R" as in that example is not guaranteed to work, because "R" may not ...
    Henrik BengtssonHenrik Bengtsson
    May 22, 2012 at 5:34 pm
    May 23, 2012 at 12:50 am
  • Hello, I implemented the Beta binomial distribution following the patterns of the binomial distribution code and inspired by JAGS' code [1]. I have studied the code carefully but it's my first run in ...
    Joan MasponsJoan Maspons
    May 22, 2012 at 10:14 am
    Jun 11, 2012 at 6:10 pm
  • Hi, I've read ?is.unsorted and searched. Have found a few items but nothing close, yet. Is the following expected? [1] TRUE IIUC, is.unsorted is intended for atomic vectors only (description of x in ...
    Matthew DowleMatthew Dowle
    May 23, 2012 at 8:37 am
    May 24, 2012 at 6:42 pm
  • I have always assumed that having a package in the 'Depends' field would automatically also?import?the namespace. However, it seems that in R 2.15, dependencies do not become available until the ...
    Jeroen OomsJeroen Ooms
    May 13, 2012 at 7:15 am
    May 13, 2012 at 10:06 pm
  • Dear R-devel, While tracking down some hard-to-reproduce bugs in a package I maintain, I stumbled on a behavior change between R 2.15.0 and the current R-devel (or SVN trunk). In 2.15.0 and earlier, ...
    Pavel N. KrivitskyPavel N. Krivitsky
    May 4, 2012 at 5:42 pm
    Jul 1, 2012 at 9:17 pm
  • Can anyone share some opinions on test suites for R packages? I'm looking at testthat and RUnit. Does anyone have strong opinions on either of those. Any additional packages I should consider? ...
    Whit ArmstrongWhit Armstrong
    May 17, 2012 at 2:10 pm
    May 23, 2012 at 4:47 pm
  • I'm trying to load a package locally from a zip file. When I load the package, I first get this, which looks okay: package ?IBGEPesq? successfully unpacked and MD5 sums checked HOWEVER, when I try to ...
    May 14, 2012 at 6:37 pm
    May 17, 2012 at 12:42 pm
  • I have been building R-devel daily for years. In the last week or so, R-devel has failed make check with the error in tests/Examples/parallel-Ex.R The specific error is Error in dyn.load(file, ...
    Kasper Daniel HansenKasper Daniel Hansen
    May 17, 2012 at 12:52 pm
    May 17, 2012 at 10:14 pm
  • Hi all, I'm struggling to decompress a gzip'd raw vector in memory: content <- readBin("", "raw", 1000) memDecompress(content, type = "gzip") # Error in memDecompress(content, ...
    Hadley WickhamHadley Wickham
    May 2, 2012 at 1:24 pm
    May 2, 2012 at 4:53 pm
  • Hi all, I experienced a crash in R-2.15.0 on 32-bit Windows XP (sessionInfo below) when running the piece of code below. I cannot replicate the error on 64-bit Linux, 64-bit Windows, or 32-bit R ...
    Joshua UlrichJoshua Ulrich
    May 6, 2012 at 2:39 am
    May 6, 2012 at 4:22 pm
  • Greetings: I'm still working on functions to make it easier for students to interpret regression predictions. I am working out a scheme to more easily create "newdata" objects (for use in predict ...
    Paul JohnsonPaul Johnson
    May 3, 2012 at 3:51 pm
    May 4, 2012 at 4:56 pm
  • Sometimes I have hundreds of CSV files scattered in a directory tree, resulting from experiments' executions. For instance, giving an example from my field, I may want to collect the performance of a ...
    Victor jimenezVictor jimenez
    May 3, 2012 at 6:07 pm
    May 3, 2012 at 10:09 pm
  • I have a continuous loop running in an external library that I am calling from C (R API). This loop is processing events in real time with the possibility of significant lag between events. When ...
    Jeffrey RyanJeffrey Ryan
    May 22, 2012 at 8:31 pm
    May 23, 2012 at 5:23 pm
  • About April 25th, there had been some changes within R-devel's src/nmath/pnbeta.c (and probably some other relevant places) and now building R-devel on FreeBSD 10.0-CURRENT (amd64) with gcc-4.6.4 and ...
    Rainer HurlingRainer Hurling
    May 15, 2012 at 5:05 pm
    May 21, 2012 at 6:26 am
  • Sorry for this intrusion, but I am confused by two statements that appear to conflict at some level in Writing R Extensions, and wanted to make sure I understand the answer to: Can we distribute a ...
    Daniel FukaDaniel Fuka
    May 18, 2012 at 3:11 pm
    May 18, 2012 at 3:39 pm
  • This may be elementary, but I can't find an answer: How can I set up global options for some specific arguments to functions in a package which can be easily changed by the user? This question ...
    Michael FriendlyMichael Friendly
    May 10, 2012 at 1:59 pm
    May 10, 2012 at 6:10 pm
  • Hi All, I just downloaded the source tar ball (Revision: 59324 Last Changed Date: 2012-05-07) and tried to compile on a Win x64 system. I am using Rtools version The only change I make ...
    Joshua WileyJoshua Wiley
    May 8, 2012 at 5:46 am
    May 10, 2012 at 12:36 pm
  • Hi there, I am trying to interface c++ code in R and make a package. With R CMD SHLIB the dll was created, but when I try R CMD check, I am getting 'undefined reference to..' linkage error messages ...
    Zalan SzakolciZalan Szakolci
    May 8, 2012 at 10:35 pm
    May 9, 2012 at 1:28 pm
  • 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 ...
    Andre zegeAndre zege
    May 5, 2012 at 1:50 am
    May 5, 2012 at 12:44 pm
  • Greetings, I am working on modifying some code from the nlme package. I have had many discussions on the mixed models mailing list and have been directed to simply 'hack' the source code to have the ...
    Charles Determan JrCharles Determan Jr
    May 24, 2012 at 4:25 pm
    May 24, 2012 at 6:14 pm
  • Greetings. 2.15.0 added this behavior o Passing R objects other than atomic vectors, functions, lists and environments ...
    Rick SayreRick Sayre
    May 11, 2012 at 9:20 pm
    May 17, 2012 at 12:37 pm
  • Hello all, I've been using the R package LogicReg, but ended up having to change a certain parameter in the Fortran 77 code (namely, I had to change LGCntrMax to 25 in the file slogic.f). I am using ...
    E.D. GutierrezE.D. Gutierrez
    May 13, 2012 at 9:11 am
    May 14, 2012 at 12:51 pm
  • I maintain the geometry package, which integrates the Qhull C library ( into R. The Qhull function I hook into requires an open FILE handle as one of its arguments. I had set this ...
    David SterrattDavid Sterratt
    May 11, 2012 at 9:36 pm
    May 13, 2012 at 12:17 am
  • Hello: Under my Windows 7 system, "R CMD check DiercxkSpline_1.1-5.tar.gz" fails because: f951.exe: sorry, unimplemented: 64-bit mode not compiled in make: *** [bispev.o] Error 1 gfortran -m64 -O2 ...
    Spencer GravesSpencer Graves
    May 5, 2012 at 12:48 am
    May 8, 2012 at 7:13 pm
  • Dear all, I clicked "File-New Script" to open a R Editor, typed some commands in it and then saved it to a file. If the location where I tried to save the script contained Chinese Character, R Editor ...
    May 31, 2012 at 6:04 am
    Jun 1, 2012 at 9:10 am
  • Good afternoon. I am trying to compile a version of Rblas.dll based on ATLAS for the Corei7. I had remembered that there was mention of which file to adjust and that "xerbla" needed to be removed ...
    Adler, AvrahamAdler, Avraham
    May 9, 2012 at 6:54 pm
    May 31, 2012 at 4:44 pm
  • Hello. precompiled R-2.15.0, svn58871, macosx 10.7.4. I have discovered that defining column names of a dataframe can alter the behaviour of lm(): d <- c(4,7,6,4) x <- data.frame(cbind(0:3,5:2)) ...
    Robin hankinRobin hankin
    May 25, 2012 at 4:25 am
    May 25, 2012 at 4:52 am
  • Hi, I have asked this question before, but the solution I ended up with (see below) creates a note when running R CMD check. So I am trying again... I am developing a package B that, among other ...
    Jon Olav SkoienJon Olav Skoien
    May 24, 2012 at 9:38 am
    May 24, 2012 at 1:00 pm
  • The returned text by license() says, This can be displayed by RShowDoc("COPYING.LIB"), or obtained at the URI given. However, Error in RShowDoc("COPYING.LIB") : document not found Also, is URI a typo ...
    May 19, 2012 at 5:22 am
    May 22, 2012 at 6:26 pm
  • Hi, After uninstalling Rtools 2.14.0, I have installed the latest version of Rtools 2.15.0 which gives the two folders C:\Rtools\bin C:\Rtools\gcc-4.6.3 R is installed in the directory C:\R\R-2.15.0 ...
    Steve PedersonSteve Pederson
    May 18, 2012 at 6:55 am
    May 18, 2012 at 8:25 am
  • I'm having a problem rebuilding a package, new to me in R 2.15.0 (Linux) It hits all that contain the line \usepackage[pdftex]{graphics} and leads to the following when running R CMD check on the ...
    Terry TherneauTerry Therneau
    May 14, 2012 at 5:28 pm
    May 15, 2012 at 1:56 pm
  • Hi, Using the following simple character vector representing a time series with fractional seconds: datetime <- c("20/09/2011 13:00:59.00", "20/09/2011 13:00:59.02", "20/09/2011 13:00:59.04") ...
    Sebastian P. LuqueSebastian P. Luque
    May 30, 2012 at 6:15 pm
    May 30, 2012 at 6:51 pm
  • Hi, We've encountered a difference in running time between a straight function call and the same call using when the called function generated an error. We've isolated the problem to the ...
    Alon WassermanAlon Wasserman
    May 29, 2012 at 8:57 am
    May 29, 2012 at 1:15 pm
  • Hi all: I'm working on a project that I have packaged for ease of distribution. The different simulations in the package share code, so obviously I have those parts organized as functions. Now, I ...
    Wei HaoWei Hao
    May 25, 2012 at 7:33 pm
    May 25, 2012 at 9:24 pm
  • OK, I switched to r-devel. I'm caching the random seed by saving and lazy loading .Random.seed, so I think it should always be valid (except that it becomes a promise which is essentially an integer ...
    Yihui XieYihui Xie
    May 23, 2012 at 3:41 pm
    May 23, 2012 at 4:22 pm
  • Hello folks, it may be regarded as a user error to scale() your data prior to prcomp() instead of using its 'scale.' argument. However, it is a user thing that may happen and sounds a legitimate ...
    Jari OksanenJari Oksanen
    May 23, 2012 at 10:49 am
    May 23, 2012 at 11:02 am
  • In the examples for StructTS -- ($RHOME)/library/stats/man/StructTS.Rd -- could par(mfrow = c(4, 1)) plot(log10(UKgas)) plot(cbind(fitted(fit), resids=resid(fit)), main = "UK gas consumption") become ...
    R. Michael WeylandtR. Michael Weylandt
    May 15, 2012 at 2:31 am
    May 17, 2012 at 9:50 am
  • I've been tracking down a survival problem from R-help today. A short version of the primary issue is reconstructed by the following simple example: library(survival) attach(lung) fit <- ...
    Terry TherneauTerry Therneau
    May 16, 2012 at 8:59 pm
    May 16, 2012 at 9:59 pm
  • Hello everybody, please excuse my bad English. I am Alfredo Naime and I'm from to Venezuela. I want to make a lib with tools for simulation (queues, inventories, factory, etc.) using object-oriented ...
    Alfredo NaimeAlfredo Naime
    May 15, 2012 at 1:55 pm
    May 15, 2012 at 2:29 pm
  • I built my package under the R version 2.14.1 on windows without any problems by first checking for issues using R CMD check (no warnings) and then R CMD build to build the tar.gz. I can install this ...
    Marian K TalbertMarian K Talbert
    May 10, 2012 at 6:07 pm
    May 11, 2012 at 11:38 am
  • Hello. I am trying to build R on Windows. It appears that my build passes the various "make checks" (unless I missed some error) and running Rterm seems to work fine whereas Rgui has an immediate ...
    Adler, AvrahamAdler, Avraham
    May 9, 2012 at 11:25 pm
    May 10, 2012 at 5:55 pm
  • Hi All, I was wondering if there would be any interest in adding an option to the "save" function in R that I think would be useful. I was thinking that it might be useful to have an option that ...
    Robert M. FlightRobert M. Flight
    May 4, 2012 at 4:09 pm
    May 4, 2012 at 5:02 pm
  • Hello, pvshankar wrote Instead of operator '$' use function`[<-` with the right indexes. cname <- paste("s", subscr, sep="") DF[index, cname] <- value See ?"[<" (And df is the name of an ...
    Rui BarradasRui Barradas
    May 3, 2012 at 12:55 pm
    May 4, 2012 at 1:50 pm
  • I am running into a wall getting my system to work with rcpp and inline. Following Dirk's advice on stackoverflow, I hope someone is able to help me. My steps were to install MinGW 32 bit first, then ...
    Owe JessenOwe Jessen
    May 3, 2012 at 10:07 pm
    May 3, 2012 at 10:38 pm
  • Dear List, While using the --as-cran option for checking one of my packages: R CMD check --as-cran hydroGOF_0.3-3.tar.gz I got the following error message: pkgname <- "hydroGOF" Error in ...
    Mauricio Zambrano-BigiariniMauricio Zambrano-Bigiarini
    May 2, 2012 at 10:06 am
    May 2, 2012 at 11:27 am
  • Dear List, I'm exploring the use of class inheritance for a package were developing. I want to try to build on existing a class, i first want to extend this a bit using a virtual class and then ...
    May 29, 2012 at 9:37 pm
    May 29, 2012 at 9:37 pm
  • Dear colleagues, I'm currently trying to improve my R package (PairedData) devoted to the analysis (and plotting) of paired data. For basic statistics teaching purposes, I would like to give a list ...
    May 23, 2012 at 5:47 am
    May 23, 2012 at 5:47 am
  • I have a roxygen2 documented package with functions for getting and setting an attribute. #' Get or set the foo attribute. #' #' Dummy function! #' #' @param x Object to hold the attribute. #' @param ...
    Richard CottonRichard Cotton
    May 22, 2012 at 4:26 pm
    May 22, 2012 at 4:26 pm
  • Duncan, I agree completely with "don't use attach"; if I could get all the users of the survival package to agree as well the problem in question would go away :-) I'm thinking about ways to add more ...
    Terry TherneauTerry Therneau
    May 17, 2012 at 12:27 pm
    May 17, 2012 at 12:27 pm
  • Hi there, this seems weird to me. Perhaps someone can explain whats going on? I'm creating a RefClass, then unloading the methods package, then re-loading it, declaring a different refclass with the ...
    Tyler PirtleTyler Pirtle
    May 16, 2012 at 4:27 pm
    May 16, 2012 at 4:27 pm
Group Navigation
period‹ prev | May 2012 | next ›
Group Overview
groupr-devel @

89 users for May 2012

Duncan Murdoch: 24 posts Simon Urbanek: 22 posts Prof Brian Ripley: 16 posts Uwe Ligges: 9 posts Gabor Grothendieck: 7 posts Matthew Dowle: 7 posts Hadley Wickham: 6 posts Joshua Wiley: 6 posts Pavel N. Krivitsky: 6 posts Dirk Eddelbuettel: 5 posts Adler, Avraham: 4 posts Henrik Bengtsson: 4 posts Jeff Ryan: 4 posts Terry Therneau: 4 posts Walcotteric: 4 posts Yike Lu: 4 posts Brian G. Peterson: 3 posts Jeroen Ooms: 3 posts Kasper Daniel Hansen: 3 posts Martin Morgan: 3 posts
show more