Normally when I use googlesheets package on my desktop R studio, it puts me through a browser based authentication, where I select my Google account for authentication and it gets approved.I use the gs_ls() function for authentication.
Now I am trying to use the googlesheets package in R in my Amazon EC2 instance, which does not have a browser available. How do I go through the authentication process in this environment?