[R-SIG-Mac] maptools in R 3.0.0 (Steve Lianoglou)

David Winsemius dwinsemius at comcast.net
Sun Apr 7 22:18:08 CEST 2013


On Apr 7, 2013, at 10:04 AM, Joseph Kunkel wrote:

> Marc,
>
> I had the same problem

It does not sound like the same problem unless you only mean that it  
also involves difficulties with installing a package.

> with another library while trying to download it in the R-Package  
> Installer of R for Mac OS X GUI.  I was installing the fields  
> library which needed to also load a dependency library which would  
> not load and was not in the 'Cran binary' list.  The library of  
> course would not work without the dependency.  However when I looked  
> in the lists available under Get List button the option 'Other  
> Repository' had the needed library.  I loaded it and the fields  
> function that needed the dependency library worked.  I am not sure  
> this is a temporary fix or whether all dependencies that might  
> automatically be loaded will be brought into the combined 'Cran  
> binary' list.  I guess this might be a R OS X GUI issue?

R does not check for the existence of other R package dependencies (or  
for the existence of external libraries)  at the time of installing a  
binary package. If I understand you correctly that is what you did. It  
would not have anything to do with the Mac GUI. If you compile from  
source there is an effort to load the package after compilation.  
Missing dependencies would necessarily show up at that stage.  The GUI  
package installer does have a checkbox to "Install Dependencies" and I  
assume you would have gotten an informative error message had you used  
that checkbox.

I do not know if the `install.packages` command would allow you to  
specify multiple repositories in which to search if you had set  
dependencies=TRUE in the call. The help page says 'repos' needs to be  
a character vector, so maybe it would succeed.  I would not have  
expected the GUI installer to be able to do that in its current  
incarnation.

-- 
David.


> -·.  .· ·.  .><((((º>·.  .· ·.  .><((((º>·.  .· ·.  .><((((º> .··.·  
> >=-       =º}}}}}><
> Joseph G. Kunkel, Research Professor
> Center for Land-Sea Interactions
> Marine Science Center
> University of New England
> 11 Hills Beach Road
> Biddeford ME 04005
> joe at bio.umass.edu
>
>
> On Apr 7, 2013, at 6:00 AM, r-sig-mac-request at r-project.org wrote:
>
>> Re:  maptools in R 3.0.0 (Steve Lianoglou)
>
>


David Winsemius, MD
Alameda, CA, USA



More information about the R-SIG-Mac mailing list