R Shiny: 'error cannot open the connection'
<p>so I have a Shiny app where I'm trying to read in a user-identified input file. </p>

<p>Towards that end, my ui.R has the line <code>fileInput("predictor2", label = "Predictor Values")</code> and I try to read the file using the line <code>predictor &lt;- read.delim("input$predictor2")</code> in my server.R file. </p>

<p>However, I get a message saying <code>Error: Cannot open the connection</code>. If I don't try to read in the file and use another matrix of values, the code works fine. Any advice for how to fix this problem or more detail that would be useful? </p>