Skip to content
Prev 243601 / 398502 Next

Where is gdata?

On Sun, Nov 28, 2010 at 6:44 AM, Stephen Liu <satimis at yahoo.com> wrote:
In the end it appears that there was no problem in accessing the gdata
package or any of its components and that the poster's problem stemmed
from issuing this series of commands:

library(AER)
data()

at which point the poster saw the names of AER data files listed and
assumed that the data() command showed the data set names of the last
loaded library.  Based on this assumption when he issued this series
of commands:

library(gdata)
data()

and saw AER listed again he thought that gdata had not been loaded.
In fact the data() command lists the names of the data sets of *all*
installed packages, and not just the last loaded one, so if AER is the
alphabetically first package that is installed it will always appear
first.  Thus to view gdata's data set names in this list one would
have to scroll down to view the names off the screen.

Things which confused the issue further were that the poster was using
a virtual machine to run R, which might have caused problems in
determining where the library was located but in fact did not, and one
responder somehow assumed that the question related to read.xls (a
function in gdata) and its perl dependency but as indicated the
problem actually had nothing specifically to do with gdata at all much
less read.xls or perl.