similar to: Manipulate Data (with regular expressions)

Displaying 20 results from an estimated 5000 matches similar to: "Manipulate Data (with regular expressions)"

2010 Jul 06
3
Selection with changing number of columns
Dear list, I'm looking for a way to select rows of a data.frame with changing number of columns (constraint) involved. Assume a data (d) structure like Var.1 Var.2 Var.3 9 2 1 2 9 5 1 2 1 I know the number of involved columns. Is there a way to generate the following selection automatically (maybe for loop), so that it makes no difference if there are two or ten columns involved.
2010 Jul 05
3
Counting defined character within String
Dear list, I'm looking for a way to count the number of "|" within an object. The character "|" is used to separated ids. Assume a data (d) structure like Var NA NA NA NA NA 1 1|2 1|22|45 3 4b|24789 I need to know the maximum number of ids within one object. In this case 3 (1|22|45) Does anybody know a better way? Thanks Mit freundlichen Gr??en Andreas Kunzler
2008 Sep 09
2
exporting tapply objects to csv-files
Dear Everyone, I try to create a cvs-file with different results form the table function. Imagine a data-frame with two vectors a and b where b is of the class factor. I use the tapply function to count a for the different values of b. tapply(a,b,table) and I use the table function to have a look of the frequencies as a total table(a) I would like to put both results together in one txt or
2008 Sep 11
2
Handling time-series-Data
Dear List, I ran into some problems with time-series-Data. Imagine a data-structure where observations (x) of test attendants (i) are made a four times (q) a year (y). The data is orderd the following way: I y q x 1 2006 1 1 1 2006 3 1 1 2006 4 1 1 2007 1 1 1 2007 2 1 1 2007 3 1 1 2007 4 1 2 2006 1 1 3 2007 1 1 3 2007 2 1 I am looking for a way to count the attendants that at least have
2008 Jul 22
2
Table orderd by frequencies
Dear List, I try to order the output of a table by the frequencies of the vector I am look at. The object I am looking at is a factor with a lot of levels that were named only once. Therefore it would be much easier to order the output by the frequencies of the levels. E.g. > levels(a) "a" "b" "c" "d" Preferred outcome: table(a) b c a d 10 5 1 1
2008 Jul 16
2
Group level frequencies
Dear List, I have Multi-level Data i= Indivitual Level g= Group Level var1= First Variable of interest var2= Second Variable of interest and I want to count the frequency of "var1" and "var2" on the group level. I found a way, but there must be a much simpler way. data.ml <- data.frame(i=c(1:8),g=as.factor(c(1,1,1,2,2,3,3,3)),var1=c(3,3,3,4,4,4,4 ,4),
2008 Jul 17
5
calculate differences - strange outcome
Dear List, I ran into some trouble by calculating differences. For me it is important that differences are either 0 or not. So I don't understand the outcome of this calculation 865.56-(782.86+0+63.85+18.85+0) [1] -1.136868e-13 I run R version 2.71 on WinXP I could solve my problem by using round() but I would like to know the reason. Maybe someone can help me? Thanx
2006 Apr 10
2
Problem - Voicemail resets phone
Can you also post information such as: Type of phone (model Number would be idela) How is it conencted, SIP, ZAP, IAX, Channel Bank. Corresponding config files would also help. Help us help you. >>-----Original Message----- >>From: asterisk-users-bounces@lists.digium.com >>[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of >>Paul A Brown >>Sent:
2011 Apr 08
3
Rails Tutorials
Hi, I''ve begun watching the rails tutorials video, and have downloaded the iterm application. I did a search for GIT (git-1.7.4.1-x86_64-leopard.dmg<http://code.google.com/p/git-osx-installer/downloads/detail?name=git-1.7.4.1-x86_64-leopard.dmg&can=3&q=> ), and downloaded it the way it was suggested. After endlessy trying for an hour to follow the tutorial, I can not
2006 Jan 12
3
Using an extension to send a linux command
I am a newbie to asterisk and am trying to send a linux command using extensions in asterisk, for example when I dial 1111 I want to run the linux command "/usr/local/bin/br -c -n 1" (obviously without the quotes). If I SSH into my asterisk box and enter that command, it works, however I can't seem to get it to work from asterisk. I am running Asterisk@home2.2 (I know, I am a
2005 Feb 03
1
Multiple mailbox on the same SIP extension
I'm wondering if there's a way it will show on the phone when there's a new message. Here's what I'm trying to do : in my extensions.conf when someone call from a PSTN line on my TDM04B card they have a choice. When someone press 1 for sales then I have 3 phones ringing at the same time. Each phone as already there own mailbox because if someone know there extension
1999 Jun 11
1
SMBMOUNT on SGI
I would like to use smbmount on a SGI running IRIX 6.5.1m. The distribution of samba for IRIX does not include the executables smbmount or smbmnt. Is there a source for these executables? Regards, Fred -------------------------------------- Fred Kunzler Phone: (281) 575-5090 91-1SE-42C Pager: (800) 618-5062 10200 Bellaire Blvd. Fax: (281) 575-5473 Houston, TX 77072 E-mail:
1999 Jul 19
1
Saving MS Word Documents to a Samba Share from NT
I have installed Samba 2.0.4a on SGIs running IRIX 6.5. My PC is running NT Workstation SP 3. I have a problem saving documents from MS Word 97 SP 1. If I create a new document and attempt to save it to a Samba share I get the following error message: Word cannot complete the save due to a file permission error. (G:\XX\TEST.DOC). A listing of the directory from Unix shows the following:
2006 Feb 13
4
Voicemail - direct call
Hi list! How to send a call directly to voicemail recording? When I put this exten => 313,n,VoiceMail,u221 Or this exten => 313,n,VoiceMail,b221 In my dial plan, calling person first hears greeting message (busy or unviable). I would like to avoid greeting message (I would play something with Playback application). Is it possible? -- Tomislav Parcina tparcina#lama.hr
1998 Dec 11
5
Disabling storeing of cached profiles?
Hello! I know that this is not samba related, but may be some one knows a quick answer: When using profiles, stored on a well running samba-2.0.0beta2 PDC, the NT PC's cache the profile during a user session. As this profile is not deleted on the PC and we have a lot of users with only few PC's we need a lot of diskspace for this old profiles. Is there a way (Registry Key, ..) that
2015 Nov 25
2
"Failed to start domain..."
Sadly, I'm back with another issue. I can do a "system list --all" just fine; however, if I attempt to start the machines, I get back: maas@Bill-MAAS-cc:~$ strace -s 1024 -f -o /tmp/asdfasdf.log virsh -c vbox+ssh://gbadmin@10.20.0.1/system start PXE-client-07 error: Failed to start domain PXE-client-07 error: An error occurred, but the cause is unknown Log files on both client
2006 Jan 24
6
iax provider
Hi I looking a good IAX service for a *emerging * voip provider. Better with a test account to try. Thanks in advance. roberto -- Ing. Roberto Pereyra ContenidosOnline Servidores BSD, Solaris y Linux Soporte t?cnico ISPs Jabber ID: rpereyra@lugmen.org.ar For reliable and professional DNS, use DNS Made Easy! http://www.dnsmadeeasy.com/u/14989 -------------- next part
2006 Jul 13
0
Forms and regular expressions
Beginner''s question here. Are regular expressions something that are generally used in web forms ? I know Rails provides the validates methods. Curious to understand better how regexps fit in the scheme of things. TIA Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 May 05
2
can you do global match regular expressions?
I cant figure out how to do global regular expressions in ruby. Im not even sure if its possible. In the "Programming Ruby" book there is no mention of it. Can you do this? text = "aaa1 bbb2 ccccc3 dddddd4 eee5" re = /\w+\d{1}/ matches = re.match text m[0] = "aaa1" m[1] = nil m[2] = nil and so on.... Is there any way to get an array of all the matches??
2010 Nov 05
1
Regular Expressions
Hi, I'm trying to figure out how to use capturing parenthesis in regular expressions in R. (Doing this in Perl, Java, etc. is fairly trivial, but I can't seem to find the functionality in R.) For example, given the string: "10 Nov 13.00 (PFE1020K13)" I want to capture the first to digits and then the month abreviation. In perl, this would be /^(\d\d)\s(\w\w\w)\s/ Then