Displaying 20 results from an estimated 10000 matches similar to: "select levels of factor variables"
2014 Jul 08
1
Database and variables
Hi list,
question regarding the result of a DB query. I have
database put Agora modele/IVR/AstreinteNagios/1 ${ASTR_State}
i=1 and I read the DB with
exten => IVR,n,Set(__PlayMe=${DB(${ASTRSVC}/IVR/${IVR}/${i})})
exten => IVR,n,NoOp(We read ${PlayMe})
Result:
-- Executing [IVR at Automates:8] Set("SIP/laotseu-00000001",
"__PlayMe=${ASTR_State}") in new stack
2005 Apr 27
2
Getting the name of an object as character
This could be really trivial, but I cannot find the right function to get
the name of an object as a character.
Assume we have a function like:
getName <- function(obj)
Now if we call the function like:
getName(blabla)
and 'blabla' is not a defined object, I want getName to return "blabla". In
other word, if
paste("blabla")
returns
"blabla"
I
2020 Jul 10
2
Way to start CDR when call is bridged ?
Hi,
in dialplan -Asterisk 16.2 from Debian Buster- we have
same = n,Dial(PJSIP/101&PJSIP/102&PJSIP/103,15,tT)
If thew call is not answered after 20 seconds, we launch a new dial with
same and/or other extensions
same = n,Dial(PJSIP/101&PJSIP/104&PJSIP/110,20,tT)
Looking in CDR we have at the end of the call (here we called 3
extensions which where ringing, let say 110
2012 Oct 02
1
[LLVMdev] Error prone default memory capturing convention of blocks.
Hi guys,
I've been using blocks for a while and found that current behavior is error prone. So I am going to propose to you the better one.
Motivation:
1) The __weak variables in blocks are very common pattern. So having any implicit default behavior makes thing worse.
2) Some stupid mistakes like:
__weak typeof (self) theSelf = self;
...^ {
theSelf.blabla = ..
....
[self blabla];
2013 Jun 05
2
Template not putting in new lines.
hi all,
Ive been having a bit of a trouble with something that should be pretty
simple.
My goal is to create a host file on a node with IP address and hostname
(specified in the node manifest). I created the manifests and templates
below but when I use them I get a hosts file without spaces or newlines,
like below.
Please help me figure out how do I add the spaces and new lines?
Or where
2006 May 02
1
Only one NDS_ldapsam possible?
Hi,
is there a way to define more than one NDS ldap server in smb.conf? It
seems that
only the first ldap server is used and if unavailable none of the other
backends are going to be tried. Samba then still tries to connect over
and over to the unavailable eDirectory-Server.
My passdb entry looks like this (it?s all in one line):
passdb backend = NDS_ldapsam:ldaps://serverA.blabla.com:636
2010 Mar 31
1
The exit code makes user confused while using '-' prefixed subcommands
guestfish returns 0 if the commands completed without error, or 1 if there was an error.
But the rule break when we use '-' prefix subcommands:
------------------------------------
$ guestfish <<\EOF
> blabla
> EOF
blabla: unknown command
$ echo $?
1
$ guestfish <<\EOF
-blabla
EOF
blabla: unknown command
$ echo $?
0
------------------------------------
I think it should
2006 Aug 07
3
simple if - then question
hi, could somebody tell me the difference between:
if not params[:id]
flash[:notice] = blabla''
redirect_to(:controller =>"calendar", :action => ''index'')
end
and:
if params[:id] == nil
flash[:notice] = blabla''
redirect_to(:controller =>"calendar", :action => ''index'')
end
the first one
2010 Nov 17
2
Reference classes: accessor functions via 'getRefClass(...)$accessors(...)'
Hi there,
I''d like to choose between an "static" and "dynamic" access of a reference
class field, say ''a''.
myObj <- getRefClass("Blabla")$new()
Static: myObj$a
Dynamic: myObj$a.get() where the function retrieves the data
from a database (or some other location), stores it to a buffer and
2005 Aug 18
1
Creating directories before resource connect
When I have fileserver with many users homedirs (but all users from AD through
winbind), how can I autocreate /usr/home/blabla, when I have just create user
blabla in AD? Samba required existed directory to connect to resource,
preexec= starts only after succesful connection. I'd like to automate process
- when I have just create user blabla, when it connect first time to their
homedir at
2010 Nov 07
1
Sweave: option keep.source=TRUE and package cacheSweave
Dear all,
When I use the cacheSweave package together with the Sweave option
keep.source = TRUE, all the LaTeX code before the Sweave code chunk is
included in the TeX file to be compiled. For example, with the
following Sweave file
\documentclass[12pt]{article}
\usepackage[nogin]{Sweave}
% Sweave options
\SweaveOpts{keep.source=TRUE, strip.white=TRUE, eps=FALSE, pdf=TRUE}
\begin{document}
2011 May 25
1
Print the content of several columns in only one
Hi,
I?m an R beginner and I'd really appreciate an hand?
I'd like to create a new column in a dataframe in wich will be print the
content of several other columns.
For instance :
I?ve got 2 columns : "site" ? "sampling number" and I would like to create a
third column "ID", in wich will appear both the site name and the sampling
number, like :
2009 Dec 17
1
Help with Merge - unexpected loss of factor level
Hi, Thanks in advance for any advice you can give me, I am very stumped on this problem...
I use R every day and consider myself a confident user, but this seems to be an elementary problem..
Outline of problem: I am analysing the results of a study on protein expression in cancer tissues. I have raw intensities from 2 different types of cancer and normal tissue, which can be taken from several
2006 Aug 19
1
problem with Rcmd check and fortran95, makefile
Hi all,
I have Win XP and R 2.3.1 on my notebook. I would like to write a package which includes some Fortran 95 code. Interestingly, if I compile and link the simple file test90.f90 directly with
g95 -c test90.f90
g95 -shared -o test90.dll test90.o
then PE Viewer ( a dll viewer) shows me the right functions in the export table, hence I can use the dll in R. But as it should become part of a
2004 Aug 17
2
levels of factor
R-help,
I have a data frame wich I subset like :
a <- subset(df,df$"column2" %in% c("factor1","factor2") & df$"column2"==1)
But when I type levels(a$"column2") I still get the same levels as in df (my original data frame)
Why is that?
Is it right?
Luis
Luis Ridao Cruz
Fiskiranns??knarstovan
N??at??n 1
P.O. Box 3051
FR-110 T??rshavn
2016 Jul 27
2
Cannot find invalid DNS entry
On 27/07/16 13:40, mathias dufresne wrote:
> Two files are hosting DNS data:
> /path/to/private/sam.ldb.d/DC=DOMAINDNSZONES,DC=blabla.ldb and
> /path/to/private/sam.ldb.d/DC=FORESTDNSZONES,DC=blabla.ldb
>
> DNS entries are sometimes (often? always?) base64 encoded. You should be
> able to "grep" for string these files with:
> ldbsearch --show-binary -H
>
2008 Oct 17
1
REQ: Dovecot Authentication Problem with PAM
Hi , I have a problem with Authentication.I don't no, where is the problem,Can anyone help me undestand this problem.
Thanks in Advance
here is some files:
The configuration file dovecot.conf
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap pop3
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
2006 Oct 02
5
Problems with MySQL
Hello,
Sorry for posting this here, but i've posted in MySQL list and no one
answered.
I'm trying to set a password for a user with the command:
mysql> set password for gamito at localhost=password('blabla');
but i always get the error:
ERROR 1133 (42000): Can't find any matching row in the user table
although i'm pretty sure that the user exists.
I'm using
2005 Jan 12
1
Always question about live and playlist
Hi everyone,
My first mail was:
"I'm a french user of icecast2 on a distant serveur.
I have 1 stream running on the serveur (with ices) that play random mp3 and when i want to do a live i connect my PC (winamp+oddcastv3) to the icecast and then i have 2 stream on the icecast serveur. The question is "How can i replace the first stream (playlist) by my live stream, and when i've
2009 May 11
1
3d Scatterplot using rgl
Hi,
I am trying to plot a 3d scatter plot using the rgl package but am having trouble.
I have a matrix containing x, y and z co-ordinates and a fourth element related to a count variable.
I would like to plot the points using plot3d with the sizes of the points related to the fourth element in the matrix. Is this possible with plot3d or do I need to use something else?
I include a small example