similar to: sample codes for writting a function with unknown number of arguments

Displaying 20 results from an estimated 2000 matches similar to: "sample codes for writting a function with unknown number of arguments"

2008 Jul 09
2
Does sprof work on CentOS5?
No matter how I try, I can't seem to get a library profile from sprof on CentOS5. Does anyone know if sprof actually works on CentOS5? I'd be very interested to hear if anyone is using it successfully. At the moment I'm trying something like this to get the dump: LD_LIBRARY_PATH=. LD_PROFILE=libmy.so ./mymain where libmy.so is the library I want to profile, and mymain is the
2010 Jan 25
1
Same y-axis on multiple plots?
Greetings, I am attempting to use R throug PL/R in PostgreSQL to make several graphs (they show usage over time for radiochannels). However, as some never go above 100 in a 24 hour period, and others go well over 500, they get different y-axis values (which normally would be a good thing). However, as I want to overlay the graphs to add/remove channels in CSS on a webpage, I need a set y-axis.
2011 Apr 05
0
[LLVMdev] how to use the shadow-stack?
Hi, I'm trying to start using gc with llvm, and was trying to get started with the shadow-stack plugin. I'm having trouble putting everything together, even in this simple case. My compiler generates the necessary gcroot instructions and for now I would be glad just being able to walk through the roots and print out some numbers. For example, I have the following my.ll file: my.ll:
1998 Nov 30
1
corrupt files when writting to samba server
Hi I'm having some problems running samba 2.0beta2: when I try to write files to the samba server aprox. 1/3 of the files get full of null characters. I'm using samba in Digital Unix 4.0d compiled with the native cc and the samba server is registered in a NT domain controlled by a NT machine (security=domain). Any ideas? Is this a known bug?
2007 Apr 13
2
How to dtrace which process is writting a veritas volume?
Hi all, How to dtrace a who is writing a veritas volume? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20070412/dfd8c254/attachment.html>
2013 Jan 01
1
[LLVMdev] Help : Writting a LLVM pass
I'm working though http://llvm.org/docs/WritingAnLLVMPass.html, trying to write a very simple pass. I have followed all the steps mentioned in this document.But as mentioned I'm not getting any file named Hello.so in Debug+Asserts/lib folder(There is a file named LLVMHello.so only). I have also tried to modify Hello.cpp in lib/Transforms/Hello but these changes doesn't reflect
2005 Nov 28
0
Re: [Bug 3002] problems writting to serial ports on 2005-05-24 release
On 11/25/05, Fernando Chmielewsky <ferchimi@gmail.com> wrote: > sorry I ask you this in this way... > I once tracked a bug in wine using CVS, but now I can't even get to > download the cvs tree, doing exactly the sama I did in the past: > creating ~/.cvspass with the single line > :pserver:cvs@cvs.winehq.com:/home/wine Ah<Z > and ~/cvsrc file containing: > cvs -z
2006 Jan 04
0
Writting a line in encoder with speex compression.
Hello, first of all, I am going to sum up what I am trying to do, so that best advice can be given. The final objective is to write a simple application to establish a VoIP communication over a GPRS link. So it would be to get a full duplex (capture/playback) sound application that captured from microphone, compresses speech with Speex, and sends it trough the socket API over the GPRS link. By
2015 May 19
0
Writting 16-bit PCM data to Ogg.
sorry for the mess created. So far I have installed these two library *libogg-1.3.2, libvorbis-1.3.4* successfully. When installing this *vorbis-tools-1.4.0 *: I am getting this error. Making install in man make[2]: Entering directory `/home/arunbalaji/Downloads/vorbis-tools-1.4.0/oggenc/man' make[3]: Entering directory `/home/arunbalaji/Downloads/vorbis-tools-1.4.0/oggenc/man' make[3]:
2002 Apr 15
1
Re: Writting R Function
Hi, I think I found the problem. It lies in my Fortran program. Is there a way, after a DO loop, to make sure it does NOT return anything? Cheers, Kevin On Mon, 15 Apr 2002, Ko-Kang Kevin Wang wrote: > Date: Mon, 15 Apr 2002 17:27:20 +1200 (NZST) > From: Ko-Kang Kevin Wang <kwan022 at stat1.stat.auckland.ac.nz> > To: R Help <r-help at stat.math.ethz.ch> > Subject:
2006 Dec 04
2
background color in strip.custom()
Hi all, how can I change the background color in lattice strips according to a factor level, eg: library(lattice) x <- rnorm(100) y <- sqrt(x) f <- gl(2, 50, c("A", "B")) xyplot(y ~ x | f) I like to change the background color of the strips according to the levels in f and tried several things like this with no success: xyplot(y ~ x | f,
2008 Oct 28
2
writting null (\000 or ^@) to an external text file without the new warning
I have some functions that write an external text file for postprocessing by another program. Some instructions to the other program need to be indicated by null values (\000 or ^@). The function currently uses code like: writeChar(rawToChar(as.raw(0)), con) where con is a connection to the file. Previous to version 2.8.0 this worked fine. With 2.8.0 it still works, but I get a warning
2005 Dec 21
6
Writting 0s
Hello zfs-discuss, When compression is set to on for a givef file system, then if block contains only 0s "nothing" is writen. I wonder if it would be beneficial if ZFS behaves that way not only for block which are going to be compressed but for all block regardless of compression. Or perhaps making this simple check would too much impact CPU for normal data? ? --
2020 Sep 25
2
Re: Help on Meson build Error
On Fri, Sep 25, 2020 at 5:35 PM Daniel P. Berrangé <berrange@redhat.com> wrote: > On Fri, Sep 25, 2020 at 05:31:09PM +0800, Wei Wang wrote: > > On Fri, Sep 25, 2020 at 5:24 PM Andrea Bolognani <abologna@redhat.com> > > wrote: > > > > > On Fri, 2020-09-25 at 10:16 +0100, Daniel P. Berrangé wrote: > > > > On Fri, Sep 25, 2020 at 05:03:24PM
2007 Oct 12
2
accessing ylim set by xyplot
Hello, I would like to know if there is a clever way to avoid the problem illustrated below within the xyplot function. x <- seq(1:10) y <- seq(1:10) pr1 <- xyplot(x ~ y) u <- seq(1:12) v <- seq(1:12) pr2 <- xyplot(u ~ v, col = "red", more = FALSE) prts <- list(pr1, pr2) for(i in prts) print(i, more = TRUE) I realize that one possibility is to
2011 Feb 11
1
Writting my own package - 64 bit problem with R_GetCCallable
Hello list, I've been working on a package of my own. It works fine on the 32bit linux machines that I've tested it on. Someone using 64bit ubuntu wanted to try it, and surprising segfaults happened. My test code results in no segfault, errors, or leaks from my calls when run under valgrind (I recompiled R with the level 2 valgrind instruments). R and packages are compiled from source,
2008 May 25
3
naming components of a list
Hi I have a character vector with thousands of names which looks like this: > V=c("Fred", "Mary", "SAM") > V [1] "Fred" "Mary" "SAM" > class(V) [1] "character" I would like to change it to a list: > L=as.list(V) > L [[1]] [1] "Fred" [[2]] [1] "Mary" [[3]] [1] "SAM" but I need to
2015 May 18
5
Writting 16-bit PCM data to Ogg.
Hi Developers, I have a 16-bit PCM data buffer, I want to write that to ogg file. Could you help me to understand how to write pcm data to the ogg? Thanks in advance. Arun balaji -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/vorbis-dev/attachments/20150518/6c8c9a63/attachment.htm
2007 Aug 28
3
data formatting: from rows to columns
Hi All, I have some data I need to write as a file from R to use in a different program. My data comes as a numeric matrix of n rows and 2 colums, I need to transform each row as a two rows 1 col output, and separate the output of each row with a blanck line. Foe instance I need to go from this: V2 V3 27 2032567 19 28 2035482 19 126 2472826 19 132 2473320 19 136 2035480 135
2010 Apr 29
5
reduce size of pdf
is there a way to reduce the size of pdf files in R: ? compression? lower dpi ? or some other option?