Search Discussions
-
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 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 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 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 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. 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 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 ...
Walcott3
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 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("http://httpbin.org/gzip", "raw", 1000) memDecompress(content, type = "gzip") # Error in memDecompress(content, ...
Hadley 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 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 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 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 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 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 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 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 2.15.0.1919. The only change I make ...
Joshua 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 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 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 Jr
May 24, 2012 at 4:25 pm
May 24, 2012 at 6:14 pm -
Greetings. 2.15.0 added this behavior http://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2012/03/29#n2012-03-29 o Passing R objects other than atomic vectors, functions, lists and environments ...
Rick 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. 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 (http://qhull.org) into R. The Qhull function I hook into requires an open FILE handle as one of its arguments. I had set this ...
David 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 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 ...
Wincent
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, 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 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 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 ...
Wincent
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 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 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. 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 do.call when the called function generated an error. We've isolated the problem to the ...
Alon 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 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 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 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 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 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 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 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, 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. 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 ?"[<-.data.frame" (And df is the name of an ...
Rui 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 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-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 ...
Bart
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 ...
CHAMPELY STEPHANE
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 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 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 Pirtle
May 16, 2012 at 4:27 pm
May 16, 2012 at 4:27 pm
Group Overview
group | r-devel |
categories | r |
discussions | 55 |
posts | 241 |
users | 89 |
website | r-project.org |
irc | #r |
89 users for May 2012
Archives
- June 2016 (34)
- May 2016 (174)
- April 2016 (105)
- March 2016 (133)
- February 2016 (127)
- January 2016 (93)
- December 2015 (92)
- November 2015 (80)
- October 2015 (164)
- September 2015 (133)
- August 2015 (120)
- July 2015 (110)
- June 2015 (165)
- May 2015 (242)
- April 2015 (131)
- March 2015 (212)
- February 2015 (147)
- January 2015 (117)
- December 2014 (118)
- November 2014 (201)
- October 2014 (146)
- September 2014 (162)
- August 2014 (217)
- July 2014 (153)
- June 2014 (195)
- May 2014 (193)
- April 2014 (231)
- March 2014 (270)
- February 2014 (107)
- January 2014 (186)
- December 2013 (122)
- November 2013 (156)
- October 2013 (215)
- September 2013 (248)
- August 2013 (239)
- July 2013 (167)
- June 2013 (151)
- May 2013 (223)
- April 2013 (278)
- March 2013 (229)
- February 2013 (254)
- January 2013 (201)
- December 2012 (207)
- November 2012 (154)
- October 2012 (203)
- September 2012 (175)
- August 2012 (209)
- July 2012 (180)
- June 2012 (148)
- May 2012 (241)
- April 2012 (215)
- March 2012 (343)
- February 2012 (248)
- January 2012 (242)
- December 2011 (201)
- November 2011 (328)
- October 2011 (262)
- September 2011 (221)
- August 2011 (239)
- July 2011 (248)
- June 2011 (283)
- May 2011 (367)
- April 2011 (393)
- March 2011 (284)
- February 2011 (344)
- January 2011 (212)
- December 2010 (274)
- November 2010 (300)
- October 2010 (280)
- September 2010 (322)
- August 2010 (303)
- July 2010 (248)
- June 2010 (187)
- May 2010 (231)
- April 2010 (284)
- March 2010 (287)
- February 2010 (329)
- January 2010 (258)
- December 2009 (353)
- November 2009 (496)
- October 2009 (367)
- September 2009 (461)
- August 2009 (353)
- July 2009 (269)
- June 2009 (329)
- May 2009 (354)
- April 2009 (354)
- March 2009 (535)
- February 2009 (351)
- January 2009 (324)
- December 2008 (226)
- November 2008 (315)
- October 2008 (301)
- September 2008 (208)
- August 2008 (309)
- July 2008 (246)
- June 2008 (265)
- May 2008 (399)
- April 2008 (515)
- March 2008 (314)
- February 2008 (345)
- January 2008 (324)
- December 2007 (324)
- November 2007 (272)
- October 2007 (272)
- September 2007 (265)
- August 2007 (260)
- July 2007 (280)
- June 2007 (246)
- May 2007 (389)
- April 2007 (410)
- March 2007 (371)
- February 2007 (298)
- January 2007 (385)
- December 2006 (293)
- November 2006 (389)
- October 2006 (487)
- September 2006 (455)
- August 2006 (111)
- July 2006 (397)
- June 2006 (367)
- May 2006 (413)
- April 2006 (441)
- March 2006 (381)
- February 2006 (349)
- January 2006 (390)
- December 2005 (261)
- November 2005 (318)
- October 2005 (528)
- September 2005 (369)
- August 2005 (369)
- July 2005 (274)
- June 2005 (410)
- May 2005 (331)
- April 2005 (465)
- March 2005 (276)
- February 2005 (291)
- January 2005 (272)
- December 2004 (199)
- November 2004 (388)
- October 2004 (318)
- September 2004 (273)
- August 2004 (298)
- July 2004 (267)
- June 2004 (286)
- May 2004 (168)
- April 2004 (268)
- March 2004 (316)
- February 2004 (271)
- January 2004 (292)
- December 2003 (164)
- November 2003 (249)
- October 2003 (311)
- September 2003 (262)
- August 2003 (305)
- July 2003 (170)
- June 2003 (271)
- May 2003 (239)
- April 2003 (273)
- March 2003 (155)
- February 2003 (1)
- January 2003 (1)
- December 2002 (1)
- October 2002 (1)
- September 2002 (1)
- August 2002 (1)
- July 2002 (1)
- June 2002 (1)
- April 2002 (2)
- March 2002 (1)
- February 2002 (1)
- January 2002 (1)
- December 2001 (1)
- November 2001 (1)
- October 2001 (1)
- September 2001 (1)
- August 2001 (1)
- July 2001 (1)
- June 2001 (1)
- May 2001 (1)
- April 2001 (1)
- March 2001 (1)
- February 2001 (1)
- January 2001 (1)
- December 2000 (1)
- November 2000 (1)
- October 2000 (1)
- September 2000 (1)
- August 2000 (1)
- July 2000 (1)
- May 2000 (2)
- April 2000 (1)
- March 2000 (1)
- February 2000 (1)
- January 2000 (1)
- December 1999 (1)
- November 1999 (1)
- October 1999 (1)
- September 1999 (1)
- August 1999 (1)
- July 1999 (1)
- June 1999 (1)
- May 1999 (1)
- March 1999 (2)
- February 1999 (1)
- January 1999 (1)
- December 1998 (1)
- November 1998 (1)
- October 1998 (1)
- September 1998 (1)
- August 1998 (1)
- July 1998 (1)
- June 1998 (1)
- May 1998 (1)
- April 1998 (1)
- March 1998 (1)
- February 1998 (1)
- January 1998 (1)
- December 1997 (1)
- November 1997 (1)
- October 1997 (1)
- September 1997 (1)
- August 1997 (1)
- July 1997 (1)
- June 1997 (1)
- May 1997 (1)
- April 1997 (1)