Grokbase Groups R r-devel June 2009
FAQ

Search Discussions

113 discussions - 329 posts

  • Hi all, Prefix: I am a frustrated Java coder in R. I am coding a medium sized ecosystem modelling program in R. I have changed to using S4 objects and it has cost me an order of magnitude in ...
    Troy RobertsonTroy Robertson
    Jun 23, 2009 at 4:53 am
    Jul 3, 2009 at 12:56 am
  • When I quit R, it says: Save workspace image? [y/n/c]: and since I've probably got 3 R sessions running in however many different directories and I might have jumped around with setwd() , I forget ...
    Barry RowlingsonBarry Rowlingson
    Jun 5, 2009 at 11:53 am
    Jun 5, 2009 at 8:52 pm
  • Hi list, This looks similar to the problem reported here https://stat.ethz.ch/pipermail/r-devel/2006-April/037199.html by Henrik Bengtsson a long time ago. It is very sporadic and non-reproducible ...
    Hervé PagèsHervé Pagès
    Jun 2, 2009 at 1:42 am
    Jun 13, 2009 at 1:06 am
  • Hi all, I am having a problem trying to declare a slot representation to hold a file connection. With V2.8.0 I had been using: setClass("Element", representation( [other slots removed], datafileConn ...
    Troy RobertsonTroy Robertson
    Jun 29, 2009 at 1:50 am
    Jun 30, 2009 at 9:11 am
  • Full_Name: D Kreil Version: 2.8.1 and 2.9.0 OS: Debian Linux Submission from: (NULL) (141.244.140.179) Group: Accuracy I understand that most floating point numbers are approximated due to their ...
    Rbugs09Rbugs09
    Jun 19, 2009 at 11:35 am
    Jun 23, 2009 at 1:44 am
  • One of our R users here just showed me the following problem while investigating the return value of a while loop. I added some information on a similar bug in for loops. I think he was using 2.9.0 ...
    William DunlapWilliam Dunlap
    Jun 3, 2009 at 3:17 am
    Jun 12, 2009 at 7:07 pm
  • In R 2.8.0 on Windows (tested both under ESS and under R Console in case there was an I/O issue) There is a bug in printing val <- matrix(list(NA_complex_,NA_complex_),1). [,1] [1,] [,2] [1,] Note ...
    Stavros MacrakisStavros Macrakis
    Jun 3, 2009 at 5:19 am
    Jun 3, 2009 at 8:54 pm
  • Hello, again. I'm interested to learn how programmers develop & test C/C++ code with R packages in Linux. I've been reading R source and the manual on Writing R Extensions but there are just a couple ...
    Paul JohnsonPaul Johnson
    Jun 26, 2009 at 7:43 pm
    Jul 4, 2009 at 4:07 am
  • Hello, Should active binding appear as such in ls.str. xx : NULL What we see here is the result of the "setter" of the binding. I'm attaching a patch that prints this instead: xx : <active binding ...
    Romain FrancoisRomain Francois
    Jun 29, 2009 at 9:32 pm
    Jun 30, 2009 at 5:26 pm
  • Hello, [I'm redirecting this here from stats-rosuda-devel] When parsing R code through R_parseVector and the code generates an error (syntax error), is there a way to grab the error. It looks like ...
    Romain FrancoisRomain Francois
    Jun 18, 2009 at 6:02 pm
    Jun 19, 2009 at 7:18 am
  • Hi, how is the CRAN build/check system dealing with dependencies on non-CRAN packages? Are there external repositories that are dealt with in special ways, e.g. Bioconductor and Omegahat? Is this ...
    Henrik BengtssonHenrik Bengtsson
    Jun 7, 2009 at 8:51 pm
    Jun 8, 2009 at 6:42 pm
  • Full_Name: Thomas Richardson Version: R 2.9.0 GUI 1.28 Tiger build 32-bit (5395) OS: 10.4.11 Submission from: (NULL) (216.254.15.72) I have encountered a problem with points in scatterplots ...
    TsrTsr
    Jun 3, 2009 at 8:45 am
    Jun 3, 2009 at 8:25 pm
  • Hello! I have a program in Fortran and would like to build a matrix with random numbers, I have a function in C. However, I have problems with the use of function in R. Code to compile: R CMD SHLIB ...
    Fabio MathiasFabio Mathias
    Jun 30, 2009 at 2:03 pm
    Jul 3, 2009 at 4:49 pm
  • Hello, I have been unsuccessfully struggling for a programmatical method to find out whether and where Python is installed. The reason is that I am developing a package that depends on python. On ...
    Carlos J. Gil BellostaCarlos J. Gil Bellosta
    Jun 27, 2009 at 3:44 pm
    Jun 27, 2009 at 9:07 pm
  • Hi everybody, currently I'm working on two packages, where I've included a <package-name -package.Rd documentation file (with \docType set to "package") in each case. When I run "R CMD check" ...
    Thorn ThalerThorn Thaler
    Jun 25, 2009 at 5:12 pm
    Jun 26, 2009 at 12:27 pm
  • If read.csv's colClasses= argument is NOT used then read.csv accepts double quoted numerics: 1: read.csv(stdin()) 0: A,B 1: "1",1 2: "2",2 3: A B 1 1 1 2 2 2 However, if colClasses is used then it ...
    Gabor GrothendieckGabor Grothendieck
    Jun 14, 2009 at 6:56 pm
    Jun 25, 2009 at 9:29 am
  • Hi. This is my first post to this list, I seem to be graduating to from the r-help list. :-) I'm trying to wrap my R package in a GUI such that when the user launches the app, they see my GUI window ...
    Alex BokovAlex Bokov
    Jun 1, 2009 at 5:24 am
    Jun 2, 2009 at 6:26 pm
  • Hi, I have already asked a similar question twice without response on the r-help list https://stat.ethz.ch/pipermail/r-help/2009-June/200300.html but this list might be more appropriate. If there is ...
    Jon Olav SkoienJon Olav Skoien
    Jun 30, 2009 at 1:27 pm
    Jul 3, 2009 at 8:32 am
  • What do I need to do to get "install.packages" to work properly for me in R 2.9.1 under Vista? Currently, install.packages in Rgui 2.9.1 by default goes to ...
    SpencergSpencerg
    Jun 30, 2009 at 2:10 pm
    Jul 1, 2009 at 12:10 pm
  • I have an S4 object extending "function". Is it there a good way to access the object (resp. its slots) from within the function in .Data? If I'm reading help files correctly, it is not possible to ...
    Martin KoberMartin Kober
    Jun 23, 2009 at 10:48 am
    Jun 23, 2009 at 2:46 pm
  • I've just committed some fairly big changes to R-devel. - There's a new tag \Sexpr which allows R code to be embedded within the Rd file, similar to Sweave, \RdOpts corresponds to \SweaveOpts. - The ...
    Duncan MurdochDuncan Murdoch
    Jun 19, 2009 at 11:12 pm
    Jun 21, 2009 at 5:17 pm
  • Hi, This is with a centos 5.3 x86_64 system, using R 2.8.1 (details below). In a directory where R is invoked, at the end of a session R offers to "Save workspace image". Replying yes creates/updates ...
    Nicolas Thierry-MiegNicolas Thierry-Mieg
    Jun 10, 2009 at 2:35 pm
    Jun 11, 2009 at 5:23 pm
  • Hi all, Yesterday, I try to look at a CRAN task view on extreme value theory (EVT). Does anyone plan to do a CRAN task view on this topic? Packages related to this topic seem to be spread among ...
    Christophe DutangChristophe Dutang
    Jun 11, 2009 at 6:32 am
    Jun 11, 2009 at 12:57 pm
  • Is there a reason that Reduce() doesn't take a "..." argument that would allow arbitrary extra arguments to be passed through to the function? Here is a little example of how this would be ...
    Ben BolkerBen Bolker
    Jun 6, 2009 at 10:45 pm
    Jun 10, 2009 at 2:23 pm
  • Dear List, A posting to R-Help exposed this problem with the print method for objects of class Arima: Call: arima(x = x, order = c(1, 0, 1), fixed = coefs) Coefficients: Error in se && ...
    Gavin SimpsonGavin Simpson
    Jun 5, 2009 at 2:13 pm
    Jun 5, 2009 at 3:52 pm
  • I find that Sys.glob() doesn't like UNC paths where the initial slashes are backslashes. The help page for Sys.glob() doesn't specificly mention UNC paths, but does say: "File paths in Windows are ...
    Tony PlateTony Plate
    Jun 26, 2009 at 11:50 pm
    Jun 29, 2009 at 9:47 pm
  • I'm very green with R, so maybe this is not a bug, but it looks like one to me. The following program segfaults at the second call to Rf_PrintValue(). To failure depends on the value of the ...
    Kynn JonesKynn Jones
    Jun 26, 2009 at 7:01 pm
    Jun 28, 2009 at 5:02 pm
  • Hi, everyone. I'm trying to debug an R-module, written in C, and I'm using gdb for this. How can I print "standard" R objects from within C code? BTW, I'm familiar with the advice to use R_PV given ...
    Kynn JonesKynn Jones
    Jun 25, 2009 at 9:40 pm
    Jun 26, 2009 at 6:49 pm
  • So, tried again from scratch. Again, CentOS 5.3, which is essentially RHEL 5.3. ./configure --with-blas="-L/opt/acml4.3.0/gfortran64/lib -lacml" In config.log, get things like configure:37199 ...
    Evan CoochEvan Cooch
    Jun 26, 2009 at 6:57 am
    Jun 26, 2009 at 2:16 pm
  • Dear all, I am trying to compile and install R from sources on Ubuntu GNU/Linux 64 bit. It usually worked flawlessly for me for more than 4 years (32bit and 64bit on Mandrake/Mandriva, Suse, Debian, ...
    Rau, RolandRau, Roland
    Jun 26, 2009 at 8:46 am
    Jun 26, 2009 at 12:03 pm
  • In 2.8.1/Windows: According to ? : Details: For numeric arguments 'from:to' is equivalent to 'seq(from, to)' ... Value: For numeric arguments, a numeric vector. This will be of type 'integer' if ...
    Stavros MacrakisStavros Macrakis
    Jun 23, 2009 at 7:53 pm
    Jun 24, 2009 at 2:34 pm
  • I am considering a package with a namespace (Rgraphviz from Bioc). I essentially want to have some error handling for loading the dll, something like wrapping it into tryCatch or similar (reason: see ...
    Kasper Daniel HansenKasper Daniel Hansen
    Jun 24, 2009 at 5:46 am
    Jun 24, 2009 at 10:39 am
  • Hi, this is a bit of FYI, but also a question. Is flag '#' in sprintf() format string "%#x" fully supported across platforms? Can that be assumed? I discovered thanks to the r-forge service, that ...
    Henrik BengtssonHenrik Bengtsson
    Jun 20, 2009 at 10:44 pm
    Jun 21, 2009 at 8:33 am
  • Hi (Duncan?), The other day I noticed some characters will cause errors in R CMD CHECK because of parse_Rd(), and AFAIK, these chars include '%', '{' and '}'. For example, note the comments in the ...
    Yihui XieYihui Xie
    Jun 20, 2009 at 2:18 pm
    Jun 20, 2009 at 11:49 pm
  • I have been retooling an S4 class definition to include another slot and have found that the methods::validObject function (defined in methods/R/SClasses.R) in R-devel throws an error that isn't ...
    Patrick AboyounPatrick Aboyoun
    Jun 18, 2009 at 11:42 pm
    Jun 19, 2009 at 4:31 pm
  • Hi the list, I am writing a R function that call a C function. The C function needs integers but I do not manage to give a NA integer as argument : --- C code --- void essai(int *t){ Rprintf("\nT0=%i ...
    Christophe GenoliniChristophe Genolini
    Jun 18, 2009 at 1:57 pm
    Jun 18, 2009 at 4:03 pm
  • Hello, When using R_tryEval (from JRI in my case), is there a way to setup error recovery strategy and more generally calling handlers. From my reading of context.c, R_tryEval calls R_ToplevelExec ...
    Romain FrancoisRomain Francois
    Jun 16, 2009 at 7:57 am
    Jun 16, 2009 at 6:16 pm
  • Hi - I'm creating a package of database tools. A function in the package requires the username and password as input to the function in order to initially connect to the target database(s). Of ...
    Miller_2555Miller_2555
    Jun 12, 2009 at 10:08 pm
    Jun 15, 2009 at 4:39 pm
  • Consider the following simple C program: /*** hello_r.c ***/ #include <Rinternals.h SEXP hello() { return mkString("Hello, world!\n"); } int main(void) { SEXP x = hello(); return x == NULL; /* i.e. 0 ...
    Kynn JonesKynn Jones
    Jun 6, 2009 at 9:03 pm
    Jun 6, 2009 at 10:23 pm
  • I'm trying to build an executable for a program I wrote. The compilation steps go well, but the linking step fails with a libtool "version mismatch" error. My linking command has this prefix ...
    Kynn JonesKynn Jones
    Jun 5, 2009 at 10:22 pm
    Jun 6, 2009 at 6:06 pm
  • It looks like the 'seq' variable to 'for' can be altered from within the loop, leading to incorrect answers. E.g., in the following I'd expect 'sum' to be 1+2=3, but R 2.10.0 (svn 48686) gives 44.5 ...
    William DunlapWilliam Dunlap
    Jun 2, 2009 at 1:45 am
    Jun 2, 2009 at 3:28 pm
  • Same behavior was noted on R 2.9.0 OS X and WIndows. [1,] 0.01000000 0 [2,] 0.06157895 0 [3,] 0.11315789 0 [4,] 0.16473684 0 [5,] 0.21631579 0 [6,] 0.26789474 0 [7,] 0.31947368 0 [8,] 0.37105263 0 ...
    E LeoniE Leoni
    Jun 30, 2009 at 4:00 pm
    Aug 14, 2009 at 11:03 am
  • I haven't found much on S4 class redefinition; the little I've seen indicates the following is to be expected: 1. setClass("foo", ....) 2. create objects of class foo. 3. execute the same ...
    Ross BoylanRoss Boylan
    Jun 30, 2009 at 7:58 pm
    Jun 30, 2009 at 8:57 pm
  • Hello, Its a couple of days I am fighting with this problem, and cannot find a solution. I need to compile a DLL that is not directly used by R, but must be installed elsewhere (it is indeed part of ...
    Philippe GrosjeanPhilippe Grosjean
    Jun 29, 2009 at 5:59 pm
    Jun 30, 2009 at 12:42 am
  • For grins, tried rebuilding R 2.9.0 without using ACML 4.3.0. Config goes fine, make runs without any errors. make check - and - ta-dah! - no errors for stats. Everything seems to check out just ...
    Evan CoochEvan Cooch
    Jun 25, 2009 at 8:17 pm
    Jun 25, 2009 at 10:43 pm
  • Dear Helper, Under UNIX "Solaris 10 3/05 s10_74L2a SPARC" and with following "R Installation and Administration" @ http://cran.r-project.org/, First, I unzipped the unix version winzip source code ...
    XwuXwu
    Jun 24, 2009 at 3:10 pm
    Jun 25, 2009 at 7:56 am
  • I was surprised to see that there is a ScalarInteger function in Rinlinedfuns.h, but nothing like ScalarLong. How can one create an R-integer from a C long? TIA! kynn
    Kynn JonesKynn Jones
    Jun 18, 2009 at 8:34 pm
    Jun 18, 2009 at 10:44 pm
  • When I run R CMD check on the survival package I get one error message that I have not been able to figure out: survfitCI: no visible binding for global variable 'n.nevent' I've examined the code and ...
    Terry TherneauTerry Therneau
    Jun 18, 2009 at 3:44 pm
    Jun 18, 2009 at 4:09 pm
  • Refiling this. The actual fix was slightly more complicated. Will soon be committed to R-Patched (aka 2.9.1 beta). -p rvaradhan at jhmi.edu wrote: Thanks, but there seems to be a much easier fix ...
    P DalgaardP Dalgaard
    Jun 18, 2009 at 1:20 pm
    Jun 18, 2009 at 2:05 pm
  • Full_Name: Ravi Varadhan Version: 2.8.1 OS: Windows Submission from: (NULL) (162.129.251.19) Inverting a matrix with solve(), but using LAPACK=TRUE, gives erroneous results: Here is an example ...
    RvaradhanRvaradhan
    Jun 17, 2009 at 9:45 pm
    Jun 18, 2009 at 7:14 am
Group Navigation
period‹ prev | Jun 2009 | next ›
Group Overview
groupr-devel @
categoriesr
discussions113
posts329
users102
websiter-project.org
irc#r

102 users for June 2009

Duncan Murdoch: 20 posts Gabor Grothendieck: 16 posts Prof Brian Ripley: 14 posts Wacek Kusnierczyk: 14 posts Stavros Macrakis: 13 posts Kynn Jones: 12 posts Henrik Bengtsson: 11 posts Martin Maechler: 11 posts William Dunlap: 11 posts Romain Francois: 10 posts Evan Cooch: 9 posts Simon Urbanek: 9 posts Martin Morgan: 7 posts Peter Dalgaard: 7 posts Troy Robertson: 7 posts Uwe Ligges: 7 posts Barry Rowlingson: 6 posts Luke: 6 posts Spencerg: 6 posts Ben Bolker: 4 posts
show more
Archives