search for: bunches

Displaying 20 results from an estimated 11012 matches for "bunches".

2001 Oct 29
2
write a bunch of objects to files
Hello all, I've got a bunch of objects I'd like to write to .csv files. For example, I have objects conveniently called n002.csv n001.csv p103.csv . . . I tried a loop: > for(i in ls(pattern="csv")) +write.table(i, file=i, sep=",", quote=F) That, of course, wrote out a bunch of files that contained x 1, n002.csv Or the like. How can I get i in the loop above
2010 Mar 05
1
for help on building a R package with several R function and a bunch of c, c++
Hope I can get quick help from here, I have a bunch of c, c++ included main function and makefile. It works well on both UNIX and windows. I tried to build R package which include this C++ program and several other R functions. R function here are independent c++ code. I prefer to define one R function to call this c++ program. Do you know any easy way to do it? I am reading manual
2011 Jul 29
2
How can I make before/after all a method?
I would like to turn this: describe TestClass do before :all do # set some config end after :all do # restore some config end # do a bunch of tests to this end into describe TestClass do with_config_value(X) # do a bunch of tests to this end Basically, I want to include before :all and after :all clauses into a test. However, I do not want this to apply toa ll tests. Thanks in advance.
2010 Mar 05
1
for help on building a R package with several R function and a bunch of c, c++
Hope I can get quick help from here, I have a bunch of c, c++ included main function and makefile. It works well on both UNIX and windows. I tried to build R package which include this C++ program and several other R functions. These R functions here are independent of c++ code. I prefer to define one R function to call this c++ program. I know how to build R package with just R function, But I
2006 Jun 28
2
[LLVMdev] jump table ?
Is it possible to take the address of a basic block ? I'd like to put a whole bunch of these addresses into an array, and then select one to branch to. Eg. like a switch statement. (i'm thinking also of GCC's computed goto's) I'm finding the code generated by an llvm switch is a big bunch of compares and jump instructions, which i'm not sure is the most efficent way of
2007 Jul 10
5
Seg Fault caused by StatusBar. Am I doing something wrong?
Some odd bug cropped up when I made a bunch of code changes to my app recently. I started getting the following everytime I closed the app: ---------------------------------- [BUG] Segmentation fault ruby 1.8.6 (2007-03-13) [i386-mswin32] This application has requested the Runtime to terminate it in an unusual way. Please contact the application''s support team for more information.
2016 Feb 05
4
StringSwitch class
Hi: I have a question about the llvm StringSwitch class. Why is this more efficient than comparing the hashes of the strings or just using a bunch of if statements. Anupama -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160205/9be0fcc8/attachment.html>
2006 Apr 06
2
Finding out the format of an object
Suppose I have an arbitrary R object. Is there a way to find out its format? There are 118 points, each described by two numbers. Let the name of the object be "obj" without the quotes. I can do a print (obj), but all I get is a bunch of numbers. I can do a ls.str (obj), but all I get is a bunch of numbers. Is it a data frame? A vector with 118 elements, each having two
2013 Oct 15
0
[LLVMdev] [lld] Handling a whole bunch of readers
On Wed, Oct 9, 2013 at 11:23 AM, Shankar Easwaran <shankare at codeaurora.org>wrote: > Hi, > > We have a whole bunch of readers(we would have some more too), and was > thinking if we should have a vector of Readers, and have a function > isMyFormat in each of them. > > Any reader that knows to handle, goes ahead and parses the file. > > On a side note, we
2018 Nov 22
2
[tryExcept] New try Function
Hi everyone, When dealing with errors, sometimes I want to run a bunch of code when an error occurs. For now I usually use a structure such as: res <- tryCatch(expr, error = function(cond) cond) # or try(expr) if (inherits(res, ?error?)) # or inherits(res, ?try-error?) # a bunch of code I though it would be useful to have a function that does this naturally, so I came up with the attached
2013 Oct 09
0
[LLVMdev] [lld] Handling a whole bunch of readers
I guess in each isMyFormat(), you would check the given file's magic using llvm::sys::fs::identify_magic(), and then check if it's a known value for that reader. That would be repeated in each isMyFormat(), which is not very good. I'd do that using a mapping from file magic to reader. I mean, we could call identify_magic() at some central place, look up the mapping, and then dispatch.
2015 Sep 08
5
Beta CentOS 7 Xen packages available
On 09/08/2015 06:41 AM, George Dunlap wrote: > On Mon, Sep 7, 2015 at 11:40 AM, Johnny Hughes <johnny at centos.org> wrote: >> What we really need is to make the REAL xen RPMs .. the ones produced in >> this SIG .. work with systemd. These RPMs are produced by Citrix, so we >> need to get the right. > > Just to be clear -- RPMs are produced by the CentOS Virt
2007 Jan 08
1
Controller actions do a bunch of javascript stuff...can I use spec that?
I''ve got a form that isn''t doing a regular POST...what actually happens is that when onClick gets called, a bunch of javascript stuff happens. It changes the form''s action to be a different URL. Then it polls for progress on another server, and when it''s 100% reverts back to the initial URL. I know that sounds really ugly (and I agree it is), but
2006 Feb 01
6
how to create a command line script that acts on a model?
Hi, I''m looking to create a ruby script that loads a bunch of records and manipulates these. Where do I start? I got this to begin with: #!/usr/bin/env ruby require File.dirname(__FILE__) + ''/../config/boot'' players = Player.find :all But it complains about a DB connection. How do I set this up? Jeroen
2023 Aug 24
4
[PATCH (set 1) 00/20] Rid W=1 warnings from GPU
On Thu, 24 Aug 2023, Jani Nikula wrote: > On Thu, 24 Aug 2023, Lee Jones <lee at kernel.org> wrote: > > This set is part of a larger effort attempting to clean-up W=1 > > kernel builds, which are currently overwhelmingly riddled with > > niggly little warnings. > > The next question is, how do we keep it W=1 clean going forward? My plan was to fix them all, then
2013 Oct 10
0
[LLVMdev] [lld] Handling a whole bunch of readers
On 10/9/2013 4:19 PM, Shankar Easwaran wrote: > On 10/9/2013 3:09 PM, Nick Kledzik wrote: >> On Oct 9, 2013, at 11:23 AM, Shankar Easwaran >> <shankare at codeaurora.org> wrote: >>> We have a whole bunch of readers(we would have some more too), and >>> was thinking if we should have a vector of Readers, and have a >>> function isMyFormat in each
2011 Mar 31
3
Create Variable names dynamically
Hi, I want to create variable names from within my code, but can't find any documentation for this. An example is probably the best way to illustrate. I am reading data in from a file, doing a bunch of stuff, and want to generate variables with my output. (I could make a "list of lists" and name all the elements, but I really want separate variables.) ################# #This is
2013 Oct 09
1
[LLVMdev] [lld] Handling a whole bunch of readers
All files cannot be identified with a magic though. For example Linker scripts, and currently YAML files. On 10/9/2013 1:36 PM, Rui Ueyama wrote: > I guess in each isMyFormat(), you would check the given file's magic using > llvm::sys::fs::identify_magic(), and then check if it's a known value for > that reader. That would be repeated in each isMyFormat(), which is not very >
2016 Apr 05
2
Is that an efficient way to find the overlapped , upstream and downstream ranges for a bunch of ranges
I do have a bunch of genes ( nearly ~50000) from the whole genome, which read in genomic ranges A range(gene) can be seem as an observation has three columns chromosome, start and end, like that seqnames start end width strand gene1 chr1 1 5 5 + gene2 chr1 10 15 6 + gene3 chr1 12 17 6 + gene4 chr1 20 25 6 + gene5
2013 Oct 09
7
[LLVMdev] [lld] Handling a whole bunch of readers
Hi, We have a whole bunch of readers(we would have some more too), and was thinking if we should have a vector of Readers, and have a function isMyFormat in each of them. Any reader that knows to handle, goes ahead and parses the file. On a side note, we currently use .objtxt as an figure out if the file is a YAML file or not. I have added FIXME's in the code, if we could some kind of