alans
alans

What I’d give for a fish shell-style approach to command history in the R console.

A lot. I’d give a lot.

|
Embed
bsag
bsag

@alans I would settle for a tool like rbenv that would let me specify an R version as well as R packages per-project. renv is great, but if homebrew decides to 'upgrade' your R version without your permission, you are in a world of pain. As I found out this week...

|
Embed
In reply to
alans
alans

@bsag Oooh, that sounds like trouble.

|
Embed
bsag
bsag

@alans It was. At some point, brew switched to automatically cleaning up old versions when you upgrade, AND upgrading dependencies automatically. So I upgraded something else which had R as a dependency, got a new version of R, and the old versions deleted. You can change this behaviour with env variables, but I didn’t know about it.

|
Embed
bsag
bsag

@alans By the way, have you tried radian? It does have auto completion but I’m not sure whether it would be quite what you want. It’s a lot nicer than the standard R console though.

|
Embed
alans
alans

@bsag I guess I should check on my own config. Thanks for that heads up! I don’t think I have hard version dependencies, but I remember something unexpectedly breaking last time I updated some tidy packages. And - oh, Radian looks neat! I’ll check it out.

|
Embed
bsag
bsag

@alans It’s worth setting the new env variables for brew so that you are in control of any changes.

|
Embed