A package I have written makes considerable use of external C code. There
appear to be no problems building a Windows binary with the GNU C compiler, but
now I would like to make the package available for other platforms. A
stringent check of the code with the gcc options '-Wall -pedantic' fla
On Thu, Sep 24, 2009 at 2:09 PM, Vinh Nguyen wrote:
> On Thu, Sep 24, 2009 at 11:49 AM, Simon Urbanek
> wrote:
>> As Doug pointed out you don't want to be using .C(). As for matrix
>> manipulations - they are usually done directly on the objects which are
>> vectors stored in column-major order.
Seth Falcon wrote:
2009/9/24 Hervé Pagès :
> x <- charToRaw("ABCDEFGx")
> x[c(1:3, NA, 6)] <- x[8]
*** caught segfault ***
address 0x8402423f, cause 'memory not mapped'
Thanks for the report. I have a fix which I will commit after some testing.
Thanks Seth! H.
_
Dear R-Devel,
consider :
###
x <- round(rnorm(50))
stripchart(x, pch = 21, col = "black", bg = "pink", method = "jitter")
points(0.5, 1, pch = 21, col = "black", bg = "pink", cex = 2)
###
Under R 2.9.0 the internal color of the single point produced by points()
was honored but not the color of
Charles Danko wrote:
Hi, All,
I am getting some funny results trying to use R's built in
distribution functions.
In R:
dgamma(4.775972,1.37697964405418, 0.106516604930466)
[1] 0.05585295
dgamma(4.775972,1.37697964405418, 0.106516604930466,TRUE) ### THIS IS JUST
WRONG!
[1] 0.01710129
log(
Hi, All,
I am getting some funny results trying to use R's built in
distribution functions.
In R:
> dgamma(4.775972,1.37697964405418, 0.106516604930466)
[1] 0.05585295
> dgamma(4.775972,1.37697964405418, 0.106516604930466,TRUE) ### THIS IS JUST
> WRONG!
[1] 0.01710129
> log(dgamma(4.775972,1.37
Further to my previous message, I just dug this in lattice/R/layout.R :
rearrangeUnit <- function(x, pos, u)
{
lx <- length(x)
if (lx == 1)
u
else if (pos == 1)
unit.c(u, x[(pos+1):lx])
else if (pos == lx)
unit.c(x[1:(pos-1)], u)
else
unit.c(x[1
Hi Allen,
I've been working on this problem (among others) with a grad student
this summer. You can see our work here -
http://github.com/hadley/lubridate/ - particularly in durations.r and
ops.durations.r.
Hadley
On Fri, Sep 25, 2009 at 8:45 AM, Allen S. Rout wrote:
>
> It seems that there ar
It seems that there are several folks Out There with an itch to
scratch with respect to difftimes.
http://article.gmane.org/gmane.comp.lang.r.devel/19223/match=difftime
http://article.gmane.org/gmane.comp.lang.r.devel/18441/match=difftime
http://article.gmane.org/gmane.comp.lang.r.devel/10882/m
Hello,
Is there such thing as a build time dependency between packages :
package B needs package A so that it can build, but once built it lives
without it.
For example depending on the ant package to compile java code, or depend
on roxygen to roxygenize the code, ...
Adding roxygen to Dep
Dear Paul and others,
Thanks for the quick response.
2009/9/25 Paul Murrell :
> Hi
>
> The bit you found that says ...
>
> # Write "[<-.unit" methods too ??
>
> ... is the crucial bit.
>
When I figured that, I had already written up my email so I thought
I'd ask anyway from a naive user point of
11 matches
Mail list logo