Is it possible to store and utilize client data

126 views
Skip to first unread message

Andrew Clark

unread,
Feb 26, 2014, 3:07:25 PM2/26/14
to shiny-...@googlegroups.com
If I have a shiny site that gets repeated visits from individual clients that have specific default needs on input is it possible
to provide this at the start up of new sessions

The sort of thing I am thinking about is a set of multiple inputs in say a country selectInput
or specific stocks and quantity of holdings for a portfolio

cheers

Owe Jessen

unread,
Feb 27, 2014, 4:05:47 AM2/27/14
to shiny-...@googlegroups.com
Generally, this should well be possible. I suppose you would need to offer a way to login the specific user (I have no idea about cookies in general and in the context of shiny), and then load-up at the start of the session the user-specific data including possibly user-specific UI-code.

Stéphane Laurent

unread,
Feb 27, 2014, 4:11:59 AM2/27/14
to shiny-...@googlegroups.com

Patrick Toche

unread,
Feb 27, 2014, 4:47:17 AM2/27/14
to shiny-...@googlegroups.com
I think I read somewhere recently that shinyapps.io will offer a premium feature (at a fee) allowing you to set up passwords on your app, this could help control user-specific features.

Stéphane Laurent

unread,
Feb 27, 2014, 4:54:22 AM2/27/14
to shiny-...@googlegroups.com
I don't find a lot of information about ShinyApps. Is it appropriate to host some apps of a private company ?

Patrick Toche

unread,
Feb 27, 2014, 5:39:56 AM2/27/14
to shiny-...@googlegroups.com
I can't honestly remember where I read that, but here is more info:

https://github.com/rstudio/shinyapps/blob/master/guide/guide.md

also you could join the shinyapps-users group:

Andrew Clark

unread,
Feb 27, 2014, 2:46:35 PM2/27/14
to shiny-...@googlegroups.com
Thanks. I have contacted the developer and hope he can help

On Thursday, 27 February 2014 01:11:59 UTC-8, Stéphane Laurent wrote:

Andrew Clark

unread,
Feb 27, 2014, 2:49:22 PM2/27/14
to shiny-...@googlegroups.com
Thanks for these. All my apps are on glimmer. I have my own site now,as well, so not sure I want a third hoster!

Jeff Allen

unread,
Feb 28, 2014, 12:11:16 AM2/28/14
to shiny-...@googlegroups.com
Hi all,

This is a great question and one we aimed to tackle in Shiny Server Pro. ShinyApps will also expose the ability to ask users to login before granting them access to the app. You can use things like LDAP and Active Directory if you're deploying inside an organization, but you may be more interested in the soon-to-be-released Google auth feature. This feature will allow users to login using their Google account which is exposed to your Shiny application.

This allows you to store settings or data unique to the current user in a Shiny process. We'll be working to put together more examples of this functionality over the coming weeks and will certainly have something ready by the time we launch the feature on ShinyApps.io.

FYI Andrew, ShinyApps will eventually be replacing Glimmer and Spark. We're not in a rush, but the stability, scalability, and reliability of ShinyApps will be much greater. We'll also be rolling out new features like authentication uniquely on ShinyApps moving forward. So take it for a spin when you have a chance and let us know what you think!

Best,
Jeff
Reply all
Reply to author
Forward
0 new messages