On Tue, 4 Nov 2003 [EMAIL PROTECTED] wrote: > On 3 Nov 2003 at 15:04, [EMAIL PROTECTED] wrote: > > > > > I believe in R you need > > > > library(maps) > > > > before using usa(). Of course, the library has to be installed first. > > > > Yes, I new that. When I did help.search("usa") I HAD maps > attached. It dosen't have any function usa(). R is more international > minded: > > > library(maps) > > usa() > Error: couldn't find function "usa" > > map('usa') > > > map('china') > map('bolivia') > > and so on also works!
You need library(mapdata) for those. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help