similar to: Alternate ways of finding number of occurrence of an element in a vector.

Displaying 20 results from an estimated 2000 matches similar to: "Alternate ways of finding number of occurrence of an element in a vector."

2009 Jul 08
5
R regular expression to extract words with the query string.
Hi, Is there a way in R to get the string which matches the expression, where the expression is a substring of the parent string. Lets say, I have $i <- "transcript:ENST0000112334 pid:ENSP000012345" What I need is the string "pid:ENSP000012345" from $i using the query "ENSP". Appreciate your comments. Praveen Surendran School of Medicine and
2009 Oct 14
2
Getting indeices of intersecting elements.
Hi, Is there a command to get the indices of intersecting elements of two vectors as intersect() will give the elements and not its indices. Thanks in advance. Praveen Surendran School of Medicine and Medical Sciences University College Dublin Belfield, Dublin 4 Ireland. [[alternative HTML version deleted]]
2009 Oct 22
2
Replacing multiple elements in a vector !
Hi, I have a vector with elements rs.id=c(''rs100'',''rs101'',''rs102'',''rs103'') And a dataframe ''snp.id'' 1 SNP_100 rs100 2 SNP_101 rs101 3 SNP_102 rs102 4 SNP_103 rs103 Task is to replace
2009 Aug 10
1
index of intersect()
Hi all, Is there a way to get the index of elements in intersect(x,y) where x and y are vectors with few common elements. Appreciate your response. Praveen Surendran. [[alternative HTML version deleted]]
2010 May 18
1
Getting dates in an SPSS file in right format.
Dear all, I am trying to read an SPSS file into a data frame in R using method read.spss(), sample <- read.spss(file.name,to.data.frame=TRUE) But dates in the data.frame ''sample'' are coming as integers and not in the actual date format given in the SPSS file. Appreciate if anyone can help me to solve this problem. Kind Regards, Praveen Surendran 2G, Complex
2012 Oct 29
3
Opening SAS file using read.sas7bdat() function in sas7bdat library.
Hi, I have a file in .sas7bdat format. I tried to open this file using read.sas7bdat() function. This gave me an error - "Error in read.sas7bdat("bnp_genetic.sas7bdat") : unknown host X64_7PRO". Could someone tell me what this error means? Thank you, Praveen. [[alternative HTML version deleted]]
2015 Jun 07
2
Curious problem with NAT
Ashwin Surendran <Ashwin.Surendran at now-health.com> schrieb: > Have you tried NAT=force_rport ? OK, tried... I can transmit from my phone (aka: I hear my voice on another phone), but I'm not able to receive data (aka: I cannot hear what I say on the other phone). Other suggestion? Thanks Luca Bertoncello (lucabert at lucabert.de)
2015 May 31
2
How to use TRUNK only if IAX fails?
Hi Matt, I was a bit concerned on the delay if there might be any when my iax link is down? It would be two dial steps right when my iax link is down. But I?m more than happy to try. Many Thanks, Ashwin. From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matt Riddell (lists) Sent: 30 May 2015 16:55 To: Asterisk Users Mailing List -
2015 Jun 07
3
Curious problem with NAT
Ashwin Surendran <Ashwin.Surendran at now-health.com> schrieb: > What settings have you got for directmedia? > > Could you try > > nat=force_rport,comedia > directmedia=no Tried. Peer always unreachable, call not possible... :( Other idea? Thanks Luca Bertoncello (lucabert at lucabert.de)
2015 May 30
2
How to use TRUNK only if IAX fails?
Many Thanks Carlos, I was hoping to check whether the remote server is available before I issue the dial in my dial plan. Is there a better way to do it in asterisk without using unix commands? Many Thanks, Ashwin On 5/30/15, 2:06 AM, "Carlos Chavez" <cursor at telecomabmex.com> wrote: >On 5/29/15 1:16 PM, Ashwin Surendran wrote: >>> Hi, >> I have multiple
2009 Jul 16
2
Finding missing elements by comparing vectors
Hi, Is there a function in R to do a-b where a and b are two non-numeric sets (or intersection complement of these two sets). Kind Regards, Praveen. [[alternative HTML version deleted]]
2015 Jun 01
0
How to use TRUNK only if IAX fails?
I would especially look at the CHANUNAVAIL dial status Since it sounds like you are probably qualifying your IAX trunk, that status will be the quickest way to overflow from IAX to TDM. On Sat, May 30, 2015, 11:35 PM Ashwin Surendran < Ashwin.Surendran at now-health.com> wrote: > Hi Matt, > > > > I was a bit concerned on the delay if there might be any when my iax link
2015 Jun 07
3
Curious problem with NAT
Hi list! Since the internal calls work as expected and I can register my Asterisk on an external provider, I'd like to add a new feature and allow my mobile phone to connect to my Asterisk and manage calls. Well, first of all, my Asterisk is NOT direct on Internet available, but behind a NAT. So I configured my sip.conf: localnet=192.168.200.0/24 externhost=myhost.noip.com externrefresh=180
2015 Jun 07
0
Curious problem with NAT
What settings have you got for directmedia? Could you try nat=force_rport,comedia directmedia=no -Ashwin -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Luca Bertoncello Sent: 07 June 2015 12:04 To: asterisk-users at lists.digium.com Subject: Re: [asterisk-users] Curious problem with NAT
2015 May 30
0
How to use TRUNK only if IAX fails?
The command he gave you was in Asterisk. Why do you not want to call it to try it? Then you can fail over to the other trunk if the IAX link is down. Kind regards, Matt > On May 30, 2015, at 2:03 AM, Ashwin Surendran <Ashwin.Surendran at now-health.com> wrote: > > Many Thanks Carlos, I was hoping to check whether the remote server is > available before I issue the dial in
2009 Nov 12
0
Reading .sav (SPSS) files.
Hi, I used the method read.spss() in library(foreign) to read a .sav file using commands. >library(foreign) >data.sav <- read.spss(''masterfile.sav'') >mydat <- as.data.frame(data.sav) It''s throwing some warnings.. ---------------------------------------------------------------------------- --------------------------------------------
2015 Jun 07
0
Curious problem with NAT
On Sun, Jun 7, 2015 at 4:49 AM, Luca Bertoncello <lucabert at lucabert.de> wrote: > Ashwin Surendran <Ashwin.Surendran at now-health.com> schrieb: > > > What settings have you got for directmedia? > > > > Could you try > > > > nat=force_rport,comedia > > directmedia=no > > Tried. Peer always unreachable, call not possible... :( > >
2010 Dec 22
0
Fwd: Urgently Required System Administrator
---------- Forwarded message ---------- From: Survik Software Limited <divya.surendran at survik.com> Date: Wed, Dec 22, 2010 at 3:09 PM Subject: Urgently Required System Administrator To: aswakhare at gmail.com *For Internal Use of Employer (Please don't delete or modify while replying to this email)* Monster Resume ID: 22361001 Personal Folder ID: 9114090 *Dear anil, *
2015 May 29
2
How to use TRUNK only if IAX fails?
>Hi, I have multiple Asterisk servers in various parts of the world all connected using dedicated VPN?s. Each of these servers have iax and dahdi TRUNK configured on them. Occasionally the VPN?s fail. What I want to be able to do is on my dial plan, use IAX if the asterisk server can reach the remote server using the internet OR, use TRUNK only if it can?t use IAX. Any ideas on how this
2009 Jul 09
2
How to Populate List
Hi, I'm new to R and would like to know, how one can populate the list with array data. I'm reading a tab separated table in R. The data in the table looks something like this. #Table Data Comp    A    B    C Extracellular    103    268    535759 Nucleus    45603    47783    442744 #R code myData <- read.table("table.data",                 header=T,