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

shiny issue #2443

Closed
vikram-rawat opened this issue Oct 25, 2017 · 4 comments
Closed

shiny issue #2443

vikram-rawat opened this issue Oct 25, 2017 · 4 comments

Comments

@vikram-rawat
Copy link

vikram-rawat commented Oct 25, 2017

I am just seeking help with a small question.

WHY

DT()[,somecolname] doesn't work in shiny context where DT() is a reactive data.table.
but
DT[,somecolname] works on console.

is there anything that is different. I just want to know is there any conceptual gap between normal data.table and using it in shiny. because I want to write big queries this is just a subset of it.

This is the entire project it is nothing but manipulating an excel file. just take a look and you would understand what do I mean. the file that I am working on is inside as well. I don't know if this is perticular to this app.

AbhilashGST.zip

@vikram-rawat
Copy link
Author

It is solved

@MichaelChirico
Copy link
Member

MichaelChirico commented Oct 25, 2017 via email

@SteveBronder
Copy link

@vikram-rawat what was the resolution to this?

@vikram-rawat
Copy link
Author

Somehow

SetDT function wasn't working on read_excel. It was like

Read_excel(some file) %>% setDT()

This doesn't convert the data frame into data table.

So it wasn,t a data table when I called it even though it should have been.

Then I created 2 different statement

Like

File <- Read_excel(some file)
SetDT(file)

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