rs and those authors that use their
packages, rather than imposing additional work on those responsible for
CRAN, especially when the means for doing things a little differently than
how CRAN does it are readily available.
Cheers
Ted
R.E.(Ted) Byers, Ph.D.,Ed.D.
>
> Statistics is the g
ere
> hooey. That's a lot quicker and more efficient than rewriting everything
> from scratch (which, in some fields, simply ensures things won't get
> checked).
>
> My $0.02, since we do still have those to bedevil cashiers.
>
>
>
> Statistics is the grammar of scie
On Thu, Mar 20, 2014 at 4:53 PM, Jeroen Ooms wrote:
> On Thu, Mar 20, 2014 at 1:28 PM, Ted Byers wrote:
>>
>> Herve Pages mentions the risk of irreproducibility across three minor
>> revisions of version 1.0 of Matrix. My gut reaction would be that if the
>> results
. That is not a trivial task, and may require contributors
obtaining the assistance of a software engineer. I am sure anyone in this
list who programs in C++ knows how the ANSI committees handle change
management. Introduction of new features is something that is largely
irr
as it is for use on Linux.
It is also possible to do the CRLF-->LF or LF-->CRLF using 'sed'
in Linux.
For some further detail see
http://en.wikipedia.org/wiki/Unix2dos
Hoping this helps,
Ted.
-
E-Mail: (T
er) solution to circumvent this issue.
>
> Thanks very much in advance,
> Adrian
Hi Adrian,
The default in read.table() for the "na.strings" parameter is
na.strings = "NA"
So, provided you have no "NA" in the data portion of your file
(or e.g. any missing
then great; and if some back-water banana republic objects then I'd be
quite happy to tell them were to go and what to do with themselves when they
get there. As a Canadian citizen living and working in Canada, only
Canadian law applies to me. If Canadian law tell
> -Original Message-
> From: Spencer Graves [mailto:spencer.gra...@prodsyse.com]
> Sent: March-31-12 1:56 PM
> To: Ted Byers
> Cc: 'Paul Gilbert'; mark.braving...@csiro.au; r-de...@stat.math.ethz.ch
> Subject: Re: [Rd] CRAN policies
>
> Hi, Ted:
>
kage
on CRAN is good quality. From the current reaction to mere notes, I can
imagine the reaction that would arise should they ever decide to do so. It
is very much up to the 'consumer' to search CRAN, and evaluate each
interesting package to ensure it works as advertised, and I have no doubt
that some are gems while others are best avoided.
Just my $0.02 ...
Cheers
Ted
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
http://julialang.org/blog
Then click on "Stanford Talk Video".
Then click on "available here".
Ted.
On 01-Mar-2012 Kjetil Halvorsen wrote:
> Can somebody postb a link to the video? I cant find it, searching
> "Julia" on youtube stanford channel gives not
tion which involve smore than this numer of bits
is inevitably an approximation.
Provided the user is aware of this, there is no need for
your "It should always return the correct value or fail."
It will return the correct value if the integers are not
too large; otherwise it
Hi Simon,
> -Original Message-
> From: Simon Urbanek [mailto:simon.urba...@r-project.org]
> Sent: October-05-11 5:07 PM
> To: Ted Byers
> Cc: 'Tonidandel, Scott'; r-devel@r-project.org
> Subject: Re: [Rd] Question about Rweb
>
> Ted,
>
> On
es('FastRWeb',,'http://www.rforge.net/')",
but that gives me the following message:
> install.packages('FastRWeb',,'http://www.rforge.net/')
Installing package(s) into 'C:\Users\Ted\Documents/R/win-library/2.12'
(as 'lib' is unspecif
which, interestingly, differs from
a[rep(1,15),,]
# (Output, which is what you'd expect, omitted)
(Hmm, out of my depth again ... ).
Well, maybe two arms is not enough when you need three
to swim in these waters; but it seems that one long swishy
tail will do nicely. That being said, I sti
tive finance, and so
would be looking at those R packages related to quantitative finance.
I suppose whether or not it is 100% depends on the quality of inputs you
provide.
HTH
Ted
> -Original Message-
> From: r-devel-boun...@r-project.org [mailto:r-devel-bounces@r-
> project.org]
path to my system path (in
fact, I hate that for any software I use, even though in some cases there's
no way to avoid it).
Thanks
Ted
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
same function definition in a different
context things are likely to go wrong. So teach them that variables
which occur in functions, which might have any meaning in whatever
the context of use may be, should either be named arguments in
the argument
the english department
there for insight into the evolution of english in the context of a
multicultural society, and how that can help make our writing more readily
understood by a global audience? Note, while I see the author's
responsibility to write per
s of the unit tests needed for testing every possible exit point
(basically killing two birds with one stone). This is relatively simple if
handled right, with a good eye for detail.
One of the things I would point out is that such generalities can be useful
in introducing young p
om the shell
(bash, Windows shell, &c.) or from the R menu, but I know some potential
users who would be lost unless it is something simple that can be invoked
from R's menu.
Cheers,
Ted
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
aid in ?"[":
NAs in indexing:
When extracting, a numerical, logical or character 'NA' index
picks an unknown element and so returns 'NA' in the corresponding
element of a logical, integer, numeric, complex or character
result, and 'NULL' for
gt; first.
>
> Regards -- Gerrit
This indicates that the sentence can be mis-read. It should be
cured by a small change in punctuation (hence I copy to R-devel):
The logical operators are <, <=, >, >=; == for exact equality;
and != for inequality
Hopin
l.packages('RMySQL',type='source')
Warning in install.packages("RMySQL", type = "source") :
argument 'lib' is missing: using
'C:\Users\Ted\Documents/R/win64-library/2.11'
--- Please select a CRAN mirror for use in this session ---
trying URL
ith
RMySQL will be solved, and Arijeet's may be solved. If just being able to
install a 64 bit binary of RMySQL doesn't solve his problem, then he may
need a more detailed elaboration of Spencer's answer.
Cheers,
Ted
On Fri, Sep 17, 2010 at 12:26 PM, Thomas Etheber wrote:
&
esign of the classes used and makes appropriate use of inline functions
(and, if you're up to it, template metaprogramming).
HTH
Ted
On Fri, Sep 10, 2010 at 10:07 AM, Paul Gilbert <
pgilb...@bank-banque-canada.ca> wrote:
> With fortran I have always managed to be able to get identi
ass of
beginnners) it were turned on, then there would be a huge
number of false positives filling up the screen in almost
any normal program. Reassuring for beginners!
So, on those grounds, I doubt its wisdom (and would prefer
giving the advice to bracket things, as in "x<(-3)"
o, with the item in the original query:
if (x<-3) do_something;
if they wrote it as
if (x<(-3)) do_something;
there would be no problem (and no doubt about what went
with what). Of course in complicated expressions this could
induce an episode of oc
as cooperative a way as possible. The function of the Posting
Guide should likewise be to help them to write good questions,
with advice on what mey be necessary, what useful, what not useful.
The current Posting Guide is already quite reasonable in these
respects, and
now where it is. I was involved with an R wiki about 5 or 6 years
> ago, but completely lost track of it.
>
> I'm going to keep pushing for sharp, clear guidelines. If I could get
> R-help set up as a template for messages like bugzilla, I think it
> would be awesome! To dis
a prerequisite for a valid posting to the list. Therefore it
should be gentle and general. And it should never be used as an
Act of Law which defines crimes against the list. There are very
few of these, compared with the genuine and puzzled questions from
people who need some help.
See below now
ic multidimensional scaling in
ordination but so little about Bayesian analysis that he doesn't even know
the right questions to ask?
I hope you find these few reflections useful in your deliberations on
constructing a useful policy in this matter.
Cheers,
Ted
On Sat, Aug 21, 2010 at 6:40 AM,
'levels=...' is present and 'ordered=TRUE', then the
levels are ordered according to the order in which they
are listed in 'levels'.
With thanks,
Ted.
-
l accuracy.
So, up to pnorm(-1.0e+307, log.p=TRUE) = -Inf. All is as it should be.
However, at -1e+308, "the envelope is about to burst", and something
may occur within the algorithm which results in a NaN.
So there is nothing anomalous about your results except at -1e+308,
which is whe
Hence (I guess) X is found in the environment and is coerced
into a dataframe with 2 columns, and X.1, X.2 are taken from there.
R Gurus: Please comment! (I'm only guessing by plausibility).
Ted.
-
quot;
The value of the odds ratio which maximises this (for given
observed 'a') is not the sample OR.
Hoping this helps,
Ted.
E-Mail: (Ted Harding)
Fax-to-email: +44 (0)870 094 0861
Date:
depend on
the unkown elements, and hence the value of the expression is unknown.
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 H
the C/C++ functions
printf() and fprintf(), both of which create the string and then
send it to either stdout or to a file:
int printf(const char *format, ...);
int fprintf(FILE *stream, const char *format, ...);
Therefore, if you programmed
printf("%s is
s will be ignored (with a warning) unless
'breaks' is a vector.
right: logical; if 'TRUE', the histograms cells are right-closed
(left open) intervals.
See '?hist'. You can change this behaviour by shanging the options.
Hoping this helps,
Ted.
-
s will be ignored (with a warning) unless
'breaks' is a vector.
right: logical; if 'TRUE', the histograms cells are right-closed
(left open) intervals.
See '?hist'. You can change this behaviour by shanging the options.
Hoping this helps,
Ted.
-
ot;.".
Therefore the second "." in "./." is not a filename.
What the above examples of dirname and basename usage are returning
is simply a specific representation of the current working directlory.
Forgive me if
,30,35,40,45,50),10,5)
On the other hand, a <- matrix(c(1:50),10,5) does what you expected!
Hoping this helps,
Ted.
On 31-Aug-09 08:21:34, Uwe Ligges wrote:
> Try to learn how to debug.
> The following copied from my R session might give you some hints:
>
> > options(
On 16-Aug-09 14:06:18, Liviu Andronic wrote:
> Hello,
> On 8/16/09, Ted Harding 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, i
ential, since different alterntatives
may ne adopted depending on the application such as
Ha: true tau is greater than 0
(implicit: true tau <= 0)
or
Ha: tru tau is less than 0
(implicit: true tau >= 0)
Hoping this helps,
Ted.
-
s of a larger
> structure, identical() is all we've got, and people would waste a
> lot of time tracking down why structures differing only in the
> sign of zero were not identical, even though every element tested
> equal.
>
> Duncan Murdoch
>> Martin Maechler, ETH Z
rs
but for this ?read.csv says that stringsAsFactors "is overridden
bu [sic] 'as.is' and 'colClasses', both of which allow finer
control.", so that wouldn't come to the rescue either.
Experiment:
X <-logical(10)
class(
);
}
}
Feel free to use this code in any way you like. I wrote it and granted it
to the Apache Software Foundation; I will grant it
to the R community under the same terms if useful.
My contact information is Ted Dunning, ted.dunn...@gmail.com
--please do not edit the information below--
On 24-Apr-09 16:53:04, Stavros Macrakis wrote:
> On Thu, Apr 23, 2009 at 8:54 PM, Ted Harding
> wrote:
> [...]
>> ...inspires someone to incorporate the same language extension
>> into a GPL'd FORTRAN interpreter/compiler. I think I could then
>> be vulnerable, or
ware, provided you
implement them yourself and in your own way? I dunno ...
Ted.
> Are any/all of the default packages considered part of
> the language? It seems hard to imagine doing anything at all without at
> least 'base.' If I install R in the usual way with no other
&
est and understand why people
behave in a way that resulted in Duncan saying it is a waste of time
because people don't use package documentation schemes that are
available, and if I were managing a project I'd likely share his
frustration with it. I certainly don't envy anyone try
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
first one right, and the second one (lgamma)
> should also be NaN?
> 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.
----
her you have na.rm==TRUE, in which case it doesn't need
saying that "Missing values are ignored" (unless you really
want to spell it out in the form "Missing values are ignored if
called with na.rm=TRUE; otherwise an error message is produced"),
or you have na.rm==FA
. ;-) I am just learning to use it, as I am just learning to use
R, so I am afraid I can't offer much more info than this, though.
Cheers,
Ted
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
ther parts of the world) that goes, for every rule there
>> is an exception. [...]
>
> As far as I know, the same saying exist in English. It definitely
> exist in German. Actually, in German it is "every rule has its
> exception including this rule".
Or, as my mother used
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() choo
ould like to suggest that this possibility should be available.
What do people think?
Best wishes,
Ted.
--------
E-Mail: (Ted Harding)
Fax-to-email: +44 (0)870 094 0861
Date: 05-Feb-09
e
wheel), and create the trivial extension needed following the instructions
in "Writing R
Extensions",
or do it to the raw data before you import it into R?
HTH
Ted
[[alternative HTML version deleted]]
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
quotes; or (perhaps
less likely, because of the presence of the "./R/") the line
"Copy of create.fourier.basis.R"
was intended as a comment in the file, but somehow got read as
a substantive part of the code.
Good luck!
Ted.
On 01-Nov-08 15:40:33, Spencer Graves wrote:
&g
it, might it not be useful also to do
the converse: Treat a 1x1 matrix as a scalar in appropriate
contexts?
E.g.
a <- 4
A <- matrix(4,1,1)
B <- matrix(c(1,2,3,4),2,2)
a*B
# [,1] [,2]
# [1,]4 12
# [2,]8 16
a+B
# [,1] [,2]
# [1,]57
# [2,]68
A
samples from a dataset
at different levels of granularity (such as sampling spatial data at cm, m, km
spatial resolution, or sampling daily time series at weekly, monthly, quaterly
or annual resolution)?
Thanks
Ted
__
R-devel@r-project.org mailing list
ugh people that many will find what you produce
useful.
I would encourage you in your efforts. Alas, all I can offer at this time
is moral support (too many things on my plate at present).
Cheers
Ted
[[alternative HTML version deleted]]
__
R
nguishable from B, and B is indistinguishable
from C, then A is indistinguishable from C.
10:00 is indistinguishable from 10:01 (on the hour-hand)
10:[n] is indistinguishable from 10:[n+1]
Hence, by induction, 10:00 is indistinguishable from 11:00
Which you do not want!
Best wishes,
Ted.
-
been wrapped.
A not-so-subtle solution to this (subtle or not) problem.
NEVER paste from a browser (or a Word doc, or anything similar)
into the R command interface. Paste only from pure plain text.
Therefore, if you must paste, then paste first into a window
where a pure-plain-text editor is r
out 0.001, if you were lucky and didn't
make a slip of the pen).
R still gets it approximately right:
1/(1i^1i)
[1] 4.810477+0i
$i^i = £1
Best wishes,
Ted.
E-Mail: (Ted Harding) <[EMAIL PROTECTED]>
Fax-to-ema
But I feel it should be
coordinated by people who are experts in the internals
of how R handles such things.
Best wishes to all,
Ted.
E-Mail: (Ted Harding) <[EMAIL PROTECTED]>
Fax-to-email: +44 (0)870 094 0861
arting with r/K:
nextr <- function(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.
------
/7 -> 4/7 -> 2/7
All other numbers x outside these sets generate non-periodic
sequences.
Apart from the case where initial x = 1/2^k, none 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 .
ools.org/download.html; mac install 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:
case
I 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 co
o do the interactions as well,
I would never need to think again!
best wishes,
Ted.
----
E-Mail: (Ted Harding) <[EMAIL PROTECTED]>
Fax-to-email: +44 (0)870 094 0861
Date: 16-Jul-07
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 su
nt, conc, uptake, is the same as the order
of the "columns" in the dataframe.
So I tried:
D<-data.frame(x=(1:10),y=(1:10))
formula(D)
x ~ y
So, lo and behold, D has a formula!
Or does it? Maybe if you give formula() a dataframe, it simply
constructs
base.
Fortunately, the underlying controllability is still accessible
in many cases if you lift the lid. But GUI-driven applications
such as web-browsers and web-based mailers tend to work from
the top (GUI) down, making this hard to reach.
Best wishes to all,
Ted.
-
Wolfram,
SuSE 8.2 is _very_ old. Why not just upgrade to SuSE 10.1, where
R-2.3.1 compiles with no problems?
Ted Catchpole
[EMAIL PROTECTED] wrote:
> --gKMricLos+KVdGMg
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
>
> I compiled R 2.3.1 on t
the values of these. Each time you change,
save the edited file. Because gv is in "watch" mode, it will
re-draw the page whenever the file changes. Thus you can adjust
the bounding box until it is just as you want it.
Best wishes,
Ted.
---
but you have not. So the user has to face the problem of
how to cope with the finite-length representation in any situation
where the distinction between 2 and 2.0001 really
matters.
Hoping this helps,
Ted.
--
but you have not. So the user has to face the problem of
how to cope with the finite-length representation in any situation
where the distinction between 2 and 2.0001 really
matters.
Hoping this helps,
Ted.
--
obtain indirect
information, under certain assumptions).
So maybe one could need implementations of pbinom and dbinom
which work differently in different circumstances. But what
remains important is that, whichever way they work in given
circumstances, they should be consistent with each other.
Best w
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.25
have a preceding test for "size<=0"
and return NaN in that case since, for the same reasons as
above, the result is the probability of a non-event.
(But it depends on your point of view, as above ... However,
surely the two should be consistent with each other.)
Best wishes,
Ted.
On 30-Jan-06 Roger D. Peng wrote:
> Well shared! :) Maybe better yet,
>
> "Before I begin this talk, I'd like to 'attach("nano")'".
>
> -roger
And, at the end of the talk:
"Save workspace image? [y/n/c]: "
Ted.
> Ben Bolker
Gibrltar 349
Gibaltar 1,850
Giraltar 530
Gbraltar 352
ibralter 576
I'm not proposing to get exhaustive about this, but a few further
experiments suggest that other specific typos are typically O(500)
in frequency:
Gibralatar 589
Gibrlatar
y and
maganed to tangle this with a standard definition of the
"variance" of a finite population which uses the 1/(N-1)
divisor!
E-Mail: (Ted Harding) <[EMAIL PROTECTED]>
Fax-to-email: +44 (0)870 094
greed. I wasn't aware of this -- what is the S-plus default?
(not that it matters ... ). A simply silly distinction, and
possibly a carry-over from the "confusion" described above
(e.g. "Since sample correlation is calculated as
Cov(X,Y)/sqrt(Var(X)*Var(Y)), shoul
eption of
R.version.string #Linux
[1] "R version 1.2.3, 2001-04-26"
which does know about is.na()<- at all.
Hmmm
Ted.
E-Mail: (Ted Harding) <[EMAIL PROTECTED]>
Fax-to-email: +44 (0)870 094 0861
Da
$c =~ s/<>> $c =~ s/>>/>\{\}>/;
>>
>> The name of the "continental" quotation mark « is "guillemet".
>>
>> The R Development Core Team must have had some bird on the brain
>> at the time ...
>
> I don't
R Development Core Team must have had some bird on the brain
at the time ...
Ted.
----
E-Mail: (Ted Harding) <[EMAIL PROTECTED]>
Fax-to-email: +44 (0)870 094 0861
Date: 16-Sep-05
On 16-Sep-05 Ted Harding wrote:
> On 16-Sep-05 Duncan Murdoch wrote:
>> Yes, this is the tex that gets output:
>>
>> \code{mlazy( <{}{}>, <>, <>)}
>>
>> This seems to happen in Rdconv.pm, around here:
>>
>> ##
< by
> <{}<, instead of just the first. (I would have guessed appending a g
> would work, but didn't in a quick test, i.e. $c =~ s/< didn't
> work.)
>
> Duncan Murdoch
Perl is overkill -- by a long way!
echo "{mlazy( <>
I can't come up with a better
idea than his: an up-to-date "Ihaka and Gentleman", which
does due honour to the greatly enhanced riches of R, and R's
solidity and quality, at the present time!
But maybe this might take a book ...
Best wish
r, Paul Aylin, Nicola G. Best,
Stephen J. W. Evans, Gordon D. Murray (2002).
Commissioned analysis of surgical performance by using
routine data: lessons from the Bristol inquiry.
J. R. Statist. Soc. A (2002) 165, Part 2, pp. 1-31)
Surely this would do? Does R n
91 matches
Mail list logo