similar to: tab-complete for non-syntactic names could attempt backtick-wrapping

Displaying 20 results from an estimated 400 matches similar to: "tab-complete for non-syntactic names could attempt backtick-wrapping"

2023 Mar 01
1
tab-complete for non-syntactic names could attempt backtick-wrapping
Great suggestion! I've started a patch: https://bugs.r-project.org/show_bug.cgi?id=18479 On Wed, Mar 1, 2023 at 1:56 AM Ivan Krylov <krylov.r00t at gmail.com> wrote: > > ? Wed, 1 Mar 2023 01:36:02 -0800 > Michael Chirico via R-devel <r-devel at r-project.org> ?????: > > > +comps[non_syntactic] <- paste0("`", comps[non_syntactic], "`") >
2023 Mar 02
3
tab-complete for non-syntactic names could attempt backtick-wrapping
There turn out to be a few more things to fix. One problem is easy to solve: vapply() needs a third argument specifying the type of the return value. (Can we have unit tests for tab completion?) The other problem is harder: `comps` defaults to an empty string, and you can't have a symbol consisting of an empty string, because this value is internally reserved for missing function arguments.
2009 Sep 11
1
Modify functions in base packages (needed for completion for proto objects)
Hello everyone, I am trying to implement completion for proto objects. Proto extends environment in a hierarchical way. Thus completion should list all the names in all it's parent environments. For "normal" classes defining names.class would do the job, but completion for "environment" is hard coded in utils:::specialCompletions by means of base::ls(). As result
2012 Mar 14
1
[ESS] completion in [] (R internal completion fails)
Hello, I am forwarding this from ESS mailing list, as it's a failure of internal R completion system: This fails: utils:::.assignLinebuffer('iris[iris$Spec') utils:::.assignEnd(15) utils:::.guessTokenFromLine() utils:::.completeToken() utils:::.retrieveCompletions() ## -> [1] "iris[iris$Spec" This works utils:::.assignLinebuffer('iris[ iris$Spec') # note the
2019 May 23
2
writing Unicode text to the Windows clipboard
Hello, I'm interested in moving text from and to the clipboard that cannot necessarily be represented in the native encoding. So, really, this is about Windows. I can successfully read from the clipboard by specifying the format that corresponds to unicode text. From R >=2.7.0, it seems you should also be able to write unicode text to the Windows clipboard.
2019 May 24
0
writing Unicode text to the Windows clipboard
Hello, I'm interested in moving text from and to the clipboard that cannot necessarily be represented in the native encoding. So, really, this is about Windows. I can successfully read from the clipboard by specifying the format that corresponds to unicode text. From R >=2.7.0, it seems you should also be able to write unicode text to the Windows clipboard.
2007 Aug 08
2
Backtick Hickup
I'm using Michel Fortin's MDTest cases to rewrite my html2text.php script. Just now I stumbled upon this bug (in PHP Markdown at least): # Input: Backtick: ``\``` # Output: <p>Backtick: ``&#96;``</p> # Should-Be Output: <p>Backtick: <code>`</code></p> If you (Michel) are already aware of this, just ignore me ;-) -- Milian Wolff
2006 Jan 16
1
Newbie: undefined method (backtick)body(quote) equals error
I have set up a simple test of a questionnaire; I have a set of questions which have a many to many relationship with a set of possible responses. I have it working so a user can set the range of responses for a given question, but when trying any of the CRUD operations on the responses side, I get a cryptic error, to which I see no reference to online. Thanks for any tips that may clear
2010 Oct 17
1
Wrong box.
Oct 16 22:52:42 mta0 dovecot: lda(luciano.moreira at metal.eeimvr.uff.br): sieve: msgid=<a04f508ac9d299a0733a09ce714ae56f at localhost.localdomain>: stored mail into mailbox 'luciano/moreira at metal/eeimvr/uff/br' Oct 16 22:52:48 mta0 dovecot: lda(fabiana at vm.uff.br): sieve: msgid=< 4CB3CFE3.4060206 at wspc.com.sg>: stored mail into mailbox 'fabiana at vm/uff/br' Oct
2013 Jun 25
2
how to run backtick in erb file
Hi I am very new to puppet and wants to implement something like this in my puppet template (erb file) the logic i am trying to do is : sssd_count=`rpm -qa | grep ''sssd'' | wc -l` <% if sssd_count =2 -%> session optional sss.so <% else %> session optional pam_ldap.so <% end -%> but the backtick does not work.. or i am unable to store the
2024 Jan 18
1
Choices to remove `srcref` (and its buddies) when serializing objects
? Tue, 16 Jan 2024 14:16:19 -0500 Dipterix Wang <dipterix.wang at gmail.com> ?????: > Could you recommend any packages/functions that compute hash such > that the source references and sexpinfo_struct are ignored? Basically > a version of `serialize` that convert R objects to raw without > storing the ancillary source reference and sexpinfo. I can show how this can be done, but
2010 Aug 03
1
Dsync fatal error.
#dsync -D -vv -u stak at nti.uff.br mirror maildir:/CX4/vdomains/ nti.uff.br/stak/mail dsync(root): Fatal: Mail locations must use the same virtual mailbox hierarchy separator (specify separator for the default namespace) My mail.conf *mail_location = mbox:/CX4/vdomains/%d/home/%n/mail:INBOX=/CX4/vdomains/%d/var/spool/mail/%n:INDEX=/tmp/imap-index/%d/%n *What that error means ? Before when i
2024 Jan 16
2
Choices to remove `srcref` (and its buddies) when serializing objects
Could you recommend any packages/functions that compute hash such that the source references and sexpinfo_struct are ignored? Basically a version of `serialize` that convert R objects to raw without storing the ancillary source reference and sexpinfo. I think most people would think of `digest` but that package uses `serialize` (see discussion
2004 Dec 21
3
Budgetone is not registering
Hi again. I cant get my Budgetone registered in Asterisk, and I cant find what's wrong... uff. This is my config: This fragment is from my sip.conf: [12345] type=user user=12345 username=12345 secret=12345 authuser=12345 qualify=1000 nat=no host=dynamic dtmfmode=rfc2833 reinvite=no canreinvite=no disallow=all allow=g729 allow=ulaw allow=alaw context=sip_default And this is from my
2017 Feb 22
2
OT: hardware, IBM 3650 M2 won't power on
I've never seen anything like this. We moved it from the data center yesterday, and this morning I plug it in, and it won't power up. I find a manual for it online, and it says that on plugging it in, wait 3 minutes. The power button will flash 4x/sec, then slow down to once a sec, and at that time you can power it up. Well, it never stops flashing at 4x/sec. I've connected a network
2018 Mar 21
5
Sum of columns of a data frame equal to NA when all the elements are NA
Dear list users, let me ask you this trivial question. I worked on that for a long time, by now. Suppose to have a data frame with NAs and to sum some columns with rowSums: df <- data.frame(A = runif(10), B = runif(10), C = rnorm(10)) df[1, ] <- NA rowSums(df[ , which(names(df) %in% c("A","B"))], na.rm=T) If all the elements of the selected columns are NA, rowSums
2010 Nov 29
0
formulas with non-syntactic names and an Error() term
## This is an example where ``-quoted non-syntactic names work in ## simple formulas, but not in formulas with an Error() term. ## Is this intentional or an oversight when ``-quoted names were added? tmp <- data.frame(y=1:6, `x^1`=factor(c(1,2,1,2,1,2)), `x^2`=factor(c(1,1,2,2,3,3)), check.names=FALSE) tmp aov(y ~ `x^1` + `x^2`, data=tmp)
2013 Feb 04
2
Contract Syntactic Sugar
## the following is a dream: add some sugar syntax to allow for contracts with teeth (in and out checking) > is.positive <- function(x) (all(x>0)) > exponentiate <- function( x ::is.data.frame , exponent ::is.numeric is.positive) :: is.vector is.numeric { x$base :: is.positive ## error also if base does not exist in x; may need some special IQ x$base^exponent }
2018 Mar 21
0
Sum of columns of a data frame equal to NA when all the elements are NA
On 21/03/2018 11:44 AM, Stefano Sofia wrote: > Dear list users, > let me ask you this trivial question. I worked on that for a long time, by now. > Suppose to have a data frame with NAs and to sum some columns with rowSums: > > df <- data.frame(A = runif(10), B = runif(10), C = rnorm(10)) > df[1, ] <- NA > rowSums(df[ , which(names(df) %in%
2011 Oct 21
20
How to transform my html form into a rails 3 form
Hi, I have the following code working in a rails 3 view, but it is unfortunately not pure rails code! <% @filter1 = "tr.show1,tr.show2" %> <% @filter2 = "tr.show1" %> <% @filter3 = "tr.show2" %> <form> <p> <input type="checkbox" value=<%=@filter1%> onclick="$ (this).is('':checked'')