search for: 11,20

Displaying 20 results from an estimated 24 matches for "11,20".

Did you mean: 1,20
2007 Oct 30
2
How to switch off accepting the shortcut of column names
...it has a feature, which might be wonderful (as so many things in R), but in this case might be a bit dangerous as well. It seems that columns of a data frame can be called just by indicating the first letter of the name of the column. For example: first_item <- seq(1,10) second_item <- seq(11,20) dat <- data.frame(first_item, second_item) names(dat) # [1] "first_item" "second_item" dat$f # [1] 1 2 3 4 5 6 7 8 9 10 dat$s # [1] 11 12 13 14 15 16 17 18 19 20 The good thing is, that if there is more than one column starting with the same letter(s), more th...
2005 Jun 05
3
function and apply
..., p4*(1-p3)*(1-p2)*(1-p1))   I write the function f as: f<- function(w,x,y,z) {c(w,x*(1-w),y*(1-x)*(1-w),z*(1-y)*(1-x)*(1-w))} f(a,b,c,d) it works well.   But now I want to apply f to each row of a data frame with 4 columns: d<-data.frame(a=seq(1,10), b=seq(11,20), c=seq(21,30),d=seq(31,40)) t(apply(d,1,f)) is not working? I think each element of each row is not corresponding to w,x,y,z and now I'm lost?   Can someone help me?   thks   J. Silva [[alternative HTML version deleted]]
2007 Apr 17
2
background color
hi, I want to add different colors on the background of a classical plot. Each color is associated to an interval of the x axis. example: the background is red on the interval [1,10], blue on [11,20]. I try the rect function but it isn't appropriate for the background. Can any one can help me please? best regards. --------------------------------- [[alternative HTML version deleted]]
2005 Sep 13
1
Dialplan Design Q
...d I thought someone may offer help. Here is some background. There are three separate companies, let's say A, B and C. Each has their own context and each has their own set of numbers (these are just examples, not the actual config): [ContextA] exten => 10,1,Dial(SIP/10,20) exten => 11,1,Dial(SIP/11,20) exten => 12,1,Dial(SIP/12,20) include => outbound [ContextB] exten => 20,1,Dial(SIP/20,20) exten => 21,1,Dial(SIP/21,20) exten => 22,1,Dial(SIP/22,20) include => outbound [ContextC] exten => 30,1,Dial(SIP/30,20) exten => 31,1,Dial(SIP/31,20) exten =>...
2006 Nov 20
1
a little help needed plotting chron object
...c5[of2] # PUT FILE NAMES IN ORDER, IN A NEW VECTOR print(c5o) # LETS SEE IT dl=length(c5o) # HOW MANY FILES yjunk <- seq(from=1, to=dl, by=1) # MAKE A VECTOR OF Y VALUES yjl <- as.character(yjunk) # CONVERT Y'S TO CHARACTERS c5ot <- substr(c5o,11,20) # EXTRACT JUST THE TIME OF DAY INFO tv=chron(times=c5ot) # TURN TOD INTO CHRON OBJECT plot(tv,yjunk,pch=yjl) # PLOT DATA # ^^^(works with autoscaled x) tlow="00:00:00" # SET LOW TOD RANGE VARIABLE thigh="23:59:59&quo...
2012 Jan 07
3
[LLVMdev] [PATCH][Compiler-rt] Windows implementation of mmap functionality in clear_cache_test and enable_execute_stack_test
...ev/attachments/20120107/85859e08/attachment.html> -------------- next part -------------- Index: test/Unit/clear_cache_test.c =================================================================== --- test/Unit/clear_cache_test.c (revision 147731) +++ test/Unit/clear_cache_test.c (working copy) @@ -11,12 +11,20 @@ #include <stdio.h> #include <string.h> #include <stdint.h> +#if defined(_WIN32) +#include <windows.h> +void __clear_cache(void* start, void* end) +{ + if( !FlushInstructionCache(GetCurrentProcess(), start, end-start) ) + exit(1); +} +#else #include...
2012 May 25
3
Multiple cbind according to filename
Hi all, I'm just a beginner with R but I have not been able to search for any relevant answer to my problem. I apologize if it has in fact been asked before. Recently I've realized that I need to combine hundreds of pairs of data frames. The filenames of the frames I need to combine have unique strings. This is my best guess as to the approach to take: filenames<-list.files()
2009 Nov 01
2
Dialstatus
I can not seem to get dial status to work, in sip.conf I have: qualify=yes simple plan: exten => 51,1,Dial(SIP/11,20,r) exten => 51,n,Goto(s-${DIALSTATUS},1) exten => s-Busy,1,Hangup() exten => s-Answer,1,Macro(atb) I'm dialing from exten.11 to exten.11 so I get busy signal and the channel should hangup but it doesn't How to print/display dialstatus? I'm using ATA -- #Joseph
2005 Jan 20
1
Using Zyxel Analog Telephone adapter with a GSM gateway
...t as follows: Extension -> Asterisk -> ZyxelAnalogTelephoneAdapter -> GSM gateway. The best way would be to make the ZyxelAnalog.. to be a channel. But I don't think that is doable.. or ? ---- So i checked with Dial command.. trying to use something like: exten => 99,1,Dial(SIP/11,20,D($EXTEN),w=800ms) ; Dial option ; 'D([digits])' -- Send DTMF digit string *after* called party has answered ; but before the bridge. (w=500ms sec pause) Problem is, that the astrisk won't push the $EXTEN numbers. (or does it ? I can't hear anything :-| )...
2011 Mar 16
3
[PATCH] tools: do not link against unused libraries
...ified by comparing a build with --as-needed to one without by looking at the NEEDED header of all ELF objects. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> diff -r f35234b6636a -r 7e326d27d899 tools/blktap2/drivers/Makefile --- a/tools/blktap2/drivers/Makefile Tue Mar 15 16:33:59 2011 +0000 +++ b/tools/blktap2/drivers/Makefile Wed Mar 16 10:38:52 2011 +0000 @@ -23,11 +23,7 @@ CFLAGS += -fPIC CFLAGS += -fPIC endif -LIBS += -lrt -lz - -LBLIBS_img := $(LDLIBS_libxenctrl) $(CRYPT_LIB) -lpthread -lz -lm - -LIBS += -L$(LIBVHDDIR) -lvhd +VHDLIBS := -L$...
2010 Feb 16
1
Math.factor error message
...or(c(37L, 36L, 42L, 41L, 44L, 38L, 31L, 61L, 66L, 91L, : log not meaningful for factors My data is composed of one column. I would appreciate, if any one could provide me with some hints to get around the problem. Best regards, Ben -------------- next part -------------- BNS CER "11,14" "11,11" "11,25" "11,22" "11,31" "11,15" "11,00" "11,88" "11,94" "12,44" "12,90" "12,94" "12,97" "12,80" "12,78" "13,14" "13,72" &q...
2012 Jan 07
1
[LLVMdev] [llvm-commits] [PATCH][Compiler-rt] Windows implementation of mmap functionality in clear_cache_test and enable_execute_stack_test
...ev/attachments/20120107/be5d1002/attachment.html> -------------- next part -------------- Index: test/Unit/clear_cache_test.c =================================================================== --- test/Unit/clear_cache_test.c (revision 147731) +++ test/Unit/clear_cache_test.c (working copy) @@ -11,11 +11,20 @@ #include <stdio.h> #include <string.h> #include <stdint.h> +#if defined(_WIN32) +#include <windows.h> +void __clear_cache(void* start, void* end) +{ + if( !FlushInstructionCache(GetCurrentProcess(), start, end-start) ) + exit(1); +} +#else #include...
2010 Jul 16
0
Mixed Conditional Logit with nested data
...0,0,1,0,0 1,5,B,0,1,0,0,0,1,0,0,1,0 1,6,A,1,1,0,0,1,0,0,0,0,1 1,6,B,0,0,0,1,0,0,1,0,1,0 1,7,A,1,1,0,0,0,0,1,1,0,0 1,7,B,0,0,1,0,0,1,0,0,0,1 1,8,A,1,0,0,1,1,0,0,0,1,0 1,8,B,0,0,1,0,0,1,0,0,0,1 1,9,A,1,0,1,0,1,0,0,1,0,0 1,9,B,0,0,0,1,0,1,0,0,1,0 1,10,A,1,1,0,0,1,0,0,0,1,0 1,10,B,0,0,0,1,0,0,1,1,0,0 1,11,A,1,0,1,0,0,1,0,1,0,0 1,11,B,0,0,0,1,1,0,0,0,0,1 1,12,A,1,1,0,0,0,1,0,1,0,0 1,12,B,0,0,1,0,0,0,1,0,1,0 1,13,A,0,0,0,1,0,0,1,0,1,0 1,13,B,1,1,0,0,0,1,0,0,0,1 1,14,A,0,0,0,1,0,0,1,0,0,1 1,14,B,1,0,1,0,1,0,0,1,0,0 1,15,A,1,1,0,0,1,0,0,0,1,0 1,15,B,0,0,0,1,0,1,0,0,0,1 1,16,A,1,1,0,0,0,0,1,1,0,0 1,16,B,...
2012 Jan 07
0
[LLVMdev] [llvm-commits] [PATCH][Compiler-rt] Windows implementation of mmap functionality in clear_cache_test and enable_execute_stack_test
Hi Ruben, > I see I missed some curly braces. I also modified spacing a tiny bit. Doesn't seem so. E.g. you have: + if ( !VirtualQuery(addr, &b, sizeof(b)) ) + exit(1); + if( !VirtualProtect(b.BaseAddress, b.RegionSize, PAGE_EXECUTE_READWRITE, &b.Protect) ) Add space after "if". Do not put spaces after "(" and before ")". Same for other
2012 Jan 07
2
[LLVMdev] [llvm-commits] [PATCH][Compiler-rt] Windows implementation of mmap functionality in clear_cache_test and enable_execute_stack_test
...ev/attachments/20120107/e7977fcc/attachment.html> -------------- next part -------------- Index: test/Unit/clear_cache_test.c =================================================================== --- test/Unit/clear_cache_test.c (revision 147738) +++ test/Unit/clear_cache_test.c (working copy) @@ -11,11 +11,20 @@ #include <stdio.h> #include <string.h> #include <stdint.h> +#if defined(_WIN32) +#include <windows.h> +void __clear_cache(void* start, void* end) +{ + if (!FlushInstructionCache(GetCurrentProcess(), start, end-start)) + exit(1); +} +#else #include...
2006 Oct 31
1
Asterisk does not bridge zap channels on outgoing calls
...pickupgroup=2,5,6 threewaycalling=yes transfer=yes ;useincomingcalleridonzaptransfer=yes callwaitingcallerid=yes ;echocancelwhenbriged=yes immediate=no rxgain=-2.0 txgain=2.2 callerid=OMG 28 channel=>8 callerid=OMG 29 channel=>9 callerid=OMG 30 channel=>10 callerid=OMG 31 channel=>11 callerid=OMG 32 channel=>12 callerid=OMG 33 channel=>13 callerid=OMG 34 channel=>14 callerid=OMG 35 channel=>15 callerid=OMG 36 channel=>16 ;------------------- ;Placa TDM24XXP - 24 DE INTERIOARE; CONTEXT NOU!! ;------------------- ;------------------------------ context=int_a...
2014 Jun 16
2
[PATCH 1/2] gallium/nouveau: decouple nouveau_fence implementation from screen
...; + nouveau_fence_new(mgr, &mgr->current, FALSE); } diff --git a/src/gallium/drivers/nouveau/nouveau_fence.h b/src/gallium/drivers/nouveau/nouveau_fence.h index 3984a9a..cb44dd3 100644 --- a/src/gallium/drivers/nouveau/nouveau_fence.h +++ b/src/gallium/drivers/nouveau/nouveau_fence.h @@ -11,6 +11,20 @@ #define NOUVEAU_FENCE_STATE_FLUSHED 3 #define NOUVEAU_FENCE_STATE_SIGNALLED 4 +struct nouveau_fence_mgr { + struct nouveau_fence *head; + struct nouveau_fence *tail; + struct nouveau_fence *current; + uint32_t sequence; + uint32_t sequence_ack; + int (*flush)(struct nouveau_fe...
2012 Jul 14
6
[PATCH 0/6] Allow non-optargs functions to gain optional arguments.
This rather complex set of patches allow non-optargs functions to gain optional arguments, while preserving source and binary backwards compatibility. The problem is that we cannot add an optional argument to an existing function. For example, we might want to add flags to the 'lvresize' API which currently has no optional arguments.
2007 Apr 04
0
Branch 'as' - 17 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
...| 104 ++++++++++++++ libswfdec/swfdec_as_array.h | 56 ++++++++ libswfdec/swfdec_as_context.c | 188 ++++++++++++++++++++++++++- libswfdec/swfdec_as_context.h | 13 + libswfdec/swfdec_as_object.c | 49 ++++++- libswfdec/swfdec_as_object.h | 11 + libswfdec/swfdec_as_types.c | 31 ++++ libswfdec/swfdec_as_types.h | 33 ++++ libswfdec/swfdec_button.c | 4 libswfdec/swfdec_button_movie.c | 4 libswfdec/swfdec_cached.c | 3 libswfdec/swfdec_connection.c | 61 +++----- libs...
2014 Jun 17
2
[PATCH try 2 1/2] gallium/nouveau: decouple nouveau_fence implementation from screen
...); + nouveau_fence_new(mgr, &mgr->current, FALSE); } diff --git a/src/gallium/drivers/nouveau/nouveau_fence.h b/src/gallium/drivers/nouveau/nouveau_fence.h index 3984a9a..cb44dd3 100644 --- a/src/gallium/drivers/nouveau/nouveau_fence.h +++ b/src/gallium/drivers/nouveau/nouveau_fence.h @@ -11,6 +11,20 @@ #define NOUVEAU_FENCE_STATE_FLUSHED 3 #define NOUVEAU_FENCE_STATE_SIGNALLED 4 +struct nouveau_fence_mgr { + struct nouveau_fence *head; + struct nouveau_fence *tail; + struct nouveau_fence *current; + uint32_t sequence; + uint32_t sequence_ack; + int (*flush)(struct nouveau_fence...