signup: Create a new plotly account.

Description Usage Arguments Value References Examples

Description

A sign up interface to plotly through the R Console.

Usage

1
signup(username, email, save = TRUE)

Arguments

username

Desired username.

email

Desired email.

save

If request is successful, should the username & API key be automatically stored as an environment variable in a .Rprofile?

Value

References

https://plot.ly/rest/

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
## Not run: 
# You need a plotly username and API key to communicate with the plotly API.

# If you don't already have an API key, you can obtain one with a valid
# username and email via signup().
s <- signup('anna.lyst', 'anna.lyst@plot.ly')

# If you already have a username and API key, please create the following
# environment variables:
Sys.setenv("plotly_username" = "me")
Sys.setenv("plotly_api_key" = "mykey")
# You can also change the default domain if you have a plotly server.
Sys.setenv("plotly_domain" = "http://mydomain.com")

# If you want to automatically load these environment variables when you
# start R, you can put them inside your ~/.Rprofile 
# (see help(.Rprofile) for more details)


## End(Not run)

gvarunkumar/plotly documentation built on May 17, 2019, 9:29 a.m.