search for: mywrite

Displaying 4 results from an estimated 4 matches for "mywrite".

Did you mean: maywrite
2009 Dec 12
1
Skipping of sample in ogg writing
...while (vorbis_bitrate_flushpacket (&vd, &op)) { ogg_stream_packetin (&os, &op); for (;;) { if (ogg_stream_pageout (&os, &og) == 0) break; mywrite (og.header, og.header_len); mywrite (og.body, og.body_len); if (ogg_page_eos (&og)) break; } } } return true; } //============================================================...
2009 Dec 12
1
Skipping of sample in ogg writing
...while (vorbis_bitrate_flushpacket (&vd, &op)) { ogg_stream_packetin (&os, &op); for (;;) { if (ogg_stream_pageout (&os, &og) == 0) break; mywrite (og.header, og.header_len); mywrite (og.body, og.body_len); if (ogg_page_eos (&og)) break; } } } return true; } //============================================================...
2012 Jul 14
2
writing data into files whose names are in a vector
GuRus How do I use the write function (or write.table or write.csv) to achieve the following please? age=c(32,37,39) names=c("john","peter","jake") I would like create in a directory 3 files each named as john.csv,peter.csv and jake.csv and each file have data from the age vector. That is jon.csv will contain 32, peter.csv will contain 37 and jake.csv will contain
2012 Nov 08
3
Beginner help about output in R
Dear R experts, I am a beginner with R and I have a question regarding the output of a function. Basically, I created 2 functions, value1 and value2, that calculate two values, and I would like to print those two values to an output datafile. I tryed the following function: function (x) {write.table(data.frame(value1(x),value2(x)),file=output.txt)} My problem is that I would like to calculate