I’m using R in linux, command line only.
Coming back to a project after some time, I have forgotten the variable names I used, and the R command history doesn’t contain them.
I seem to remember there being a command which lists all user defined variables, but don’t remember what it is, and cannot find it on the web.
How can I list all the user defined variables in R?
ls()From the help page:
Edit: I should note that to list ALL variables you would need to use
otherwise variables that begin with a dot won’t show up in the listing.