[R-SIG-Mac] Help in creating a MacOSX binary of the mapdata package 2.1-3?

David Winsemius dwinsemius at comcast.net
Mon Aug 30 05:47:38 CEST 2010


On Aug 29, 2010, at 8:15 PM, Jooil Kim wrote:

> Hello all,
>
> I recently noticed that the MacOSX binary of the mapdata package ver  
> 2.1-3
> wasn't available.

There is an earlier version 2.1-1.

>
> The mapdata package is a useful extension for the maps package,  
> providing
> higher-resolution map data.
>
> In contacting package maintainer Ray Brownrigg, (Ray.Brownrigg at
> ecs.vuw.ac.nz), I'm told that he is willing to make the fixes  
> necessary,
> however does not have the Mac resources to track the bug causing the
> problems.
>
> In looking at the log, I get the impression that the actual problem is
> minor, in that a problem occurs in checking the examples.
>
> Here's a copy-and-paste from the logs below.
>
> ==================================================================
> checking examples ... ERROR
> Running examples in 'mapdata-Ex.R' failed.
> The error most likely occurred in:

When I compile from source on a Mac 10.5.8  running R 2.11.1 the  
version 2.1-3 of mapdata does not report an error.

 > require(mapdata)
 > map("china") # draws a map
-------------- next part --------------
A non-text attachment was scrubbed...
Name: map_china.pdf
Type: application/pdf
Size: 34153 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20100829/4d546f10/attachment-0001.pdf>
-------------- next part --------------

 > sessionInfo()
R version 2.10.1 Patched (2010-02-17 r51152)
x86_64-apple-darwin9.8.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] mapdata_2.1-3  maps_2.1-4     reshape_0.8.3  plyr_0.1.9      
lattice_0.18-3

loaded via a namespace (and not attached):
[1] grid_2.10.1  tools_2.10.1

>
>> ### * china
>>
>> flush(stderr()); flush(stdout())
>>
>> ### Name: china
>> ### Title: China Map
>> ### Aliases: china chinaMapEnv
>> ### Keywords: datasets
>>
>> ### ** Examples
>>
>> map('china')
>
> *** caught segfault ***
> address 0x30010073, cause 'memory not mapped'
>
> Traceback:
> 1: .C("maptype", PACKAGE = "maps", as.character(mapbase), integer(1))
> 2: maptype(database)
> 3: map("china")
> aborting ...
> ==================================================================
>
> Does anyone in the Mac group have the skills and time to figure this  
> out and
> contact Ray about a solution?
>
> Sorry, I should really try to do this myself, but I'm still very new  
> at
> this...
>
> Thanks,
>
> Jooil
>
> -- 
> #############################################
> Jooil Kim
> Graduate Student
> School of Earth and Environmental Sciences,
> Seoul National University
> Gwanak Gu Shillim 9 Dong San 56-1
> Seoul National Univ. Bld#501, Rm 503
> Seoul, Rep. of Korea 151-742
> kji2080 at gmail.com
> tel) 82-2-877-6741
> fax) 82-2-885-7164
> #############################################
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list