Displaying 20 results from an estimated 7000 matches similar to: "Extracting text from a character string"
2004 Feb 04
5
Date Time Conversion problems...
At one time (version 1.7), the code below used to work for converting and
extracting based on the Date Time. In version 1.8.1, something changed I
know, but I cannot for the life of me figure out what...
Data:
UserName,RequestDate,PO,OrderDate,ExpDelivDate,Vendor,Total
"Woody, Jim",12/19/2002,AP15063,1/7/2003,2/10/2003,Ames ,8570
"Harrold,
2007 Feb 21
2
backup incremental
dear all,
can anybody tell me, how to backup my data on samba?do
you have a script for backup incremental?
i don't understand to user rsync
thank you
Cyd
____________________________________________________________________________________
Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
2007 Jun 13
1
Normal and Poisson tail area expectations in R
I am interested in R functions for the following integrals / sums (expressed best I can in text) -
Normal: G_u(k) = Integration_{Lower limit=k}^{Upper limit=infinity} [(u -k) f(u) d(u)], where where u is N(0,1), and f(u) is the density function.
Poisson: G(lambda,k) = Sum_{Lower limit=k}^{Upper limit=infinity} [(x-k) p(x, lambda)] where P(x,lambda) is the Poisson prob function with parameter
2007 Jul 14
3
tT in callparking
Hi List;
[incoming]
include => parkedcalls
exten=103,1,Dial(SIP/Bob,,tT)
exten=104,1,Dial(SIP/Charlie,,tT)
When we use tT and when we use t alone or T alone, I
know this for call parking, but I do not know what the
tT does?
Regards
Bilal
____________________________________________________________________________________
Sucker-punch spam with award-winning protection.
Try the free
2007 Mar 06
1
FLAC__stream_decoder_seek_absolute with FLAC__STREAM_DECODER_SEEK_ERROR in 1.1.3 but it worked before
I've upgraded to FLAC 1.1.3, and now I have some streams where seek does
not work anymore, but they used to work before.
After a bit of debugging, it looks like those streams (created a long
time ago with an old version of FLAC) have a seek table where all the
entries have a stream offset of 0.
The result is that in the function seek_to_absolute_sample_, on line
3076 (file
2007 Jun 12
1
Viewing a data object
Dear list,
First apologize that this is trivial and just betrays my slothfulness at the keyboard. I'm sick of having to type a long name just to get a glimpse of something. For example, if my data frame is named 'AuroraStochasticRunsJune1.df" and I want to see what the middle looks like, I have to type
AuroraStochasticRunsJune1.df[ 400:500, ]
And often I'm not even sure rows
2007 Feb 27
2
TE212P on FC6 - stack overflow?
Hi all
did anyone of you experience an error like "do_irq: stack
overflow" in configuring a TE212P on Fedora core 6? The server
immediately hangs, I don't know if this can be related to hardware
configuration or kernel incompatibility... This problem arises when I
try to configure the channels with the usual command "ztcfg" and it is
strictly related to the presence of the
2007 Feb 27
3
Problem enforcing permissions on remote file copy
Hello,
I have been attempting to do the following:
file { "/home/test/test.txt": owner => test, group => test, checksum => md5, source => "puppet://puppet/files/test.txt" }
At first, this appeared to work, but now I realize that when the file is copied from the server, the permissions are not applied until the next puppet run.
Does puppet not apply the
2007 Feb 20
4
Passing a variable from one Asterisk box to another
Hi all,
We currently have 2 Asterisk boxes and we pass calls to a fro. All works
great except we now need to pass variables between them.
For example now on box 1 we have:
exten => _23XX,1,SetVar(Foo=1234)
exten => _23XX,2,Dial(SIP/${EXTEN:0}@Box2)
When the call dials into Box 2 the variable Foo does not get passed...
Does anyone have any clever ideas?
-------------- next part
2007 Feb 15
6
Connect PBX CO Port to TDM FXS Port
I would like to connect a Legacy PBX (Avaya IP Office 406) to an
Asterisk Server.
The Avaya has 3 CO Ports available. I thought buying a TDM30B card
with 3 FXS ports to connect the * to the Avaya CO Ports.
Is this the right approach? Does any one have experience with such a
configuration?
Thanks in advance for all recommandations and suggestions....
Daniel Kocher
2007 May 24
6
Sum per hour
Dear all,
I have a list of precipitation record and a list of time
I would like to sum them up per hour, or per day.
Does such a function exist ?
example:
time<-c("2000-10-03 14:00:00","2000-10-03 14:10:00","2000-10-03
14:20:00","2000-10-03 15:30:00","2000-10-03 16:40:00","2000-10-03
16:50:00","2000-10-03
2006 Sep 07
9
LiteSpeed
Yo Zed,
Just curious -- what do you think of the LiteSpeed
server? Is it better than Lighty? Does it (gasp!) also
serve Rails apps like Mongrel? I think I read that
LiteSpeed doesn''t have proxying support.
Thanks,
Joe
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2005 Jul 13
3
Business Edition
Hello,
any body know the real difference between the BE and the free one?
Regards,
al
Andr? Lepage
Directeur g?n?ral
STS
VoIP, Network security, Anti-virus.
URL: http://www.sts.ca
T?l?phone: Qu?bec 418-521-2347 Poste 227
Montr?al 514-875-1105 Poste 227
Sans frais 877-330-3305 Poste 227
2011 Apr 05
2
IFELSE function XXXX
Hello everyone,
This IFELSE function call is not working properly. I do not receive an error
message, but the actions are not executed conditional as I was hoping. Any
assistance is appreciated.
set.seed(12345)
res1<-rbinom(10000,1,.1)
rdata3<-transform(data.frame(res1),input1=rnorm(10000,50,10))
data3
#inducing correlation between res1 & input1
2009 Nov 12
2
redundant factor levels after subsetting a dataset
#I have a data frame with a numeric and a character variable.
x=c(1,2,3,2,0,2,-1,-2,-4)
md=c(rep("Miller",3), rep("Richard",3),rep("Smith",3))
data1=data.frame(x,md)
#I subset this data.frame in a way such that one level of the character
variable does not appear in the new dataset.
data2=data1[x>0,]
data3=subset(data1,x>0)
#However, when I check the levels
2009 Nov 08
2
Extracting matched expressions
Hi all,
Is there a tool in base R to extract matched expressions from a
regular expression? i.e. given the regular expression "(.*?) (.*?)
([ehtr]{5})" is there a way to extract the character vector c("one",
"two", "three") from the string "one two three" ?
Thanks,
Hadley
--
http://had.co.nz/
2008 May 14
4
Accessing items in a list of lists
Using R 2.6.2, say I have the following list of lists, "comb":
data1 <- list(a = 1, b = 2, c = 3)
data2 <- list(a = 4, b = 5, c = 6)
data3 <- list(a = 3, b = 6, c = 9)
comb <- list(data1 = data1, data2 = data2, data3 = data3)
So that all names for the lowest level list are common. How can I most
efficiently access all of the sublist items "a" indexed by the outer
2013 Jun 10
4
Combining CSV data
Hello R community,
I am trying to combine two CSV files that look like this:
File A
Row_ID_CR, Data1, Data2, Data3
1, aa, bb, cc
2, dd, ee, ff
File B
Row_ID_N, Src_Row_ID, DataN1
1a, 1, This is comment 1
2a, 1, This is comment 2
3a,
2005 Feb 16
5
scaling axes when plotting multiple data sets
1) When adding additional data sets to a plot using "plot" followed by "lines",
is there a way to automate the scaling of the axes to allow for all data sets
to fit within the plot area?
2) I attempted to solve this by setting
xlim=c(min(c(data1,data2,data3)),max(c(data1,data2,data3)))
however, there are some NAs and Infs in these data sets, and min(data1) and
max(data1) both
2008 Jan 15
1
how to fit model to split data and get residual plots
I have a data set with the following structure (with many more obs.):
var1 expt day diameter
1 1 2 0.5
1 1 3 0.9
1 1 4 1.3
1 1 5 1.7
1 2 2 0.3
1 2 3 0.5
1 2 4 0.9
1 2 5 1.6
2 1 2 0.7
2 1 3 1.2
2 1 4 1.6
2 1 5 2.3
2 2 2 0.4
2 2 3 0.8
2 2 4 1.6
2 2 5 3.2
I can get separate regression analysis for each level of var1 and expt
with the command:
by(data3, data3$var1:data3$expt, function(x)