Joanne Demmler
Joanne Demmler

Reputation: 1446

data() command in RStudio

I have just realized that the data() command does not work in RStudio. It normally gives you a list of all datasets that are available to you (depending on which packages you are using).

Does anyone know of a workaround?

A very bad workaround it this:

x <- edit(data())

at least it does give you the list after several path and other listings.

Upvotes: 0

Views: 319

Answers (2)

Joanne Demmler
Joanne Demmler

Reputation: 1446

This seems to only be a problem in the Linux version of RStudio!

Upvotes: 0

Carl Witthoft
Carl Witthoft

Reputation: 21502

As many have pointed out, data() works just fine in RStudio. Since it generates a standalone window, it is true that the output is not by default,an RStudio window, but all you have to do is select RStudio from that Windows "pick the default application" dialog window, and you're all set. (vsn 97.245 w/ R2.15.2 and Win7)

Upvotes: 1

Related Questions