similar to: [tcltk] binding two functions to one event

Displaying 20 results from an estimated 500 matches similar to: "[tcltk] binding two functions to one event"

2025 Jan 21
1
[tcltk] binding two functions to one event
This is in the obscure corners of the tcltk interface, as I am sure you already realized... I'm not even sure whether the "+" in bind .... +script is syntactically an operator or part of the command. However, it is usually not right to define named functions on the Tcl side and mix them with the ones R/Tcl interface generate. So I am thinking that if
2015 Jul 01
3
strange: 20 characters max in samAccountName
Hi all, Sernet Samba 4.2.2 as Active Directory on Debian 7.8. No other DC. I can't log in with on Windows systems (Windows 7) when samAccountName are longer than 20 characters. This seems to be a LAN MAN or NT4 limitation which should not happen on AD domain. Any idea what could leads my to that limitation? I can log in using administrator account or any other having a short (enough)
2010 Feb 05
1
String Manipulation- Extract numerical and alphanumerical segment
I am currently attempting to split a long list of strings (let's call it "string.list") that is of the format: "1234567.z3.abcdef-gh.12" I have gotten it to: "1234567" "z3" "abcdef-gh" "12" by use of the strsplit function. This leaves me with each element of "string.list" having a split string of the above format. What
2003 Feb 24
2
"trace" argument in legend() (PR#2578)
Full_Name: Jerome Asselin Version: 1.6.2 OS: RedHat Linux 7.2 Submission from: (NULL) (142.103.173.179) Should be an easy fix... Consider the examble below: plot(0,0) legend(0,0,c("Hello!","Hi!"),pch=1:2,lty=1:2,trace=T) It gives the following trace: > plot(0,0) > legend(0,0,c("Hello!","Hi!"),pch=1:2,lty=1:2,trace=T) xchar= 0.05178 ;
2007 Jan 26
3
Multiple Filesystems on one path stmt in smb.conf
Can the path statement in the smb.conf contain two entries as in the example below: path = /u04/abcdef /u03/xyz What I want to do is to essentially have 2 filesystems be part of one share so that the windows users would see all the sub-directories of filesystems /u04/abcdef and /u03/xyz
2024 Apr 11
3
Regexp pattern but fixed replacement?
I noticed this issue in stringr::str_replace, but it also affects sub() in base R. If the pattern in a call to one of these needs to be a regular expression, then backslashes in the replacement text are treated specially. For example, gsub("a|b", "\\", "abcdef") gives "def", not "\\\\def" as I wanted. To get the latter, I need to escape
2011 Jul 22
2
averaging rows based on string¿?
Hi Folks, Ran into something I'd really like to do in R simply/elegantly, but my R - coding skills seem surpassed. This is the thing. Imagine the following data: labs<-c("abcdef","abcgg","tgthefdk","tgtijuel","tgtnjmoi","gbnt","dlift") dat<-c(0.5,0.25,1,2,16,0.250,4) dframe<-data.frame(labs,dat) I would like to
2016 Mar 16
1
Rsync temporary file name
Hi list, I have some questions on how rsync names the temporary files it create during a file transfer. It is my understanding that temporary files are name .<filename>.ABCDEF, where "ABCDEF" is a random 6-chars alphanumeric string. First question: it is correct to say that the random aphanumeric string is _always_ 6 chars long? Second question: it is possibile to define a
2001 Sep 07
2
Why does substr<- truncate and not replace...
... when the replacement string is shorter than the portion of the string to be replaced? The documentation to substr (in R 1.3.1) gives me: If the portion to be replaced is longer than the replacement string, then only the portion the length of the string is replaced. And so I try: R> x <- "abcdef" R> substr(x,2,3) <- "xy" #ok R> x [1]
2001 Sep 07
2
Why does substr<- truncate and not replace...
... when the replacement string is shorter than the portion of the string to be replaced? The documentation to substr (in R 1.3.1) gives me: If the portion to be replaced is longer than the replacement string, then only the portion the length of the string is replaced. And so I try: R> x <- "abcdef" R> substr(x,2,3) <- "xy" #ok R> x [1]
2013 May 21
2
CentOS Dojo and Barbecue - Aldershot, UK on 12th July 2013
Hi, The next CentOS Dojo is coming to Aldershot, UK - a 45 min train ride from London Waterloo station - on the 12th July 2013. We have a great, and growing list of speakers already on the agenda, and another few waiting to confirm. And, the venue sponsors - catn.com - are going to organise a hog roast barbecue and beet for everyone attending once the talks are done ( 4pm'ish ). So another
2000 Oct 24
1
R_eval in tcltk library
Is there a method with the current tcltk library in R to call back an R function within the .Tcl("...") interpreter? I can't find anything documented, and I don't understand the usefulness of the .Tcl.callback() function. Browsing through the tcltk source code I found two functions R_eval and R_call that seem to take input from the .Tcl interpreter and parse them through the R
2007 Feb 12
1
bug in partial matching of attribute names
There looks to be a bug in do_attr() (src/main/attrib.c): incorrect partial matches of attribute names can be returned when there are an odd number of partial matches. E.g.: > x <- c(a=1,b=2) > attr(x, "abcdef") <- 99 > attr(x, "ab") [1] 99 > attr(x, "abc") <- 100 > attr(x, "ab") # correctly returns NULL because of ambig
2013 Mar 16
1
Registering external program for a specific named pipe
Hi everyone, I wish to implement a service on top of an smb named pipe. I go over the samba code and I have seen how to implement the service directly into samba code like the rpc echo server. I wish to do it differently. Is there a way for an external software to register into samba such as all smb messages on \PIPE\ABCDEF (as an example) get transmit directly to it ? If yes, Is there any
2009 Jan 18
8
regex -> negate a word
Dear all, let's assume I have a vector of character strings: x <- c("abcdef", "defabc", "qwerty") What I would like to find is the following: all elements where the word 'abc' does not appear (i.e. 3 in this case of 'x'). Since I am not really experienced with regular expressions, I started slowly and thought I find all word were
2000 Oct 19
0
legend -- one more try
Dermot MacSweeney pointed out to me that after my "fix" of legend(), points were no longer coming out placed in the middle of the lines, but at the right-hand edge. It turns out that naively swapping the order of point-drawing and line-drawing also messes up the bookkeeping that legend() does on the current x-location. Here's my patch, which fixes that bookkeeping (and incidentally
2001 Jan 15
0
legend() patch never seems to have made it in
Perhaps I should have submitted this as a bug so that it would be officially tracked. It's not a big deal, but here it is again (I can't remember which version this patch is against, but I don't think legend() has changed since then ...) Basically, the problem is that if you want to have "opaque" points that overlay lines (rather than using type="b" and having
2007 May 31
0
Branch 'as' - 8 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_string.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_as_types.c test/trace
libswfdec/swfdec_as_context.c | 20 + libswfdec/swfdec_as_interpret.c | 9 libswfdec/swfdec_as_string.c | 15 - libswfdec/swfdec_as_strings.c | 2 libswfdec/swfdec_as_types.c | 2 test/trace/Makefile.am | 28 + test/trace/isnan-5.swf |binary
2006 Mar 13
3
Strange SSH login try.
Hello list. Today I saw something strange in logs one of my servers. Part of the /var/log/security: Mar 12 15:01:03 server sshd[28505]: Invalid user abc from ::ffff:x.x.x.x Mar 12 15:01:03 server sshd[28503]: Invalid user ab from ::ffff:x.x.x.x Mar 12 15:01:03 server sshd[28507]: Invalid user abcd from ::ffff:x.x.x.x Mar 12 15:01:03 server sshd[28509]: Invalid user abcde from ::ffff:x.x.x.x Mar
2010 Jul 13
1
StartsWith over vector of Strings?
Given vectors of strings of arbitrary length content <- c("abc", "def") searchset <- c("a", "abc", "abcdef", "d", "def", "defghi") Is it possible to determine the content String set that matches the searchset in the sense of 'startswith' ? This would be a vector of all strings in content that start with