[R-Forge #2110] Add . and .. symbol prefixes and inherits=FALSE for strict scope

Open
#633 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
r
Domain
data

Research direction

The issue names no files, tests, or entry points, so first map the data.table scoping and sub-join implementation before proposing a change. Review how j resolves column names and calling-scope variables, then define tests covering inherits=FALSE and the proposed . and .. prefixes; done means those strict-scope and sub-join cases behave as specified.

Written by the indexing model from the issue text.

Description

feature request programming

Submitted by: Matt Dowle; Assigned to: Nobody; R-Forge link

inherits=FALSE would allow user to specify that j should use column names only, and if column name doesn't exist that should be error rather than possibly finding a match in calling scope.

..() is for the sub-join examples where the join goes in j and you want to refer to the columns in i not .SD. Something like that.

Dominant language
R
Stars
3.9k
Forks
1.1k
Avg merge
14h 4m
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Rdatatable/data.table

All issues in Rdatatable/data.table

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.