wleepang / DesktopDeployR

A framework for deploying self-contained R-based applications to the desktop
Apache License 2.0
406 stars 120 forks source link

See the console for the app that's running #32

Closed Ljupch0 closed 3 years ago

Ljupch0 commented 4 years ago

Hi Lee, great package. Worked out of the box.

However now I'm facing an issue with one of my apps. Is there an easy way to see the console for the app that is running through the DesktopDeployR framework? Would be very helpful to debug.

Ljupch0 commented 4 years ago

I see now that of course this is the function of the error logs. However they are not generating :/

wleepang commented 4 years ago

Logs capture any output sent to stdout and stderr. There was a recent fix for R 4.0.x for logging. Make sure you have the most up to date dist.

Ljupch0 commented 3 years ago

One way I got the console is by using shinyShortcut to create another bat file in the app folder. I think launching the app with this bat uses the standard R installation and library, but it will show you the console as the app is running. Usually the bugs I get with DesktopDeployR are of my own making: I forget to include files from the original directory that the app depends on.