Skip to content
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

one column being needed both in grouping and in j #2379

Closed
ieiwk opened this issue Sep 23, 2017 · 5 comments
Closed

one column being needed both in grouping and in j #2379

ieiwk opened this issue Sep 23, 2017 · 5 comments

Comments

@ieiwk
Copy link

ieiwk commented Sep 23, 2017

Dear,

data.table is cool. I am learning using it.

Here is a situiation I found no quick solution:
there is one column for which I want to use its sub-string in by, while in j I want to access its other parts.

Please help. Thanks a lot!

@MichaelChirico
Copy link
Member

MichaelChirico commented Sep 23, 2017 via email

@ieiwk
Copy link
Author

ieiwk commented Sep 23, 2017

Thanks! But .BY is only the sub-string I used to group, while in j I need to access parts other than that sub-string...

@ieiwk
Copy link
Author

ieiwk commented Sep 23, 2017

Also for the issue tracker, am I using it already and correctly?

@renkun-ken
Copy link
Member

Duplicate of #1427

@ieiwk
Copy link
Author

ieiwk commented Sep 23, 2017

OK, now I have figured it out. I can use .I in j.

@ieiwk ieiwk closed this as completed Sep 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants