fileInput upload data can't be used at renderplot

No, I mean in your plot function when you are using the reactive.
Something similar is done in this post