Displaying 20 results from an estimated 141 matches for "statment".
Did you mean:
statement
2010 Feb 18
3
row indexes from logical statment
Is there any easy way to pull out the row indexes for a logical
matching statment?
#################example code#########################################
foo <- data.frame(name=c(rep("A", 25), rep("B", 25), rep("C", 25),
rep("A", 25)), stuff=rnorm(100), and=rnorm(100), things=rnorm(100))
#this is what I want but I would like the row i...
2018 Oct 18
2
After updating to 16 "Some non-required modules failed to load"
...stom declined to load.
[Oct 18 12:12:18] ERROR[4489]: loader.c:2243 load_modules: pbx_ael
declined to load.
I do also notice a fair few of these in the log (note the typo on
"statement", not that it matters unless searching logs)
Oct 18 10:06:58] WARNING[2888] db.c: Couldn't execute statment: SQL logic error
[Oct 18 10:06:58] WARNING[2888] db.c: Couldn't execute statment: SQL logic error
[Oct 18 11:06:58] WARNING[2888] db.c: Couldn't execute statment: SQL logic error
[Oct 18 11:06:58] WARNING[2888] db.c: Couldn't execute statment: SQL logic error
Incidentally, if there ar...
2020 Oct 29
0
Suden "ast_db_put: Couldn't execute statment" in 13.14.1 after high rate of incoming REGISTERs
Hello,
The other day, a 13.14.1 server suddenly stopped working correctly.
First, it printed:
Oct 23 21:53:40 FOOBAR asterisk[2377]: WARNING[27942]: db.c:332 in
ast_db_put: Couldn't execute statment: SQL logic error or missing database
This occurred while this server received a lot incoming REGISTER such as:
Oct 23 21:53:40 FOOBAR asterisk[2377]: [Oct 23 21:53:40]
#033[1;33mNOTICE#033[0m[20418]:
#033[1;37mres_pjsip/pjsip_distributor.c#033[0m:#033[1;37m525#033[0m
#033[1;37mlog_failed_request#0...
2010 Nov 13
0
using if statment and loops to create data layout of recurrent events
...ow-up time is beyond the time of the fourth MI recurrence, you
must ignore it. Which means that even patient with 4 recurrence times has
only four rows.
How can I do it with R ?
Any suggestions will be more than welcome.
Avi
--
View this message in context: http://r.789695.n4.nabble.com/using-if-statment-and-loops-to-create-data-layout-of-recurrent-events-tp3040784p3040784.html
Sent from the R help mailing list archive at Nabble.com.
2010 Jul 29
1
precision of minus operation and if statments
Hi Everyone,
as part of a larger script, I need to insert the result of a simple minus
operation into an if statement.
I have noticed that the precision that appear on the screen is not the precision
in which R stores the result of the minus operation, and that this change alters
the result of the if statement. For example, when running this simple script:
> a=0.90
> b=0.95
>
2003 Oct 07
3
Problem getting an ifelse statment to work
...pply(decision, qs2, qs9)
[1] 2 1 1 3 4 3 1 1 1 4 1 2 3 1 4 3 1 2 2 3
Hope this is what you want.
Andy
> -----Original Message-----
> From: Greg Blevins [mailto:gblevins at mn.rr.com]
> Sent: Monday, October 06, 2003 11:21 PM
> To: R-Help
> Subject: [R] Problem getting an ifelse statment to work
>
>
> Hello R experts,
>
> I trust I have a simple request. I have a dataframe which
> among its contents are two variables, qs2 and qs9, which have
> the following frequencies.
>
> > table(qs2)
> qs2
> 1 2 3 4
> 40 22 11 29
>
> >...
2010 Sep 16
1
rep within an ifelse statment
I have come across simple problem in R and I was hoping
someone out there could help me out. Here is the problem: I am trying to
set up and rep statement with a conditional statement using ifelse. Here is
simple example.
> y=5
> o<-ifelse(y==5,rep(2,4),NA)
> o
> [1] 2
>
> If I check my conditional
>
> > y==5
>
> [1] TRUE
>
> And if
2013 Jun 09
0
db.c:329 ast_db_put: Couldn't execute statment: SQL logic error or missing database ??
I'm showing a lot of these on the console. I'm not using any database.
Where would this be coming from?
sean
2012 May 31
1
please help! Extract the row to the new file by using if-statment
...<- new[n_wrfta >= 255 | n_wrfta <= :
the condition has length > 1 and only the first element will be used
my data wrfrain contains NA. what can I do?!
please help!
--
View this message in context: http://r.789695.n4.nabble.com/please-help-Extract-the-row-to-the-new-file-by-using-if-statment-tp4631957.html
Sent from the R help mailing list archive at Nabble.com.
2023 Feb 13
1
Could not override "mail_location" with "userdb_mail" statment in "/etc/passwd"
Hi,
** Using Dovecot 2.2.22 and Postfix 3.1.0 **
I plan to migrate all accounts on my server from mbox to maildir storage but before i want to make some tests on dedicated accounts. To do so i want to overide the general "mail_location" ( mail_location = mbox:~/mail:INBOX=/var/mail/%u ) with "maildir:~/Maildir" only for some test accounts.
To do so i modified my
2006 Jan 16
3
Max Number of #include statements
What's the maximum number of #include statments I can have in extensions.conf?
I'm getting an error at the 11th one. I tried breaking twelve #include's into 2 different contexts, and still got the same error. These aren't nested includes... they're only one level deep.
Thanks,
Doug.
2005 Mar 10
8
Login controller additions
...n[''user''].roles.find(1)
else
false
end
end
def is_user?
!@session[''user''].nil?
end
</code>
The problem is that if a user does not have the role "admin" (id=1) the
@session[''user''].roles.find(1) statment fails with error "unable to find
role with id = 1".
How can I do this another way..... I know it must be simple... but I''m
really a Rails/Ruby newbie ;)
Regards
// JoNtE
2006 Jun 08
9
find :order =>
Hi,
I have the following find statment
@client_pages, @clients = paginate :clients, :per_page => 20, :order =>
"organisation_id, surname"
currently im ordering by organisation_id however I need to order by the
field in the organisation table organisations.name
how can this be done?
Thanks
Scott
--
Posted via htt...
2006 Jan 30
3
Date Not Staying in Date Format
I have a column in a data frame that has a class of "Date" and a mode of
"numeric". When I:
max(df$Date)
My output stays in Date format, i.e. "2006-01-03".
However, when I run the following statment:
tapply(df$Date, df$SomeFactor, max)
my output looks like this: 9129 9493 9861 10226 10591 10956 11320
11687 12052 12417
The returned object is of mode "numeric" and class "array". Each array
element is of mode "numeric" and class "numeric"....
2006 Jul 05
2
get value from array.
hi,
Im running the following sql statment which returns 1 result.
pSql = "SELECT sum(amount)
FROM payments
WHERE expected_pay_date LIKE ''"+pWholeDate+"%''
AND invoice_id IS null "
aResult = Payment.find_by_sql(pSql)
how can I ge...
2008 Oct 21
2
[help] Realtime Swich any context dinamically
when i wnat to working with realtime and mysql
for any context i have to insert (switch => Realtiem/context at extensions) statment into extensions.conf
for example if i want to have 10 context, i have to insert these lines into extension.conf :
[context1]
switch => Realtiem/context1 at extensions
[context2]
switch => Realtiem/context2 at extensions
[context3]
switch => Realtiem/context3 at extensions
...............
2010 Jun 28
2
Using if statement on function
Hello everybody,
I'm trying to use a if-statment on a function. For a better
understanding I want to present a small example:
FUN=mean # could also be median,sd or
any other function
if (FUN == mean)
plot(...)
if (FUN == median)
plot(...)
...
This doesn't work, because FUN is a fu...
2010 Jan 19
4
apply command
...5 3
[5,] 7 3
[6,] 9 5
As you can see in the example I start with a matrix of (2 by 6) and the
output of apply is a mtraxi of (6 by 2).
This is very strange because I was expecting as output a matrix of the same
dim (2 by 6) of the input matrix. I can solve this issues using an if
statment on the dim of the matrix but if I am using a square matrix I am not
able to control if the result of the apply is correct.
Do anyone find a solution to this issue?
thanks
Marco
[[alternative HTML version deleted]]
2003 Nov 18
2
Compiling R
...letely carried through and the up, down, left and right arrow
keys don't behave as they do on the regular shell command line. That is no
command history can be accessed and the cursor cannot be back-spaced over a
recalled command to edit it. I expect that I am missing a "--with-" statment
but I am not certain what it should be. Is there any help file that details
the fine points for compiling R? INSTALL does not contain the information I
am interested in.
Thank you,
jwdougherty
2010 Jun 05
5
Controlling calls
...=>777,1,AGI(agi://localhost/sc.agi)
the script is running but it does not hangup.
Second solution,i tried this :
exten => 777,1,Dial(IAX2/400,G(myscript))
exten =>777,n(myscript),AGI(agi://localhost/sc.agi)
in sc.agi in this time i do not call exec("Dial","IAX2/400") statment; but the audio stops, no ringing.
Do you have any solution.
thanks for your help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100605/f14dc573/attachment.htm