similar to: Putting commas in between character strings

Displaying 20 results from an estimated 120 matches similar to: "Putting commas in between character strings"

2011 Jun 07
1
Regular Expressions for "Large" Data Set
I'm running R 2.13 on Ubuntu 10.10 I have a data set which is comprised of character strings. site = readLines('http://www.census.gov/tiger/tms/gazetteer/zips.txt') dat <- c("01, 35004, AL, ACMAR, 86.51557, 33.584132, 6055, 0.001499") dat I want to loop through the data and construct a data frame with the zip code, state abbreviation, and city name in seperate columns.
2011 Jun 14
1
Invalid Regular Expression
I'm working with some data, and am trying to generate it in the following format. state city zipcode I like pizza 0 0 0 I live in Denver 0 1 0 All the fun stuff is in Alaska 1 0 0 he lives in 66062
2020 Jul 22
3
Invisible names problem
I ran into strange behavior when removing names. Two ways of removing names: i <- rep(1:4, length.out=20000) k <- c(a=1, b=2, c=3, d=4) x1 <- unname(k[i]) x2 <- k[i] x2 <- unname(x2) Are they identical? identical(x1,x2) # TRUE but no identical(serialize(x1,NULL),serialize(x2,NULL)) # FALSE But problem is with serialization type 3, cause:
2020 Jul 22
0
Invisible names problem
Very interesting: > .Internal(inspect(k[i])) @10a4bc000 14 REALSXP g0c7 [ATT] (len=20000, tl=0) 1,2,3,4,1,... ATTRIB: @7fa24f07fa58 02 LISTSXP g0c0 [REF(1)] TAG: @7fa24b803e90 01 SYMSXP g0c0 [MARK,REF(5814),LCK,gp=0x6000] "names" (has value) @10a4e4000 16 STRSXP g0c7 [REF(1)] (len=20000, tl=0) @7fa24ba575c8 09 CHARSXP g0c1 [MARK,REF(35005),gp=0x61] [ASCII] [cached]
2008 Dec 31
2
sdate<-as.POSIXct(strptime(date,format="%m/%d/%Y %H:%M"))
Newbie here~ I've spent a ton of time on this, but have to admit I am stuck. I've tried various combinations of strptime and the package CHRON, but still can't get there. My simple task is that I want to plot salinity (S1 or S2) on y-axis and time on x-axis, but I want to use a lay-understandable representation of time (not Julian). If I use the following command, I can make a
2004 Aug 06
2
Speex DLL wrapper looking.
Dear Sirs, I'm looking for the DLL version of Speex, to study very quickly the possible integration of this interesting voice oriented CODEC into our application. We develop, mainly, in Delphi. We use C++ only to develop firmware for our RF transcievers. I saw on the Speex.org website that there is a Delphi program\porting, but this dll is missing there. Can you help me about this? It will
2011 Feb 15
1
Passing Arguments in a function
Hi All, I'm having some trouble assigning arguments inside a function to produce a plot from a model Can anyone help me? Below I've outlined the situation and examples of failing and working code. Regards Mike ## data ## decay.data <- ... behaviors lift reach.uu estimated.conversions.uu total.reach 1 1 432.0083 770 770 0.00 2
2003 Aug 22
4
CVS Question
When I checkout the latest asterisk version, then do a "make clean" and "make install", shouldn't the "show version" command tell me the new version date? I have done several updates and the version displayed is still from 2 months ago. Thanks. Andres.
2019 Apr 29
4
Replication failures
Hai, I snapped this part of you logs. > Successful AuthZ: [DCE/RPC,krb5] user [COMPANY]\[DC6$] [S-1-5-21-2660373802-310620142-1895175072-6626] at [Fri, 26 Apr 2019 10:16:20.224329 PDT] Remote host [ipv4:10.14.16.11:35006] local host [ipv4:10.12.16.11:49153] > [2019/04/26 10:16:23.503632, 0] ../../source4/lib/cmdline/popt_common.c:74(popt_s4_talloc_log_fn) > Bad talloc magic value
2003 Jun 20
7
ok, so oplocks: good or bad?
I have been searching for info on this and haven't found an authoritative answer. From what I have read, oplocks are good because they increase connection speeds, but they are bad because they don't really work, but they actually do work, but they only work in some cases, etc etc. so, here's my problem and my question together: I get tons of these messages every day (over a thousand a
2016 Jul 02
3
Winbind process stuck at 100% after changing use_mmap to no
On 01/07/16 19:28, Jeremy Allison wrote: > On Fri, Jul 01, 2016 at 10:00:21AM +0100, Alex Crow wrote: >> Hi, >> >> We've had a strange issue after following the recommendations at >> https://wiki.samba.org/index.php/Ping_pong, particularly the part >> about mmap coherence. We are running CTDB/Samba over a MooseFS >> clustered FS, and we'd not done the
2013 Feb 27
1
Slow read performance
Help please- I am running 3.3.1 on Centos using a 10GB network. I get reasonable write speeds, although I think they could be faster. But my read speeds are REALLY slow. Executive summary: On gluster client- Writes average about 700-800MB/s Reads average about 70-80MB/s On server- Writes average about 1-1.5GB/s Reads average about 2-3GB/s Any thoughts? Here are some additional details:
2004 Oct 11
5
Intermittant Samba glitch
Hi there, Let me just start by saying that I am a bit of a Linux newbie, but that Shorewall seems an excellant product. The issue I''m reporting wont stop me from using it, it still does 99% of what I need. Anyway, I have a resonably simple two interface system. My server (HatMannz, P3-900MHz with a RAID-1 array of 80GB IDE drives running Red Hat 9.0) connects to a cable modem via eth1
2016 Aug 03
2
¿Qué hace as.numeric()?
Hola. Mi problema del día... Estoy importando un .csv muy pesado y muy sucio, en el sentido de tener variables con problemas en sus datos. En concreto lo que me pasa es que logro levantarlo, tal que para un caso concreto del data.table obtengo un valor: 753,2256 que parece un número pero es un factor. De hecho: $ PP : Factor w/ 69878 levels "-3134,0938","10,117423882342",..:
2019 May 01
0
Replication failures
Hai Mason, > -----Oorspronkelijk bericht----- > Van: M B [mailto:mmx at exm0.net] > Verzonden: dinsdag 30 april 2019 20:42 > Aan: L.P.H. van Belle; samba at lists.samba.org > Onderwerp: Re: [Samba] Replication failures > > Hi Louis, > > In the past few days I’ve removed all bind flat file configs > from my environment, and I’ve checked carefully that all DCs
2005 May 19
2
iptables port forwarding
i'm having a problem viewing logs on forwarded ports from the firewall to another server, i forwarded mail(port 25) from the firewall to an internal server. The problem is when i try to view the logs it just shows the firewall ip as the sender and not the original sender. -- Regards, Mark Quitoriano, CCNA http://www.atamanetworks.com
2005 May 19
0
RE: pronunciation? -- loving CentOS doesn't mean you have to bash Red Hat
> Ubuntu and Knoppix can say they use Debian sources ... SLAX can say it > uses Slackware sources. Those guys have trademarks too. Debian and Slackware don't sell "enterprise" products. And many such projects are non-profit or otherwise. Unless Debian plans to establish itself as a commercial player, they don't need to defend their trademark. In fact, the commercial
2005 May 20
2
What I miss in yum.conf
Is there an chance how to include an package from "checking" of repository? I can do exclude, but especialy from so big repositories as DAG I want include just a that few which are interesting for me. Is there any way how to do it? [dag] name=Dag RPMs for RHEL-3 exclude=mozilla* baseurl=http://apt.sw.be/redhat/el3/en/$basearch/dag -- Petr Kl?ma JIHOMILK a.s.
2005 May 15
1
clamav in the yum repository
Has anyone made a version of clamav for CentOS 4? For x86_64 servers? Thanks. --Len Jacobs ________________________________________________________________ Sent via the WebMessaging system at mandala-designs.com
2007 Feb 23
1
Samba + Bonding = Terrible Performance
Hello, Please CC replies I'm not subscribed. Performance with samba and only samba degrades terribly when we use the bonding driver to aggregate two ethernet cards. Instead of a steady file copy it seems to go in spurts. If I pull out one of the network cables (doesn't matter which) performance resumes to full speed. I can pull the cable in the middle of a transfer and it will go