search for: somelist

Displaying 8 results from an estimated 8 matches for "somelist".

2009 Jun 17
2
list of data.frames?
I'm trying to build up a list of data.frames by "appending" one by one. If x,y,z are data.frames, I can do somelist <- list(x, y, z) (or even somelist <- list(x=x, y=y, z=z) to get names) But if I start with somelist <- list(x,y) and now want to go from this to list(x,y,z) I'm stuck. I've tried append(somelist, z) c(somelist, z) list(somelist, z) Each gives a different result but none are...
2012 Oct 17
2
Marking all mail in one folder of public mailbox as read
...} As you can see, the CONTROL/INDEX files are stored per-user to allow private \Seen flags. The different mailinglists are all sent to the 'lists' user which has a Sieve script to file them into different folders, so I have directories on my harddisk like /home/vmail/lists/Maildir/.somelist /home/vmail/lists/Maildir/.anotherlist Now, I'd like to mark the mail in *one* of those folders as \Seen by default. If the INDEX files weren't per-user, it would simply be a matter of using 'addflag "\Seen";' in the Sieve script of the lists user. Alas, this has no...
2003 Apr 14
5
removing NULL elements from a list
Dear All, I have a list, where several components are NULL, and I'd like to obtain that very same list without the NULL components (i.e., I do not want to unlist or otherwise loose the rest of the list structure). I can do that with a loop, but how could I do it without a loop? Thanks, Ram?n -- Ram?n D?az-Uriarte Bioinformatics Unit Centro Nacional de Investigaciones Oncol?gicas (CNIO)
2006 Sep 16
3
put procmail between postfix and dovecot
...or marco at domain1.net to /var/mail/vhosts/marco_domain1.net/ Everything is fine, as far as postfix is concerned: all email to marco at domain1.net goes in that mailbox, dovecot sees it, etc... Now I need to add sorting all incoming email in subfolders: mail from SOME_LIST to marco_domain1.net/SOMELIST/ (lots of other rules for custom folders) all else to main inbox I have to do all this sorting with procmail for two reasons: - I want to have as little sw as possible on that server, and update it semi-automatically, if possible only from the official repositories: procmail has these charact...
2018 Oct 15
2
sys.call() inside replacement functions incorrectly returns *tmp*
Kia Ora > Although I'm not sure what problem it would solve... Given that you asked, I was interested in writing a multiple assignment function as a replacement function, so something like: massign (x, y, z) = construct.some list () Obviously, that's not possible. Probably the best example I can think of is converting cartesian coordinates to polar coordinates. Then we might have
2008 Aug 27
11
find_by_sql and xml_serializer problems
Hi, I''m doing a find_by_sql and am getting an odd error when trying to render the result to xml. The find is: children_list = find_by_sql("SELECT components.componentid, components.logicalname, versions.level, versions.branch, versions.sequence FROM components, versions where components.componentid = ''" + component_id + "''" + " AND
2006 Jul 20
0
partials ''n'' stuff
...pt, I want the partial to parse a set of table rows (with table cells accordingly) - and I cannot add a the table-tag (and th-tags) around the results.. Obviously, in the partial template the rows are looped through, so I should not add them there, in the original view I have: <div id="somelist" style="display: none"></div> I''ve tried putting the table-tag within the <div> tags, but it did not work.. Any ideas ? /mich -- Posted via http://www.ruby-forum.com/.
2010 Apr 14
5
Running cumulative sums in matrices
Dear R-helpers, I have a huge data-set so need to avoid for loops as much as possible. Can someone think how I can compute the result in the following example (that uses a for-loop) using some version of apply instead (or any other similarly super-efficient function)? example: #Suppose a matrix: m1=cbind(1:5,1:5,1:5) #The aim is to create a new matrix with every column containing the