file.exists not working in R Shiny App -


i new r shiny , trying find whether particular file exists or not. code works in r (gives positive result) when try work same code in shiny, gives negative result.

code:

if(istrue(file.exists("temp.rds"))){ print("file present") }else{ print("file not present") } 

output in r: file present

output in shiny: file not present

i think, there fundamental concept not understanding in shiny. kindly help.


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -