问题
I have a reactive dataframe called meals().
I would like to be able to treat it as a non-reactive dataframe.
However, meals2<-as.data.frame(meals()) does not give the expected result.
So, I tried
meals2=reactive({
as.data.frame(meals())
})
and that does not work either, and I think that would give me another reactive dataframe in meals2(), which is not what I want. I know I am misunderstanding some of the basics here. Does anyone have any pointers?
来源:https://stackoverflow.com/questions/33651692/how-to-save-reactive-dataframe-as-non-reactive-in-shiny-r