Displaying 20 results from an estimated 124 matches for "dowle".
Did you mean:
dowdle
2004 Sep 10
3
slow FLAC__file_decoder_seek_absolute()...
Hi,
I checked the archives, but I didn't find anything regarding this
problem. FLAC__file_decoder_seek_absolute takes an incredibly long time
to seek. What can I do about this? How do I fix it?
Here's how I'm calling the function:
if (argc > 2) {
secs = atoi(argv[2]);
seek_point = (FLAC__uint64) secs * sample_rate;
printf("seeking to %d:%02d\n", secs/60,
2004 Sep 10
2
slow FLAC__file_decoder_seek_absolute()...
sorry about the delay... first, yes you are calling it
correctly. if your encoded files have max_framesize == 0,
then that should mean that either 1) you were using the
command-line flac to encode to stdout; or 2) you are using
libFLAC directly. if 2, you can replicate the functionality
that is in src/flac/encode.c:metadata_callback() to write
back statistics and seek table to the metadata in
2004 May 26
1
FW: is.weekend() odd behaviour
...)
if(is.character(x) || is.numeric(x))
x <- as.chron(x) # was x <- chron(x)
else stop("x must inherit from dates")
....
}
-----Original Message-----
From: Uwe Ligges [mailto:ligges at statistik.uni-dortmund.de]
Sent: 26 May 2004 13:20
To: Matthew Dowle
Cc: 'r-help at stat.math.ethz.ch'
Subject: Re: [R] is.weekend() odd behaviour
Matthew Dowle wrote:
> Thanks. When is.weekend() is given an object it doesn't know about,
> could a warning or error be added? At the moment, I think you're
> agreeing, that it silently retu...
2006 Mar 02
5
Deparsing '...'
Hi,
The following function works, but is there a neater way to write it?
f = function(x,...)
{
# return a character vector of the arguments passed in after 'x'
gsub("
","",unlist(strsplit(deparse(substitute(list(...))),"[(,)]")))[-1]
}
> f(x,a,b,c*d)
[1] "a" "b" "c*d"
>
Thanks.
[[alternative HTML
2006 May 02
4
"a"+"b"
Hi,
Is there a way to define "+" so that "a"+"b" returns "ab" ?
> setMethod("+",c("character","character"),paste)
Error in setMethod("+", c("character", "character"), paste) :
the method for function '+' and signature e1="character",
e2="character" is sealed
2004 Sep 10
0
slow FLAC__file_decoder_seek_absolute()...
On Fri, Jan 25, 2002 at 07:22:05PM -0800, Josh Coalson wrote:
> sorry about the delay... first, yes you are calling it
> correctly. if your encoded files have max_framesize == 0,
> then that should mean that either 1) you were using the
> command-line flac to encode to stdout; or 2) you are using
> libFLAC directly. if 2, you can replicate the functionality
> that is in
2002 Jul 31
7
exportData(foo,"foo.xls","EXCEL") for R ?
r-help,
Is there a package available for R which allows you to export data directly
to .xls, much like exportData(foo,"foo.xls","EXCEL") in S-PLUS ? If not, is
anyone working on this, or thinking about working on this?
I apologise in advance if this question has already been answered.
Many thanks,
Matthew
2005 Dec 09
3
[R] data.frame() size
...an work with
overloaded functions which fixes the problems in my case.
Functions effected :
dim.data.frame
format.data.frame
print.data.frame
data.frame
[.data.frame
as.matrix.data.frame
Modified source code attached.
Regards,
Matthew
-----Original Message-----
From: Matthew Dowle
Sent: 09 December 2005 09:44
To: 'Peter Dalgaard'
Cc: 'r-help at stat.math.ethz.ch'
Subject: RE: [R] data.frame() size
That explains it. Thanks. I don't need rownames though, as I'll only ever
use integer subscripts. Is there anyway to drop them, or even better not
creat...
2006 May 23
4
Avoiding a memory copy by [[
Hi,
n = 10000000
L = list(a=integer(n), b=integer(n))
L[[2]][1:10] gives me the first 10 items of the 2nd vector in the list L.
It works fine. However it appears to copy the entire L[[2]] vector in
memory first, before subsetting it. It seems reasonable that "[[" can't
know that all that is to be done is to do [1:10] on the result and therefore
a copy in memory of the entire
2004 Sep 10
0
slow FLAC__file_decoder_seek_absolute()...
I think I figured out where the problem is. In my metadata_callback,
I added a thing to print out the max_framesize and max_framesize from
the stream_info block. Those are both zero. The ..._seek_absolute()
function of the SeekableStreamDecoder uses the max_framesize to guess
at where to seek. It doesn't seem to handle the case when
max_frame_size is zero very well. I'm looking
2015 Oct 05
9
Error generated by .Internal(nchar) disappears when debugging
On 05/10/2015 7:24 PM, Matt Dowle wrote:
> Joris Meys <jorismeys <at> gmail.com> writes:
>
>>
>> Hi all,
>>
>> I have a puzzling problem related to nchar. In R 3.2.1, the internal
> nchar
>> gained an extra argument (see
>> https://stat.ethz.ch/pipermail/r-announce/2015/000...
2004 May 26
3
is.weekend() odd behaviour
It seems is.weekend() is unsure ?
# Start R 1.9.0 with --vanilla on windows xp
# load package chron
> table(is.weekend(sapply(1:100, function(i){Sys.sleep(0.05);Sys.time()})))
FALSE TRUE
68 32
> date()
[1] "Wed May 26 11:18:56 2004"
> version _
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
2009 Aug 27
1
[Fwd: Re: Video demo of using svSocket with data.table]
...e I think it could interest people following
this thread. Clearly, RServe and svSocket have different goals and very
little overlap.
Best,
Philippe
-------- Original Message --------
Subject: Re: Video demo of using svSocket with data.table
Date: Wed, 26 Aug 2009 20:34:19 +0100
From: Matthew Dowle <mdowle at mdowle.plus.com>
Reply-To: Matthew Dowle <mdowle at mdowle.plus.com>
To: Philippe Grosjean <phgrosjean at sciviews.org>, Romain Francois
<romain.francois at dbmail.com>
References: <h6kcod$5ed$1 at ger.gmane.org>
<4A8E632D.6060504 at sciviews.org><...
2015 Oct 07
1
Error generated by .Internal(nchar) disappears when debugging
...age 'S4Vectors'
>
> Maybe a red herring...
>
> ~Malcolm
>
> > -----Original Message-----
> > From: R-devel [mailto:r-devel-bounces at r-project.org] On Behalf Of
> Duncan
> > Murdoch
> > Sent: Monday, October 05, 2015 6:57 PM
> > To: Matt Dowle <mattjdowle at gmail.com>; r-devel at stat.math.ethz.ch
> > Subject: Re: [Rd] Error generated by .Internal(nchar) disappears when
> > debugging
> >
> > On 05/10/2015 7:24 PM, Matt Dowle wrote:
> > > Joris Meys <jorismeys <at> gmail.com> writes...
2004 Nov 26
2
Tcl error - brace in argument?
Hi all,
Does anyone know a solution for this error ?
> tkwidget(dlg, "iwidgets::spinint", range="{0 23}")
Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class =
"tclObj") :
[tcl] wrong # args: should be ".31.1.19 configure -range {begin
end}".
Thanks,
Matthew
[[alternative HTML version
2015 Oct 06
1
Error generated by .Internal(nchar) disappears when debugging
On 05/10/2015 8:25 PM, Matt Dowle wrote:
>
> On Mon, Oct 5, 2015 at 4:57 PM, Duncan Murdoch <murdoch.duncan at gmail.com
> <mailto:murdoch.duncan at gmail.com>> wrote:
>
> On 05/10/2015 7:24 PM, Matt Dowle wrote:
> > Joris Meys <jorismeys <at> gmail.com <http://gmail.com>>...
2006 Mar 31
3
Function dependency function
Hi,
Is there a function taking a function as an argument, which returns all the
functions it calls, and all the the functions those functions call, and so
on? I could use Rprof, but that would involve executing the function,
which may miss some branches of code. I'd really like a function which
looks at the source code to work out all the functions that could possibly
be called. When I
2005 Dec 08
2
data.frame() size
Hi,
In the example below why is d 10 times bigger than m, according to
object.size ? It also takes around 10 times as long to create, which fits
with object.size() being truthful. gcinfo(TRUE) also indicates a great deal
more garbage collector activity caused by data.frame() than matrix().
$ R --vanilla
....
> nr = 1000000
> system.time(m<<-matrix(integer(1), nrow=nr, ncol=2))
[1]
2012 Mar 14
3
merge bug fix in R 2.15.0
Is it intended that the first suffix can no longer be blank? Seems to be
caused by a bug fix to merge in R 2.15.0.
$Rdevel --vanilla
DF1 = data.frame(a=1:3,b=4:6)
DF2 = data.frame(a=1:3,b=7:9)
merge(DF1,DF2,by="a",suffixes=c("",".1"))
Error in merge.data.frame(DF1, DF2, by = "a", suffixes = c("", ".1")) :
there is already a column
2010 Mar 24
2
translating SQL statements into data.table operations
I've recently stumbled across data.table, Matthew Dowle's package. I'm
impressed by the speed of the package in handling operations with large
data.frames, but am a bit overwhelmed with the syntax. I'd like to express
the SQL statement below using data.table operations rather than sqldf (which
was incredibly slow for a small subset of my fin...