Displaying 3 results from an estimated 3 matches for "simpleiterable".
2009 Oct 13
1
for loop over S4
Hello,
Consider this :
> setClass("track", representation(x="numeric", y="numeric"))
[1] "track"
> o <- new( "track", x = 1, y = 2 )
> for( i in o ){
+ cat( "hello\n")
+ }
Error: invalid type/length (S4/1) in vector allocation
This happens at those lines of do_for:
n = LENGTH(val);
PROTECT_WITH_INDEX(v =
2004 Sep 10
0
reading vorbis comments with FLAC++?
--- Joshua Kwan <joshk@triplehelix.org> wrote:
> Well, I'm quite frankly stumped. I'm writing a program that recurses
> into directories and reads (among others) FLAC files and should be
> able
> to read the vorbis comments ARTIST and TITLE from the file.
>
> A while back, I was popen()ing to metaflac, because I didn't want to
> mess with libFLAC. But now,
2004 Sep 10
3
reading vorbis comments with FLAC++?
Well, I'm quite frankly stumped. I'm writing a program that recurses
into directories and reads (among others) FLAC files and should be able
to read the vorbis comments ARTIST and TITLE from the file.
A while back, I was popen()ing to metaflac, because I didn't want to
mess with libFLAC. But now, it's the weekend, so I can mess around with
this. Here's the code in question: