Change Account Name

74 views
Skip to first unread message

Avner Kantor

unread,
Jun 10, 2014, 4:41:05 PM6/10/14
to shinyap...@googlegroups.com
Hi,

1. How can I change my account name?
2. Can I add another account?

Best regards,

Avner

Andy Kipp

unread,
Jun 11, 2014, 2:32:56 PM6/11/14
to Avner Kantor, shinyap...@googlegroups.com
Account names can not be changed. However you can go to https://www.shinyapps.io/register and create a second account with whatever name you like. You will then have to register your account by running. Using your existing token and secret.

shinyapps::setAccountInfo("new account", token=... , secret=...)

Please keep in mind that once you have two accounts you need to use the account parameter when deploying your applications:

deployApp(account="new account")

Cheers
-Andy




--
You received this message because you are subscribed to the Google Groups "ShinyApps Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shinyapps-use...@googlegroups.com.
To post to this group, send email to shinyap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shinyapps-users/6e6ff124-b6a1-463b-8d47-ef3c10d9d59a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Avner Kantor

unread,
Jun 12, 2014, 5:06:16 AM6/12/14
to Andy Kipp, shinyap...@googlegroups.com
Hi, thanks for your response. Unfortunately I cannot create new account unless I will use other email, I cannot use my current gmail/github account because the automatically login.
Regards,
Avner

Andy Kipp

unread,
Jun 12, 2014, 10:33:28 AM6/12/14
to Avner Kantor, shinyap...@googlegroups.com
Hi,

You are using Google to login, you should be to select which account to associate with ShinyApps, if you are logged in to more then one Gmail account. The other option would be to use revoke ShinyApps.io access from your gmail account going to:


Logging in to ShinyApps will then prompt to select a gmail account.

-Andy

Avner Kantor

unread,
Jun 12, 2014, 10:46:53 AM6/12/14
to Andy Kipp, shinyap...@googlegroups.com
Do I need to create second Gmail account in order to have second ShinyApps account?

Andy Kipp

unread,
Jun 12, 2014, 10:53:16 AM6/12/14
to Avner Kantor, shinyap...@googlegroups.com
Not necessarily, can you explain what you are trying to do?

A user (e.g. an email address) can belong to or own more then one account (an account is something.shinyapps.io). You can have as many accounts and user's as you like, but each user must all have unique email addresses.

-Andy

Avner Kantor

unread,
Jun 12, 2014, 11:00:01 AM6/12/14
to Andy Kipp, shinyap...@googlegroups.com
My question is how to create second account for the same user? I didn't succeed to do it by revoking.

Andy Kipp

unread,
Jun 12, 2014, 11:18:12 AM6/12/14
to Avner Kantor, shinyap...@googlegroups.com
Authentication in ShinyApps is tied to your Google account. A google account can not be associated with more then one ShinyApps user. However, a ShinyApps user can have more then one Account (think of Accounts as similar to organizations in GitHub).

For example:

I have a ShinyApps user (an...@rstudio.com) tied to my Gmail account (also an...@rstudio.com).

However my user has multiple ShinyApps accounts:


I can deploy to any of these accounts by running:

deployApp(account="andy2")

Because of this feature, there is no reason to have more then one ShinyApps user (but it is possible if you have more then one Gmail account).

-Andy

Avner Kantor

unread,
Jun 12, 2014, 12:01:05 PM6/12/14
to Andy Kipp, shinyap...@googlegroups.com
Sorry, it either not clear or not working for me... My account name is 'pisa', so I tried to create new account name 'pisa2'. Here are the results:

1. shinyapps::setAccountInfo(name='pisa2', token='', secret='')

  Unable to determine account id for account named 'pisa2'

(It looks that my AccountId is null. I don't know how to create new Id).


2. shinyapps::setAccountInfo("new account", name='pisa2', token='', secret='')

  unused argument ("new account")

3. shinyapps::setAccountInfo('new account'', token='', secret='')

  unused argument ("new account")



In the end I just used my second Gmail user (email) for opening new account...



Reply all
Reply to author
Forward
0 new messages