similar to: any alternatives for complex for-loops?

Displaying 20 results from an estimated 10000 matches similar to: "any alternatives for complex for-loops?"

2008 Nov 27
2
as.numeric in data.frame, but only where it is possible
Hi, I would like to convert my "character" sequences in my matrix/ data.frame into "numeric" where it is possible. I would also like to retain my alphabetic character strings in their original forms. "5.1" > 5.1 "hm" > "hm" k<-matrix(c("aa", "bb", 1,2, 4.3, 0), nrow=2) mode(k) <- "numeric" #
2012 Jan 03
1
geo-replication loops
Hi, I was thinking about a common (I hope!) use case of Glusterfs geo-replication. Imagine 3 different facility having their own glusterfs deployment: * central-office * remote-office1 * remote-office2 Every client mount their local glusterfs deployment and write files (i.e.: user A deposit a PDF document on remote-office2), and it get replicated to the central-office glusterfs volume as soon
2004 Nov 30
2
[LLVMdev] dejagnu tester
Hi all, This is just to announce that I have a FreeBSD x86 machine running the test suite more or less continuously: http://kinoko.c.u-tokyo.ac.jp/~builddonkey/ Of note is that it now runs Dejagnu tests. (Thanks, tonic+co!) I'm also tracking CVS breakage (internally, for now). At some later point, I'll make available more real-time information on "is CVS alive and if not,
2005 Nov 12
2
[LLVMdev] building LLVM 1.6 on Debian unstable ...
Marco Matthies wrote: >> make[2]: Entering directory `/home/sameerds/data/llvm-1.6/tools/llc' >> llvm[2]: Linking Debug executable llc >> `.gnu.linkonce.t._ZNK4llvm14TargetLowering12getValueTypeEPKNS_4TypeE' >> referenced >> in section `.rodata' of >> /home/sameerds/data/llvm-1.6/Debug/lib/LLVMSelectionDAG >> .o: defined in discarded
2008 Nov 25
2
invoking user-defined function
Dear list, Can somebody tell me how to invoke user-defined functions from script files during run-time? Basically I have (almost) one function per script file. I am thinking of something like #include in C++ import in Java/Python use in Perl No, I don't need my functions every time R is started. Neither I am thinking about writing building my functions into packages. I just
2012 Jul 30
2
[LLVMdev] ARM JIT support status?
Hi. I am a little unclear about the ARM JIT support status. Is it working as of LLVM 3.1? If not, is it on the roadmap for LLVM 3.2? I am not currently interested in NEON support so if thats unimplemented, thats fine. thanks, Rahul
2012 Apr 19
3
Remus' Network Buffering
Hi, I am trying to understand and change the network buffering that is being used by Remus, the HA solution present in Xen. From what i understood from reading the code, Remus calls the postsuspend method of the BufferedNIC after it suspends the domain that sends TC_PLUG_CHECKPOINT message and start the buffering and then calls the commit method of BufferedNIC after it gets the acknowledgement
2001 Aug 08
4
Plotting multiple series of data
I'd like to plot data that's in the form of a table such as this: 1 2 4 6 8 12 a 10 11 12 14 15 30 b 2 3 3 4 5 5 c 1 1 2 2 3 3 Where the row headers are the results for different series of tests, and the column headers are the x-values. I'd like to plot this as a set of lines, one each for "a", "b", and "c". I can rearrange the data as needed, but
2017 Jul 19
4
Integration of Google Speech API V2
Hi Jonathan Thanks ! That would indeed be wonderful, at this point I really do not care whether I need to use Python or Lua or JS. I was following http://zaf.github.io/asterisk-speech-recog/ but hit a road end with (for the lack of sane word ) copulating Google's Key On Wed, Jul 19, 2017 at 2:28 PM, Jonathan H <lardconcepts at gmail.com> wrote: > Yes! But I can only tell you if
2012 Jul 26
2
Passing arguments to SQL Query in R
Hello all, I am a newbie at R, with some experience in PERL. I have a database table that contains the following data: Name | Score ======= | ===== Sachin T | 25 Sachin T | 53 Sachin T | 57 Sachin T | 34 Rahul D | 38 Rahul D | 31 Rahul D | 53 Ricky P | 7 Ricky P | 45 Ricky P | 27 Ricky P | 17 Ricky P | 86 Ricky P | 48 Jacques K | 23 Jacques K | 86 Jacques K | 32 I
2012 Jul 31
1
[LLVMdev] ARM JIT support status?
Hi Rahul, I believe that ARM support is working in the MCJIT engine (as of llvm 3.1). If it wasn't working in the legacy JIT engine 10 months ago then it probably still isn't. -Andy -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Rahul Garg Sent: Tuesday, July 31, 2012 1:13 PM To: llvmdev at cs.uiuc.edu Subject: Re:
2017 Jul 19
3
Integration of Google Speech API V2
Hi Marcelo, Thanks for replying, I do not know what this branch is. Could you please let me know. Also, I enabled google cloud speech API only from the console. Do I need more API enabled? On Wed, Jul 19, 2017 at 3:41 PM, Marcelo Terres <mhterres at gmail.com> wrote: > Did you already tried the cloud_api branch? > > Regards, > > Marcelo H. Terres <mhterres at
2005 Oct 18
4
responseText Vs responseXML
This is a newbie question. If I have a xml file that I am opening using Ajax.Request, then the response is trapped using responseText. Now this response is a set of xml tags, if I need to traverse through it using DOM, I am not able to use the getElementByTagName method? If I write my own ajax function, then when I do t.responseXML.getElementByTagName(''items'') it works but
2001 Aug 02
4
pictex driver and bargraph shading
I'm trying to use the pictex driver for bargraphs, and the shading isn't showing up. Is there any way to get some sort of shading in the plots? A hatch or stipple would be fine, too; just some way to differentiate the bars. The postscript driver won't do, since I'm trying to embed this in a LaTeX document which I'll use pdflatex on and \includegraphics for pdftex doesn't
2005 Aug 29
9
can a class find out it''s instance name?
Hi friends - a javascript question.... Does the prototype object add some way for a class to find out the variable name of its instance variable? Or does javascript have some built in way to do this? This is confusing to describe - but if I define a variable as some object: var myVariable= new Widget(''fdfa''); can some built-in method inside the Widget class be
2003 Nov 03
4
[LLVMdev] large linking time
Hello, I have observed that the LLVM build takes pretty long time to link executables (i.e. tools). Is that a normal behavior? Thanks, Rahul
2010 Apr 10
5
Rendering a Partial as an Alternative
Suppose that I want to have a block of default content within a template that is replaced with the content of a specific partial only if that partial exists. Obviously there is the brute force approach of simply rendering the default content unless the relevant partial file exists in which case the relevant partial is rendered instead. I suspect that there may be a more elegant way to skin this
2012 Jul 31
0
[LLVMdev] ARM JIT support status?
The only reference that I found so far here: http://llvm.org/devmtg/2011-09-16/EuroLLVM2011-LLVMplusARM.pdf The presenter states that the ARM JIT support is broken. But this is about 10 months old. Is the ARM JIT support still broken? Am I not looking at the right places in the documentation? Help will be appreciated. thanks, Rahul On Mon, Jul 30, 2012 at 4:53 AM, Rahul Garg <rahulgarg44 at
2011 Mar 24
6
CIFS mount with non-ascii (UTF8) password is not working
Hi , I have French CIFS server. If I try to map a share from any windows machine with non-ascii (UTF-8, french characters are part of password) password, it is successful. But If I try from linux machine, it fails. mount -t cifs //MACHINE/DatasetFIGS_?????????????&nbsp; /tmp/rahul -o user=??,password=??,domain=eKKDr mount error 13 = Permission denied Refer to the mount.cifs(8) manual
2008 Nov 19
2
Oja median
Hi Roger, As we know that The Oja median has (finite) breakdown point 2/n, i.e., is not robust in any reasonable sense, and is quite expensive to compute, so do we have some better methodology to compute multivariate median Rahul Agarwal Analyst Equities Quantitative Research UBS_ISC, Hyderabad On Net: 19 533 6363 [[alternative HTML version deleted]]