Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WISH: rstudio --version #3922

Closed
HenrikBengtsson opened this issue Nov 16, 2018 · 4 comments · Fixed by #5953
Closed

WISH: rstudio --version #3922

HenrikBengtsson opened this issue Nov 16, 2018 · 4 comments · Fixed by #5953

Comments

@HenrikBengtsson
Copy link
Contributor

@HenrikBengtsson HenrikBengtsson commented Nov 16, 2018

Please consider adding support for querying the RStudio version from the command line, .e.g.

$ rstudio --version
1.1.453

$ 

Migrated from https://community.rstudio.com/t/wish-rstudio-version/18322

@philmikejones
Copy link

@philmikejones philmikejones commented Nov 19, 2018

If you're on Ubuntu/Debian you can use:

dpkg -s rstudio | grep "Version"

@jmcphers
Copy link
Member

@jmcphers jmcphers commented Nov 19, 2018

Can you tell us a little more about why you want to do this? (realize it's a common convention!)

@HenrikBengtsson
Copy link
Contributor Author

@HenrikBengtsson HenrikBengtsson commented Nov 19, 2018

Convenience - not having to open a GUI click through menus to find it (kudos for making the About dialog cut'n'pastable). It will help sysadms orchestrating 100-1000's of software tools.

It'll also allow for programtically querying the version, e.g. when producing table-of-software tools installed.

EDIT 2018-12-22: Mention automation.

@kevinushey
Copy link
Contributor

@kevinushey kevinushey commented Jan 6, 2020

It's worth saying that RStudio will install a VERSION file that can be queried as well:

$ cat /usr/lib/rstudio/VERSION 
1.3.568

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants