If a function returns an object with a print method (most do, including
Surv()), then simply typing the object
S at a prompt in the console will provide a display. On the other hand, most functions simply discard objects they complete and you have to expressly assign it from outside the function.
my_new_object <- my_function(x, this, that, other)
As far as the RStudio installation, I always assume that if an IT department doesn't use software for its own internal purposes, it's not always installed and maintained with care unless someone very senior in the organization is asking.
There's an alternative, assuming that IT hasn't also locked down interactive websites: Posit Cloud, which provides a web interface to the RStudio GUI that is almost identical to what you experience on the desktop.