How to pass a result from shinyapp to wordpress?

Hi,
I'm using a shinyapp in a Wordpress page using an inline.
My situation is basically this one: after pressing a button from inside the app that makes a calculation, to send the result to the wordpress page?
furthermore, let's say I want to: send it to a wpform or rednao's smartform

Thank you