readLines function not working in R connection

257 views Asked by At

I'm trying to readLines from a connection. Below is my code,

 server <- function(input,output, session) {   
  
  netlist <- reactive({
    netlistdata <- readLines('run.scs')
    print(netlistdata)
  })   
 }

  
 

I'm trying to display the lines of the file (run.scs) which is in the current working directory in the console. I'm not able to see any values or even errors when I use the above code.

0

There are 0 answers