Re: [Rd] Binning of integers with hist() function odd results (PR#14046)

2009-11-07 Thread Peter Dalgaard
g...@fnal.gov wrote: Full_Name: Gerald Guglielmo Version: 2.8.1 (2008-12-22) OS: OSX Leopard Submission from: (NULL) (131.225.103.35) When I attempt to use the hist() function to bin integers the behavior seems very odd as the bin boundary seems inconsistent across the various bins. For some bi

Re: [Rd] Binning of integers with hist() function odd results (P (PR#14048)

2009-11-07 Thread gug
Hi, Thank you for responding quickly and explaining the behavior. By adding "include.lowest=TRUE,right=FALSE" and manually including breaks that resolved the simple test case. Next I updated my more complex data set, which already had manually defined breaks, and that resolved my issues

Re: [Rd] Binning of integers with hist() function odd results (P

2009-11-07 Thread Gerald Guglielmo
Hi, Thank you for responding quickly and explaining the behavior. By adding "include.lowest=TRUE,right=FALSE" and manually including breaks that resolved the simple test case. Next I updated my more complex data set, which already had manually defined breaks, and that resolved my issues

Re: [Rd] Small patch to packages.R

2009-11-07 Thread Duncan Murdoch
On 06/11/2009 9:49 AM, Chris Masters wrote: Very small patch to packages.R install.packages on an internal package repository that worked with 2.9 failed in 2.10 Problem: available.packages(contriburl="http://url.to.my/repo";) Error in f(res) : invalid subscript type 'list' This occurred bec

Re: [Rd] Binning of integers with hist() function odd results (P (PR#14047)

2009-11-07 Thread ted . harding
On 06-Nov-09 23:30:12, g...@fnal.gov wrote: > Full_Name: Gerald Guglielmo > Version: 2.8.1 (2008-12-22) > OS: OSX Leopard > Submission from: (NULL) (131.225.103.35) > > When I attempt to use the hist() function to bin integers the behavior > seems > very odd as the bin boundary seems inconsistent

Re: [Rd] Binning of integers with hist() function odd results (P

2009-11-07 Thread Ted Harding
On 06-Nov-09 23:30:12, g...@fnal.gov wrote: > Full_Name: Gerald Guglielmo > Version: 2.8.1 (2008-12-22) > OS: OSX Leopard > Submission from: (NULL) (131.225.103.35) > > When I attempt to use the hist() function to bin integers the behavior > seems > very odd as the bin boundary seems inconsistent

[Rd] Small patch to packages.R

2009-11-07 Thread Chris Masters
Very small patch to packages.R install.packages on an internal package repository that worked with 2.9 failed in 2.10 Problem: > available.packages(contriburl="http://url.to.my/repo";) Error in f(res) : invalid subscript type 'list' This occurred because the PACKAGES file had no dependency on R

[Rd] Binning of integers with hist() function odd results (PR#14046)

2009-11-07 Thread gug
Full_Name: Gerald Guglielmo Version: 2.8.1 (2008-12-22) OS: OSX Leopard Submission from: (NULL) (131.225.103.35) When I attempt to use the hist() function to bin integers the behavior seems very odd as the bin boundary seems inconsistent across the various bins. For some bins the upper boundary i

[Rd] getConnection, R_outpstream_st

2009-11-07 Thread Romain Francois
Hello, I'm trying to use the limited connections api defined in Rinternals.h. I have code that looks like this (inspired from do_serializeToConn) : SEXP serialize_to_connection( SEXP xp, SEXP connection ){ Rconnection con ; struct R_outpstream_st out; R_pstream_format_t type = R_pstream_bin