search for: bunch

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

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 contai...
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 ea...
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. -------------- next part -------------- An...
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 h...
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 effice...
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 app...
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 sub-elements? Or ---? The object in question is of the class gam (Generalized Additive Model). I know how to pull out some data with the "predict"...
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 currently use .objtxt as an figure out i...
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, s...
2013 Oct 09
0
[LLVMdev] [lld] Handling a whole bunch of readers
...ery 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. 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 currently use .objtxt as an figure out i...
2015 Sep 08
5
Beta CentOS 7 Xen packages available
...> > -George Right ... I said 'produced by' in relation to Citrix, but I clearly meant to say 'lead by' instead. The point I am trying to make is that we (the SIG, as a community) want to produce RPMs here (in the SIG) that are of use to the community and not fragment to a bunch of different individual people making a bunch of different RPM sets that the community does not know who produces, etc. If we can produce the RPMs instead on the community build system where we (the SIG .. with representation from both the CentOS Project and Citrix) can sign and release the packag...
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 that''s the way it has to be at thi...
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
...=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 move each warning to W=0. Arnd recently submitted a set doing just that for a bunch of them. https://lore.kernel.org/all/20230811140327.3754597-1-arnd at kernel.org/ I like to think a bunch of this is built on top of my previous efforts. GPU is a particularly tricky though - the warnings seem to come in faster than I can squash them. Maybe the maintainers can find a way to tes...
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 of them. >>> >>> Any reader that knows to handle, goes ahead and parses the file. >>> >>> On a side...
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 just a dummy example, please excuse any shortcuts... data <- read.table("file", ....) anim...
2013 Oct 09
1
[LLVMdev] [lld] Handling a whole bunch of readers
...ng from file magic to reader. I mean, we could > call identify_magic() at some central place, look up the mapping, and then > dispatch. > > 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 currently use .o...
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 + g...
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...