-
Notifications
You must be signed in to change notification settings - Fork 991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dot list alias doesn't work with between
#2315
Comments
I think . is only interpreted in the j clause, and when it's the only thing
in i... you're right that this probably deserves explication in a help
page, perhaps we should add an Rd for ?"."
…On Aug 21, 2017 8:21 PM, "Henrik-P" ***@***.***> wrote:
From ?between:
X = data.table(a = 1:5, b = 6:10, c = c(5:1))
X[c %between% list(a, b)]
list can't be replaced by .( ) here:
X[c %between% .(a, b)]
# Error in .(a, b) : could not find function "."
No big deal, but I just wonder if this is expected?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2315>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHQQdYNlkKwM0zNY8aJRkavubnrBy687ks5sahD3gaJpZM4O97zH>
.
|
@MichaelChirico Of course, it's available in the |
speaking off the cuff here, you're more correct. and i agree it'd be nice
to have everywhere
…On Aug 21, 2017 8:32 PM, "Frank" ***@***.***> wrote:
@MichaelChirico <https://github.com/michaelchirico> Of course, it's
available in the i, on and by clauses as well. I kind of expect it to
work throughout i and j, no matter the form of the expression, anyways. I
have a somewhat related SO post https://stackoverflow.com/
questions/41228076/using-data-tables-shortcut-in-quoted-expressions
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2315 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHQQdfAydyx5YkKRPob4_rx5-O057i_Oks5sahOggaJpZM4O97zH>
.
|
Just to provide a small background if considering an update of the help text and/or usage of Currently,
Some thoughts:
|
From
?between
:list
can't be replaced by.( )
here:The text was updated successfully, but these errors were encountered: