Hi Stefan,

Tks for your advice.

> detach(package:AER)
> data()

Data sets in package ‘car’:

> detach(package:car)
> data()

Data sets in package ‘datasets’.  I have to run "detach" twice getting back 
to 
package 'datasets'


> install.packages("Ecdat")
Installing package(s) into 
‘C:\Users\satimiswin764\Documents/R/win-library/2.12’
(as ‘lib’ is unspecified)
trying URL 
'http://cran.ms.unimelb.edu.au/bin/windows/contrib/2.12/Ecdat_0.1-6.zip'
Content type 'application/zip' length 2817531 bytes (2.7 Mb)
opened URL
downloaded 2.7 Mb

package 'Ecdat' successfully unpacked and MD5 sums checked

The downloaded packages are in
        C:\Users\satimiswin764\AppData\Local\Temp\RtmpP3dNfa\downloaded_packages
d
Package installed.

Installation went through w/o problem.

> library(Ecdat)
> data()

Data sets in package ‘datasets’  NOT 'Ecdat'

> ??Ecdat
...
Ecdat::Caschool         The California Test Score Data Set
Ecdat::Griliches        Wage Datas
Ecdat::MCAS             The Massashusets Test Score Data Set
Ecdat::MunExp           Municipal Expenditure Data
Ecdat::Orange           The Orange Juice Data Set
Ecdat::Solow            Solow's Technological Change Data
Ecdat::TranspEq         Statewide Data on Transportation Equipment
                        Manufacturing
....


Those files are in Ecdat packages.

> Caschool
Error: object 'Caschool' not found

> MCAS
Error: object 'MCAS' not found

Please help.  TIA

B.R.
Stephen L








________________________________
From: Stefan Grosse <singularit...@gmx.net>

Sent: Sun, November 28, 2010 7:23:19 PM
Subject: Re: [R] How to remove a package.

Am 27.11.2010 09:48, schrieb Stephen Liu:

> I found the datasets of AER 

cool.

> detach("package:AER", unload = TRUE)

detach(package:AER) works for me.

> data()
> still found "car" there.

you mean "cars" ? This is not part of AER but in a base R installation.

>> install.packages("EcDat")

> Where can I download/install EcDat?  TIA

It is case sensitive, try install.packages("Ecdat") it works for me...

Maybe you should try a little bit more...

hth
Stefan



        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to