How do I use a C algorithm in shinyR

My basic aim of the code is to input 4 text files, that should be processed by a C algorithm to return a table output. I am confused as to how to make sure that the files the user inputs will be processed by the algorithm.

Code:
server <- function(input, output) {
output$contents5 <- renderTable({
system(paste("C:\Users\swati\Downloads\codes_RFCM3\MASTERCODE.BIN"))

})}

Could someone please help me with this.

You should first put aside the question of shiny and establish that you can apply your C algorithm in a non shiny script. I would use the Rcpp package.

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.