Catch a typo. add an optional function for making this more completed.
Source Link

For the sake of completeness of the answer, you can ususe ls() to list all the assigned variables and data frames. This is similar to who and whos in Matlab.

If you want to get the list data.frames only you can use something like this:

ls()[grepl('data.frame', sapply(ls(), function(x) class(get(x))))]

You should probably ask questions like this on R forums.

For the sake of completeness of the answer, you can us ls() to list all the assigned variables and data frames. This is similar to who and whos in Matlab.

You should probably ask questions like this on R forums.

For the sake of completeness of the answer, you can use ls() to list all the assigned variables and data frames. This is similar to who and whos in Matlab.

If you want to get the list data.frames only you can use something like this:

ls()[grepl('data.frame', sapply(ls(), function(x) class(get(x))))]

You should probably ask questions like this on R forums.

Source Link
ivan-k
  • 233
  • 1
  • 5

For the sake of completeness of the answer, you can us ls() to list all the assigned variables and data frames. This is similar to who and whos in Matlab.

You should probably ask questions like this on R forums.