g
Subject: Re: [R-pkg-devel] discovering if a function in a package is called
under RStudio
Hi,
you can use rstudioapi::isAvailable() for that. There's other packages with
similar functionality (eg the assertive package), and you can always check
whether Sys.getenv("RSTUDIO") == &qu
Hi,
you can use rstudioapi::isAvailable() for that. There's other packages with
similar functionality (eg the assertive package), and you can always check
whether Sys.getenv("RSTUDIO") == "1".
Cheers
Joris
On Fri, Feb 9, 2018 at 9:09 AM, Georgi Boshnakov <
georgi.boshna...@manchester.ac.uk> wrot
Hi,
Is there a canonical way for a function to discover if it has been called in a
session under RStudio?
I looked the at the options() but none seems to be dedicated to this.
Thanks,
Georgi Boshnakov
__
R-package-devel@r-project.org mailing list
htt