[R-sig-Geo] (no subject)
Roger Bivand
Roger.Bivand at nhh.no
Thu Sep 28 12:13:09 CEST 2006
(Reverting to list)
On Thu, 28 Sep 2006, pir2.jv wrote:
>
> Le 28 sept. 06 à 11:03, Roger Bivand a écrit :
>
> > On Thu, 28 Sep 2006, pir2.jv wrote:
> >
> >>
> >> I have a misfit whan I want to see the gallery:
> >>
> >> demo(gallery)
> >> ......... all is OK at the beginning
> >
> > Nothing is OK.
> I mean that the developpment seems to be the good one.
> > You clearly have a malfunctioning system, at least one of
> > the packages is wrongly installed. You have not included version
> > information - the output of sessionInfo() at least
>
> I do not understand:
> > sessionInfo()
> Version 2.3.1 (2006-06-01)
> powerpc-apple-darwin8.6.0
>
> attached base packages:
> [1] "methods" "stats" "graphics" "grDevices" "utils"
> "datasets"
> [7] "base"
>
> other attached packages:
> maptools lattice sp gstat foreign
> "0.5-15" "0.13-8" "0.8-20" "0.9-33" "0.8-15"
>
>
> > . My guess is that you
> > are running on Windows
> powerpc-apple-darwin8.6.0
> Mac OS 10.4.7
So possibly there is an endian issue, or a contaminated shapefile.
In a fresh R session, please do:
library(maptools)
sessionInfo()
fn <- system.file("shapes/sids.shp", package="maptools")[1]
file.info(fn)
xx <- readShapePoly(fn, proj4string=CRS("+proj=longlat +ellps=clrk66"))
class(xx)
bbox(xx)
summary(xx)
and post the output to the list?
(Keeping discussions on the list is vital to accumulating shared knowledge
- a maxim of open source is that the difficulty of solving problems is
inversely proportional to the number of eyes seeing them)
>
> > and have made some blunder
> blunder |ËblÉndÉr| |ËblÉndÉr| |ËblÊndÉ|
> noun
> a stupid or careless mistake.
> stupid: perhaps, probably
> careless: no
Well, yes, no information on platform and package versions isn't careful.
>
> > in installing packages,
>
> > but nobody can help you unless you give more *relevant* information
> I don't understand what you mean by *relevant* information. I tried
> to load maptools and sp again. The results are:
> +++++++++++++++++++++++++++++++++++++++++++++++ FOR MAPTOOLS
> essai de l'URL 'http://cran.univ-lyon1.fr/bin/macosx/powerpc/contrib/
> 2.3/maptools_0.5-15.tgz'
> Content type 'application/x-tar' length 279674 bytes
> URL ouverte
> ==================================================
> downloaded 273Kb
>
>
> The downloaded packages are in
> /tmp/RtmpyYsU1Y/downloaded_packages
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++ FOR SP
> essai de l'URL 'http://cran.univ-lyon1.fr/bin/macosx/powerpc/contrib/
> 2.3/sp_0.8-20.tgz'
> Content type 'application/x-tar' length 474239 bytes
> URL ouverte
> ==================================================
> downloaded 463Kb
>
>
> The downloaded packages are in
> /tmp/RtmpyYsU1Y/downloaded_packages
> +++++++++++++++++++++++++++++++++++++++++++++++++++
>
> > since
> > you have now asked the same question four times.
> I beg your indulgence.
> >
>
> But, now, it is a new thing:
> > sessionInfo()
> Version 2.3.1 (2006-06-01)
> powerpc-apple-darwin8.6.0
>
> attached base packages:
> [1] "methods" "stats" "graphics" "grDevices" "utils"
> "datasets"
> [7] "base"
>
> other attached packages:
> maptools lattice sp gstat foreign
> "0.5-15" "0.13-8" "0.8-20" "0.9-33" "0.8-15"
> Warning messages:
> 1: impossible de créer l'index HTML des packages in:
> make.packages.html()
> 2: impossible de créer l'index HTML des packages in:
> make.packages.html()
>
> These warnings are new.
>
> I know I am stupid, but I tried to see what is in /tmp/RtmpyYsU1Y/
> There are 2 files created today at the same time that the downloaded
> packages.
> I tried to read them:
Please never do this, it will not help.
>
> > load("/private/tmp/RtmpyYsU1Y/libloc_%2fLibrary%2fFrameworks%
> 2fR.framework%2fVersions%2f2.3%2fResources%2flibrary.rds")
> Erreur : mauvais numéro magique de restauration de fichier (le
> fichier est peut être corrompu) -- aucune donnée chargée
> > load("/private/tmp/RtmpyYsU1Y/repos_http%3a%2f%2fcran.univ-lyon1.fr
> %2fbin%2fmacosx%2fpowerpc%2fcontrib%2f2.3.rds")
> Erreur : mauvais numéro magique de restauration de fichier (le
> fichier est peut être corrompu) -- aucune donnée chargée
>
> I don't know if there is a link.
>
>
> Jacques Vernin
>
>
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no
More information about the R-sig-Geo
mailing list