Re: [Rd] Write unix format files on windows and vice versa

2012-04-24 Thread Ted Harding
using 'sed' in Linux. For some further detail see http://en.wikipedia.org/wiki/Unix2dos Hoping this helps, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 24-Apr-2012 Time: 18:56:21 This message was sent by XFMail

Re: [Rd] NA vs. NA

2012-04-05 Thread Ted Harding
. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 05-Apr-2012 Time: 12:21:57 This message was sent by XFMail __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Julia

2012-03-01 Thread Ted Harding
/mailman/listinfo/r-devel - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 01-Mar-2012 Time: 20:47:42 This message was sent by XFMail __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [Rd] bug in sum() on integer vector

2011-12-13 Thread Ted Harding
in the inevitable approximations. Simply to fail is far too unsophisticated a result! Hoping this is useful, Ted. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 14-Dec-11

Re: [Rd] array extraction

2011-09-27 Thread Ted Harding
E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 28-Sep-11 Time: 00:28:37 -- XFMail -- __ R-devel@r-project.org mailing

Re: [Rd] Wish there were a strict mode for R interpreter. What

2011-04-09 Thread Ted Harding
in every context in which the function would be used. This is basic good practice which, once routinely adopted, should ensure that the right thing is done every time! Ted. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email

Re: [Rd] Surprising behavior of letters[c(NA, NA)]

2010-12-17 Thread Ted Harding
or character result, and 'NULL' for a list. (It returns '00' for a raw result.] since that seems to imply that x[c(NA,NA)] should return c(NA,NA) and not rep(NA,length(x))! Ted. E-Mail: (Ted Harding) ted.hard...@wlandres.net

Re: [Rd] [R] Logical vectors

2010-11-04 Thread Ted Harding
this helps! Ted. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 04-Nov-10 Time: 09:08:37 -- XFMail

Re: [Rd] No RTFM?

2010-08-22 Thread Ted Harding
] E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 22-Aug-10 Time: 19:49:41 -- XFMail

Re: [Rd] No RTFM?

2010-08-21 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 22-Aug-10 Time: 03:13:22 -- XFMail

[Rd] suggestion for ?factor

2010-08-09 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 09-Aug-10 Time: 16:37:50 -- XFMail

Re: [Rd] results of pnorm as either NaN or Inf

2010-05-13 Thread Ted Harding
in a NaN. So there is nothing anomalous about your results except at -1e+308, which is where R is at a critical point. That's how I see it, anway! Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870

Re: [Rd] y ~ X -1 , X a matrix

2010-03-17 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 18-Mar-10 Time: 00:57:20 -- XFMail

Re: [Rd] Possible bug in fisher.test() (PR#14196)

2010-01-27 Thread Ted Harding
this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 27-Jan-10 Time: 18:14:57 -- XFMail

Re: [Rd] Benefit of treating NA and NaN differently for numerics

2009-12-31 Thread Ted Harding
. This distinction is important and useful, so it should not be done away with by merging NaN and NA! Best wishes, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 31-Dec-09

Re: [Rd] a little bug for the function 'sprintf' (PR#14161)

2009-12-21 Thread Ted Harding
,a) ; fprintf(mystream, %s is %f feet tall\n, Sven, 7.1) ; would append Sven is 7.10 feet tall (followed by a line-break) to myoutput.txt Hoping this helps! Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44

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

2009-11-07 Thread Ted Harding
this behaviour by shanging the options. Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 07-Nov-09 Time: 13:57:07

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

2009-11-07 Thread ted . harding
this behaviour by shanging the options. Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 07-Nov-09 Time: 13:57:07

Re: [Rd] basename returns . not in filename (PR#13958)

2009-09-18 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 18-Sep-09 Time: 22:35:34 -- XFMail -- __ R

Re: [Rd] Printing the null hypothesis

2009-08-16 Thread Ted Harding
) Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 16-Aug-09 Time: 11:55:15 -- XFMail

Re: [Rd] Printing the null hypothesis

2009-08-16 Thread Ted Harding
On 16-Aug-09 14:06:18, Liviu Andronic wrote: Hello, On 8/16/09, Ted Harding ted.hard...@manchester.ac.uk wrote: I don't know about *compelling* reasons! But (as a general rule) if the Alternative Hyptohesis is stated, then the Null Hypothesis is simply its negation. So, in your example, you

Re: [Rd] identical(0, -0)

2009-08-07 Thread Ted Harding
identical(); b) Any complications that may arise when applying this new form to complex objects. Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 07-Aug-09

Re: [Rd] read.csv

2009-06-14 Thread Ted Harding
] numeric so R has converted X from class 'logical' to class 'numeric' on being asked to assign a number to a logical; but in this case its hands were not tied by colClasses. Or am I missing something?!! Ted. E-Mail: (Ted Harding

Re: [Rd] Closed-source non-free ParallelR ?

2009-04-23 Thread Ted Harding
://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email

Re: [Rd] Gamma funtion(s) bug

2009-03-30 Thread Ted Harding
? Kjetil That is surely correct! Since lim[x-(-1)+] gamma(x) = +Inf, while lim[x-(-1)-] gamma(x) = -Inf, at gamma(-1) one cannot choose between +Inf and -Inf, so surely is is NaN. Ted. E-Mail: (Ted Harding) ted.hard

Re: [Rd] Gamma funtion(s) bug

2009-03-30 Thread Ted Harding
On 30-Mar-09 20:37:51, Duncan Murdoch wrote: On 3/30/2009 2:55 PM, (Ted Harding) wrote: On 30-Mar-09 18:40:03, Kjetil Halvorsen wrote: With R 2.8.1 on ubuntu I get: gamma(-1) [1] NaN Warning message: In gamma(-1) : NaNs produced lgamma(-1) [1] Inf Warning message: value out of range

Re: [Rd] Error in help file for quantile()

2009-03-29 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 29-Mar-09 Time: 23:08:50 -- XFMail

Re: [Rd] [R] Semantics of sequences in R

2009-02-24 Thread Ted Harding
there is one grammar rule that does not have an exception. At least there used to be one; I am not really sure whether that rule survived the recent reform of the German grammar rules. Cheers, Berwin E-Mail: (Ted

[Rd] open-ended plot limits?

2009-02-05 Thread Ted Harding
that this possibility should be available. What do people think? Best wishes, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 05-Feb-09 Time: 20

Re: [Rd] open-ended plot limits?

2009-02-05 Thread Ted Harding
Thanks, everyone, for all the responses! Ted. On 05-Feb-09 20:48:33, Ted Harding wrote: Hi Folks, Maybe I've missed it already being available somehow, but if the following isn't available I'd like to suggest it. If you're happy to let plot() choose its own limits, then of course plot(x,y

Re: [Rd] cat: ./R/Copy: No such file or directory

2008-11-01 Thread Ted Harding
E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 01-Nov-08 Time: 16:19:56 -- XFMail -- __ R-devel@r

Re: [Rd] non user-friendly error for chol2inv functions

2008-08-29 Thread Ted Harding
/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date

Re: [Rd] Suggestion: add a warning in the help-file of unique()

2008-04-17 Thread Ted Harding
] Hence, by induction, 10:00 is indistinguishable from 11:00 Which you do not want! Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 17-Apr-08

Re: [Rd] Warnings generated by log2()/log10() are really large/t

2008-02-27 Thread Ted Harding
it up. After that, you can paste from this directly into R, or can save the file and source() it. Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 27-Feb-08

Re: [Rd] 0.450.45 = TRUE (PR#10744)

2008-02-13 Thread Ted Harding
/(1i^1i) [1] 4.810477+0i $i^i = £1 Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 13-Feb-08 Time: 15:57:02

Re: [Rd] 0.450.45 = TRUE (PR#10744)

2008-02-12 Thread Ted Harding
to all, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 12-Feb-08 Time: 15:31:26 -- XFMail

Re: [Rd] When 1+2 != 3 (PR#9895)

2007-09-03 Thread Ted Harding
of the above is true in R (e.g. the example above). So can you devise an isEqual function which will make this work? It's only Monday .. plenty of time! Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0

Re: [Rd] When 1+2 != 3 (PR#9895)

2007-09-03 Thread Ted Harding
(r){ifelse(r=K/2, 2*r, 2*(K-r))} For K = 7 and r = 3, this yields r = 3, 6, 2, 4, 6, ... Dividing this by K=7, one gets the correct period with approximately correct numbers. Best wishes, Ted. E-Mail: (Ted Harding

Re: [Rd] SWF animation method

2007-08-08 Thread Ted Harding
instructions here: http://9mmedia.com/blog/?p=7). Thanks so much for sharing your discovery, Mike! Out of the blue! (Unexpected bonus for being on the R list). Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44

Re: [Rd] formula(CO2)

2007-07-16 Thread Ted Harding
. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 16-Jul-07 Time: 14:57:28 -- XFMail -- __ R-devel@r

Re: [Rd] formula(CO2)

2007-07-16 Thread Ted Harding
On 16-Jul-07 13:57:56, Ted Harding wrote: On 16-Jul-07 13:28:50, Gabor Grothendieck wrote: The formula attribute of the builtin CO2 dataset seems a bit strange: formula(CO2) Plant ~ Type + Treatment + conc + uptake What is one supposed to do with that? Certainly its not suitable

Re: [Rd] formula(CO2)

2007-07-16 Thread Ted Harding
! best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 16-Jul-07 Time: 15:40:36 -- XFMail

Re: [Rd] formula(CO2)

2007-07-16 Thread Ted Harding
agree! Ted. On 7/16/07, Ted Harding [EMAIL PROTECTED] wrote: On 16-Jul-07 14:16:10, Gabor Grothendieck wrote: Following up on your comments it seems formula.data.frame just creates a formula whose lhs is the first column name and whose rhs is made up of the remaining column names

Re: [Rd] bounding box in PostScript

2006-04-17 Thread Ted Harding
the file changes. Thus you can adjust the bounding box until it is just as you want it. Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 17-Apr-06

Re: [Rd] pbinom with size argument 0 (PR#8560)

2006-02-03 Thread Ted Harding
of view, as above ... However, surely the two should be consistent with each other.) Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 03-Feb-06

Re: [Rd] pbinom with size argument 0 (PR#8560)

2006-02-03 Thread Ted Harding
On 03-Feb-06 Peter Dalgaard wrote: (Ted Harding) [EMAIL PROTECTED] writes: On 03-Feb-06 [EMAIL PROTECTED] wrote: Full_Name: Uffe Høgsbro Thygesen Version: 2.2.0 OS: linux Submission from: (NULL) (130.226.135.250) Hello all. pbinom(q=0,size=0,prob=0.5) returns

Re: [Rd] Typo [Was: Rd and guillemots]

2005-09-17 Thread Ted Harding
straight on the general issue of nomenclature. Best wishes to all, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 17-Sep-05 Time: 10:51:17