Dear open source contributors,
I am Eunyoung Chung, a Masters student working with Dr. Jensen at
Oregon State University. We are currently doing a research project in
collaboration with Dr.
Truong and Ph.D student Koji Yatani at University of Toronto. Our goal
is to understand how contributors co
With today's R 2.10.0(devel) I get:
> anyDuplicated(c(1,NA,3,NA,5), incomp=NA) # expect 0
Warning: stack imbalance in 'anyDuplicated', 20 then 21
Warning: stack imbalance in '.Internal', 19 then 20
Warning: stack imbalance in '{', 17 then 18
[1] 0
> anyDuplicated(c(1,NA,3,NA,3), incomp=NA) # expec
Some time ago, I posted a note about what I considered to be a bug in
axis.POSIXt() for R 2.8.x, relating to whether timezones in the data are
obeyed on the axes. A link to that note, and to a quick and helpful
response, is at the following URL
http://www.nabble.com/patch-for-axis.POSIXct-%28rel
I have been trying to compile the earth Multivariate Adaptive
Regression of Splines package as a standalone application under Linux
(x86_64 kernel-2.6.27.21 openSUSE 11.1) with gcc 4.3.2.
The package compiles without problems from within R as an R module and
I get the following linker error:
solved
I just linked to the libR.a :¬/
2009/5/8 Casper Clemence :
> I have been trying to compile the earth Multivariate Adaptive
> Regression of Splines package as a standalone application under Linux
> (x86_64 kernel-2.6.27.21 openSUSE 11.1) with gcc 4.3.2.
>
> The package compiles without prob
Perhaps this is the intended behavior, but I discovered that unsplit
throws an error when it tries to set rownames of a variable that has
no dimension. This occurs when unsplit is passed a list of
data.frames that have only a single column.
An example:
df <- data.frame(letters[seq(25)])
fa
On Fri, May 08, 2009 at 06:48:40PM +0200, Martin Maechler wrote:
> > "PS" == Petr Savicky
> > on Fri, 8 May 2009 18:10:56 +0200 writes:
[...]
> PS> ... I have
> PS> strong objections against the existing implementation of
> as.character(),
>
> {(because it is not *accurate* e
Philippe Grosjean wrote:
..<°}))><
) ) ) ) )
( ( ( ( (Prof. Philippe Grosjean
) ) ) ) )
( ( ( ( (Numerical Ecology of Aquatic Systems
) ) ) ) ) Mons-Hainaut University, Belgium
( ( ( ( (
hadley wickham wrote:
> On Fri, May 8, 2009 at 10:11 AM, Romain Francois
> wrote:
>
>> strapply in package gsubfn brings elegance here:
>>
>>
>>> txt <- 'bar'
>>> rx <- "<(.*?)>(.*?)"
>>> strapply( txt, rx, c , perl = T )
>>>
>> [[1]]
>> [1] "foo" "bar" "foo"
>>
>> Too bad you have
Romain Francois wrote:
> strapply in package gsubfn brings elegance here:
>
> > txt <- 'bar'
> > rx <- "<(.*?)>(.*?)"
> > strapply( txt, rx, c , perl = T )
> [[1]]
> [1] "foo" "bar" "foo"
>
sure, but this does not, in any way, make it less strange that gsub is
not vectorized.
> Too bad you have
> "PS" == Petr Savicky
> on Fri, 8 May 2009 18:10:56 +0200 writes:
PS> On Fri, May 08, 2009 at 05:14:48PM +0200, Petr Savicky wrote:
>> Let me suggest to consider the following modification, where match() is
done
>> on the strings, not on the original values.
>> level
On Fri, May 08, 2009 at 05:14:48PM +0200, Petr Savicky wrote:
> Let me suggest to consider the following modification, where match() is done
> on the strings, not on the original values.
> levels <- unique(as.character(sort(unique(x
> x <- as.character(x)
> f <- match(x, levels)
An alter
..<°}))><
) ) ) ) )
( ( ( ( (Prof. Philippe Grosjean
) ) ) ) )
( ( ( ( (Numerical Ecology of Aquatic Systems
) ) ) ) ) Mons-Hainaut University, Belgium
( ( ( ( (
..
Romain
On Fri, May 8, 2009 at 10:11 AM, Romain Francois
wrote:
> strapply in package gsubfn brings elegance here:
>
>> txt <- 'bar'
>> rx <- "<(.*?)>(.*?)"
>> strapply( txt, rx, c , perl = T )
> [[1]]
> [1] "foo" "bar" "foo"
>
> Too bad you have to pay this on performance:
>
>> txt <- rep( 'bar', 1000 )
On Fri, May 08, 2009 at 03:18:01PM +0200, Martin Maechler wrote:
> As long as we don't want to allow factor() to fail --rarely --
> I think (and that actually has been a recurring daunting thought
> for quite a few days) that we probably need an
> extra step of checking for duplicate levels, and
yes, and r graph gallery. those two would be easy to implement once the
system is up.
Philippe Grosjean wrote:
Don't forget R wiki in the list.
Best,
Philippe
..<°}))><
) ) ) ) )
( ( ( ( (Prof. Philippe Grosjean
) ) ) ) )
( ( ( ( (N
strapply in package gsubfn brings elegance here:
> txt <- 'bar'
> rx <- "<(.*?)>(.*?)"
> strapply( txt, rx, c , perl = T )
[[1]]
[1] "foo" "bar" "foo"
Too bad you have to pay this on performance:
> txt <- rep( 'bar', 1000 )
> rx <- "<(.*?)>(.*?)"
> system.time( out <- strapply( txt, rx, c , per
Don't forget R wiki in the list.
Best,
Philippe
..<°}))><
) ) ) ) )
( ( ( ( (Prof. Philippe Grosjean
) ) ) ) )
( ( ( ( (Numerical Ecology of Aquatic Systems
) ) ) ) ) Mons-Hainaut University, Belgium
( ( ( ( (
..
Jonathan Baron wrote:
After reading all this, I favor doing one of two things:
1. Put all the search stuff, including the proposed gmane function, in
Spencer's new package but make it one of the default packages, like
utils, etc., or,
2. Put everything in utils, including Spencer's new pa
> "PS" == Petr Savicky
> on Fri, 8 May 2009 11:01:55 +0200 writes:
PS> On Wed, May 06, 2009 at 10:41:58AM +0200, Martin Maechler wrote:
PD> I think that the real issue is that we actually do want almost-equal
PD> numbers to be folded together.
>>
>> yes, this now
After reading all this, I favor doing one of two things:
1. Put all the search stuff, including the proposed gmane function, in
Spencer's new package but make it one of the default packages, like
utils, etc., or,
2. Put everything in utils, including Spencer's new package and the
gmane f
Romain Francois wrote:
>
>txt <- grep( '^ TRUE )
> rx <- '^.*?(.*?).*(.*?).*$'
>out <- data.frame(
>url = gsub( rx, "\\1", txt ),
>group = gsub( rx, "\\2", txt ),
>description = gsub( rx, "\\3", txt ),
looking at this bit of your code, i wonder why gsub is not
There is something to be said for taking all of these functions,
including the original RSiteSearch, out of utils and putting them in
the new RSiteSearch package. These are the sorts of things that will
get revised frequently, and this way (I think) we won't have to bother
whoever takes care of ut
On 05/07/09 13:48, Liaw, Andy wrote:
> From: Duncan Murdoch
> > I'll incorporate the changes if you like.
Yes. Please do. I understand that it won't take effect for a while.
When it does, I'll change my site.
What do you think
> > of the idea
> > of adding a gmane (or other archive) search
On Wed, May 06, 2009 at 10:41:58AM +0200, Martin Maechler wrote:
> PD> I think that the real issue is that we actually do want almost-equal
> PD> numbers to be folded together.
>
> yes, this now (revision 48469) will happen by default, using signif(x, 15)
> where '15' is the default f
25 matches
Mail list logo