On Fri, 16 Jun 2017, Dario Strbenac wrote:
Good day,
It's not described anywhere in the help page, but tapply and by
functions will, by default, convert factors into numeric values. Perhaps
this needs to be documented or the behaviour changed.
It *is* described in the help page.
This re
On Mon, 27 Mar 2017, Rolf Turner wrote:
From time to time I get myself into a state of bewilderment when using
apply() by calling it with FUN equal to a function which has an "optional"
argument named "X".
E.g.
xxx <- lapply(y,function(x,X){cos(x*X)},X=2*pi)
which produces the error mes
On Thu, 10 Dec 2015, Konrad Rudolph wrote:
I’ve got the following scenario: I need to store information about an
R function, and retrieve it at a later point. In other programming
languages I’d implement this using a dictionary with the functions as
keys. In R, I’d usually use `attr(f, 'some-nam
On Thu, 9 Jul 2015, Therneau, Terry M., Ph.D. wrote:
I have a local library 'dart' that imports "httr".
[snip `R CMD build' can't find dart]
Any ideas? There is no mention in the Writing R Extentions manual that it
ignores the
Rprofile file.
Terry,
From WRE:
1.3 Checking and buildi
On Tue, 16 Jun 2015, Frank Harrell wrote:
Terry Therneau has been very helpful on r-help but we can't figure out what
change in R in the past months made extra columns appear in model.matrix when
the terms object is subsetted to remove stratification factors in a Cox
model. Terry has changed
e-darwin9.8.0/i386 (32-bit)
locale:
[1] C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
Charles C. BerryDept of Family/Preventive Medicine
cbe...@tajo.ucsd.eduUC San Diego
http://famprevmed.ucsd.e
On Thu, 25 Nov 2010, Charles C. Berry wrote:
On Thu, 25 Nov 2010, Michael Friendly wrote:
kronecker, with make.dimnames=TRUE uses a hardwired sep=":" in the line
tmp <- outer(dnx[[i]], dny[[i]], FUN = "paste", sep = ":")
For an application in w
rku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele StreetWeb: http://www.datavis.ca
Toronto, ONT M3J 1P3 CANADA
__________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listi
but that didn't
help much ...
Daniel Dickison
Research Programmer
ddicki...@carnegielearning.com
Toll Free: (888) 851-7094 x103
FAX: (412) 690-2444
Revolutionary Math Curricula. Revolutionary Results.
Carnegie Learning, Inc. | 437 Grant St. 20th Floor | Pittsburgh, PA
15219
www.carnegielearning.com
__
e
straight forward solution would be to have a hook .onExit that a
package could specify to make sure that the code was unloaded before
the program terminates, that way I don't overwrite .Last if if has
another purpose.
-Andrew
On Tue, Nov 16, 2010 at 11:27 AM, Charles C. Berry wrote:
On T
65 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Charles C. BerryDept of Family/Preventive Medicine
cbe
7.82753 -1.207808 001º12'28.10711"W
037º49'39.11703"N 368.859 317.920 25/10/2010 17:00:30
14 37.82753 -1.207808 001º12'28.10702"W
037º49'39.11711"N 368.861 317.922 25/10/2010 17:00:45
15 37.82753 -1.207808 001º12'28.10733"W
03
ling list
https://stat.ethz.ch/mailman/listinfo/r-devel
Charles C. Berry(858) 534-2098
Dept of Family/Preventive Medicine
E mailto:cbe...@tajo.ucsd.edu UC San Diego
http://famprevmed.u
found by "brute force" (grep all .Rnw
> > > files on CRAN for the option?
> > >
> > > Claudia
> > >
> > >
> > >
> > __
> > R-devel@r-project.org mailing list
> > https:/
: subscript out of bounds
Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Charles C. Berry(858) 534-2098
d output
was
(xm <- weighted.mean(x,wt,na.rm=T))
[1] 3.5
The number si obtained ignoring the x[4], which is NA.
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Charles C. Berry
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Charles C. Berry(858) 534-2098
_
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Charles C. Berry(858) 534-2098
Dept of Family/Preventive Medicine
E mailto:cbe...@tajo.ucsd.edu UC S
ev48333
language R
version.string R version 2.9.0 (2009-04-17)
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Charles C. Berry
ls remembered as an extra
attribute, and also looks out for dates. So the result is like ns() in the eyes
of model.frame, and it works. But having to write gender twice on the rhs is
confusing to users.
Thanks in advance for any comments.
Terry Therneau
_
aching point of view I'd
be delighted to see it.
Terry T.
__________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Charles C. Berry(858) 534-2098
22=20
3005 Bern Switzerland=20
Tel. +41 31 356 61 61
Mail: [EMAIL PROTECTED]
___
[[alternative HTML version deleted]]
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Charles C. Berry
of class 'ordered' and the levels attributes are the same
would this be sensible.
HTH,
Chuck
Christophe
__________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Charles C. Berry(858) 534-2098
e at Nabble.com.
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Charles C. Berry(858) 534-2098
Dept of Family/Preventive Medicine
E mailto:[
stem elapsed
## 1.283186 1.052632 1.25
You get similar results if you put for loop outside the system.time()
call (and sum up the timings).
Cheers
Henrik
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-deve
om
AIC: NA
=20
Number of Fisher Scoring iterations: 5
=20
# Now the standard errors are all well-behaved
=20
=20
[[alternative HTML version deleted]]
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Ch
listinfo/r-devel
>>
>
> __________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
Charles C. Berry(858) 534-2098
Dept of Family/Prev
ment
> -3170 FAX
> E-mail: [EMAIL PROTECTED]
> http://www.cc.ysu.edu/~gjkerns/
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
Charles C. Berry(858) 534-2
ats" "graphics" "grDevices" "utils" "datasets" "methods"
>> "base"
>>
>>> version
>> platform i386-pc-mingw32
>> arch i386
>> os mingw32
>> system
h/mailman/listinfo/r-devel
Charles C. Berry(858) 534-2098
Dept of Family/Preventive Medicine
E mailto:[EMAIL PROTECTED] UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/ La J
. Check
Sys.getenv("PATH")
install.packages() works fine on all my Gentoo boxes with R installed as
per the instructions in
$R_HOME/doc/manual/R-admin.html
>
> __
> R-devel@r-project.org mailing list
> https://st
native HTML version deleted]]
>
> ______
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
Charles C. Berry(858) 534-2098
Dept of Fam
ets you there like
> marked stones across a marsh. Leaving the path usually gets you at best
> neck deep in the mire, alternatively just bubbles.
Fortune!
[snip]
Charles C. Berry(858) 534-2098
Dept of Family/Preventive
Y or simplify gives the desired behavior and SIMPLIFY takes
precedence over simplify if both are given values. Not pretty, perhaps,
but it does the job.
I suppose this could get one into trouble if one of the ... args is named
'simplify', but I do not imagine that is a big
it look like the axes are different.
Axis()/axis() is behaving the same way in both cases.
> par(mfrow=c(1,2))
> plot(c(.51, .6), bty = "n", xaxs = "i", yaxs = "i")
> box(lty=2)
> plot(c(.51, .6), xaxs = "i", yaxs = "i")
> axis(4,col=2)
in cat("gdef is ", gdef, "\n") : argument "fdef" is missing, with
> no default
>
>
> What would be nice to be able to do is to have a simple way for f() to
> act just like g() does.
Is this what you want?
> f <- function(fnodef, fdef=NULL) {
LLC
> 53 State Street, 5th Floor | Boston, MA | 02109
> Tel: 617/392-8396Fax:617/476-6389
> mailto:[EMAIL PROTECTED]
>
>
>
> This e-mail, and any attachments hereto, are intended for us...{{dropped}}
>
> __
> R-devel@r-pr
vior on R-2.2.0 Linux.
On Fri, 6 Oct 2006, Henrik Bengtsson wrote:
> Tried the following with R --vanilla on the Rv2.4.0 release (see
> details at the end). I think the script and its comments speaks for
> itself, but the outcome is certainly not wanted.
>
[snip]
Charles C. Berry
(answer) <- dots[[1]]
> @@ -47,4 +55,4 @@
> }
> formals(FUNV) <- formals(FUN)
> FUNV
> -}
> \ No newline at end of file
> +}
>
> --
> Lep pozdrav / With regards,
>Gregor Gorjanc
>
> ---
or it
***could*** be done by using match.call to recover the explicit '+' or
'-'.
But I shudder to think of the confusion that this approach might cause
when n is an expression whose value is negative.
Chuck
Charles C. Berry(858) 534-2098
t both blank lines and comment lines
> will exit the browser.
Kevin,
This trick may help:
Browse[1]> { ### blank lines will be ignored
+
+
+
+ x+1
+ }
[1] 2
Browse[1]>
Maybe you want to write 'ess-eval-region-in-braces'.
[rest deleted]
Chuck
Charles C. Berry
On Wed, 26 Oct 2005, Peter Dalgaard wrote:
> "Charles C. Berry" <[EMAIL PROTECTED]> writes:
>
>> Is this a bug?
>>
>> If not, I am curious to know why '[<-.data.frame' was designed to yield
>> a.frame$y != a.frame$z rather than re
a.frame[[ "z" ]][ 2:5 ] <- letters[2:5]
> a.frame
xyz
1 ab
2 bcb
3 c d c
4 ded
5 e e
Chuck
Charles C. Berry(858) 534-2098
Dept of Family/Preventive Medicine
E mailto:[EMAIL PROTECT
I get
c1279b77fcccf40379f59a83523a440e *R-2.2.0-win32.exe
but I see
e8bdf765fe8013129045314c8e2605fd *rw2011.exe
on several USA mirrors.
I hope the latter is merely in need of a replacement and not an
indication of a problem with the web sites.
Chuck
Charles C. Berry
stant
> time penalty on making such a call.
>
> Thanks in advance, Jim
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
Charles C. Berry(858) 534-2098
45 matches
Mail list logo