Displaying 20 results from an estimated 51 matches for "mynumbers".
Did you mean:
mynumber
2015 Jul 15
2
bquote/evalq behavior changed in R-3.2.1
On Jul 15, 2015, at 12:51 PM, William Dunlap wrote:
> I think rapply() was changed to act like lapply() in this respect.
>
When I looked at the source of the difference, it was that typeof() returned 'language' in 3.2.1, while it returned 'list' in the earlier version of R. The first check in rapply's code in both version was:
if (typeof(object) != "list")
2008 Dec 09
4
extract the digits of a number
Hello,
Anyone knows how can I do this in a cleaner way?
mynumber = 1001
as.numeric(unlist(strsplit(as.character(mynumber),"")))
[1] 1 0 0 1
Thanks in advance,
Gustavo
2015 Jul 15
2
bquote/evalq behavior changed in R-3.2.1
David,
If you are referring to the solution that would be:
rapply(list(test), eval, envir = fenv)
I thought I explained in the question that the above code does not work. It
does not throw an error, but the behavior is no different (at least in the
output or result). Using the above code still results in the x object not
being stored in fenv on 3.1.2.
Dayne
On Wed, Jul 15, 2015 at 4:40 PM,
2015 Jul 15
3
bquote/evalq behavior changed in R-3.2.1
In 3.1.2 eval does not store the result of the bquote-generated call in the
given environment. Interestingly, in 3.2.1 eval does store the result of
the bquote-generated call in the given environment.
In other words if I run the given example with eval rather than evalq, on
3.1.2 "x" is never stored in "fenv," but it is when I run the same code on
3.2.1. However, the given
2015 Jul 15
0
bquote/evalq behavior changed in R-3.2.1
I think rapply() was changed to act like lapply() in this respect.
In R-3.1.3 we got
rapply(list(quote(1+myNumber)), evalq, envir=list2env(list(myNumber=17)))
#[1] 18
rapply(list(quote(1+myNumber)), eval, envir=list2env(list(myNumber=17)))
#Error in (function (expr, envir = parent.frame(), enclos = if
(is.list(envir) || :
object 'myNumber' not found
lapply(list(quote(1+myNumber)),
2015 Jul 15
0
bquote/evalq behavior changed in R-3.2.1
Another aspect of the change is (using TERR's RinR package):
> options(REvaluators=list(makeREvaluator("R-3.1.3"),
makeREvaluator("R-3.2.0")))
> RCompare(rapply(list(quote(function(x)x),list(quote(pi),quote(7-4))),
function(arg)typeof(arg)))
R version 3.1.3 (2015-03-09) R version 3.2.0 (2015-04-16)
[1,] [1]
2015 Jul 15
0
bquote/evalq behavior changed in R-3.2.1
Bill,
Is your conclusion to just update the code and enforce using the most
recent version of R?
Dayne
On Wed, Jul 15, 2015 at 4:44 PM, Dayne Filer <dayne.filer at gmail.com> wrote:
> David,
>
> If you are referring to the solution that would be:
>
> rapply(list(test), eval, envir = fenv)
>
> I thought I explained in the question that the above code does not work.
2005 Mar 03
0
FW: (still problems) Dialing phone number and extension together to avoid listening to voice menu (incoming call)
Thanks a lot for all the suggestions!
Unfortunately, it still gives problems.
Most common error message is "ast_realaudio_callback Failed to write
frame" after "paying the beep". Then it says "User disconnected".
Also, it doesn't react to any extension entered and doesn't do any
forwarding (as it should in "exten =>
2005 Sep 23
3
Removing "-" (Dash) from Dialed Numbers
I am trying to enable dial-by-email by using LDAPget to query an Active
Directory server. I've got it retrieving the phone number fine.
Unforunately, the numbers stored in active directory are either in the
format: (xxx) xxx-xxxx or xxx-xxx-xxxx. Is there any way to parse
characters out of the dialed phone number so that I only end up with digits
(remove spaces, parenthesis and dashes)?
2005 Feb 25
2
407 Proxy Authentication Required
Hi everybody:
I configured my Asterisk to register to my VoIP provider, and I can make
outgoing calls, but I can't receive any calls with it.
I used Ethereal to sniff the activity of it, and I found something that
might be causing the problem:
When my provider's gateway does the "Request: INVITE
mynumber@my-voip-provider.tld ..." my Asterisk asks for "Status: 407 Proxy
2004 Aug 10
1
Firefly and *... Argh!
Okay, I've read as much as I can, and I think i've followed
instructions, but I'm still having problems with * and firefly... I can
get outgoing to other freshtel working, but not incoming (I get the "not
available" voicemail), or outgoing to landline.
I'm using the debian asterisk package (0.9.1-RC1-4)
My iax.conf has in general (under my FWD register, which
2004 Nov 27
0
Failed to WWW-authenticate on INVITE
I'm having trouble connecting a asterisk server to a SIP Express router.
Inbound calls to my asterisk server works just fine, but when i try to
make outbound calls I get the following error message:
Nov 27 22:40:48 NOTICE[4687]: chan_sip2.c:7967 handle_response: Failed to
WWW-authenticate on INVITE to '"username"
<sip:username@mysipprovider>;tag=as5399a078'
I'm
2005 Mar 01
0
Dialing phone number and extension together to avoid listening to voice menu (incoming call)
Hello,
I'm trying to figure out how to get Asterisk to dial an extension when a
call comes from the outside and contains the extension already.
(Somebody wants to call a user of Asterisk with extension "111" from the
outside)
For example: I've hooked Asterisk to sipgate.de and received a landline
phone number (say 0781205237).
Now if you dial 0781205237 and and an extension
2004 Aug 28
10
Broadvoice problem
Since Thursday evening my asterisk box has been failing to register with
broadvoice. I haven't changed any of my config files in the last week.
Can anyone suggest anything?
Asterisk is reporting:
*CLI> Aug 28 16:15:17 NOTICE[6150]: chan_sip.c:3914 sip_reg_timeout:
Registration for '703XXXXXXX@147.135.8.129' timed out, trying again
-- Got SIP response 404 "Not found"
2003 Jul 23
1
S3 and S4 classes
Hi helpers,
I've been programming in R for a few months now but I still have doubts
about my code - I would like it to be completely S4-compatible. The
current code works fine but is probably 'unclean'.
I read the interesting article in the last R News and it helped me
understand the difference on the whole between S3 and S4 classes, but I
need a practical example. Could anyone
2011 Nov 11
8
Help
Dear Contributors
I would like to perform this operation using a loop, instead of repeating
the same operation many times.
The numbers from 1 to 4 related to different groups that are in the
database and for which I have the same data.
x<-c(1,3,7)
datiP1 <- datiP[datiP$city ==1,x];
datiP2 <- datiP[datiP$city ==2,x];
datiP3 <- datiP[datiP$city ==3,x]
datiP4 <-
2006 Feb 20
1
problem with outgoingcallsUnabletocreatechannelof type 'ZAP' (cause 34 -Circuit/channelcongestion)
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of nik600
Sent: Saturday, February 18, 2006 2:00 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] problem with
outgoingcallsUnabletocreatechannelof type 'ZAP' (cause 34
-Circuit/channelcongestion)
On 2/17/06,
problem with outgoing callsUnabletocreatechannelof type 'ZAP' (cause 34 - Circuit/channelcongestion)
2006 Feb 17
2
problem with outgoing callsUnabletocreatechannelof type 'ZAP' (cause 34 - Circuit/channelcongestion)
Nik,
This definitely helps! Please check your dial command. You've got
"Dial(Zap/0/mynumber)" and I think you might possibly want it to be
something like this:
Dial(Zap/1/mynumber) or
Dial(Zap/g0/mynumber)
I don't recall there being a zap channel zero, but it is common to have
a group zero. I would recommend trying Zap channel 1 -
Dial(Zap/1/mynumber) - before trying the
2004 Aug 07
2
Asterisk : No Sound No Dial
Thanks for taking a look greg and hank. This seems to be getting bettre
everyday..help please
My sjphone is running on the same box as asterisk...i believe then the red
hat firewall should not be a problem.
Whenever i dial from CLI i get
#########
Executing Goto("OSS/dsp", "default|s|1") in new stack
-- Goto (default,s,1)
-- Executing Wait("OSS/dsp",
2013 Apr 18
5
Dynamic realtime + queues
Hi,
?
I am trying to store queues.conf to a MySQL database using dynamic realtime. I have a working ODBC connection and the queueing system already works but I want to store the queues.conf file to a database. I am following the guide from Asterisk the definitive guide, the ebook can be found at: http://ofps.oreilly.com/titles/9781449332426/asterisk-DB.html
?
I have a database called asterisk