[R] climstats

Jenny Williams jenny.williams at kew.org
Thu Oct 3 19:00:36 CEST 2013


It seems to load now on 3.0.2 32bit and 64bit but NOT 3.0.1. 
install.packages("climstats", repos="http://R-Forge.R-project.org", type="source")

I did have to manually install some of the dependencies.
There were 2 of us that tried loading climstats on different machines so there must have been a blip with our firewall or something.

Now that I have climstats loaded the function I am trying to use doesn't work. 
I can bring up the help file:
?spatial_sync_raster

but I get this error when I try to use the function:
Error: could not find function "spatial_sync_raster"

On Sep 30, 2013, at 10:39 AM, Prof Brian Ripley wrote:

> On 30/09/2013 18:19, David Winsemius wrote:
>> 
>> On Sep 30, 2013, at 3:25 AM, Jenny Williams wrote:
>> 
>>> I have been trying to download the climstats package:
>>> https://r-forge.r-project.org/R/?group_id=861
>>> 
>>> but it doesn't seem to run on R 3.0.2 or 3.0.1
>> 
>> What makes you say this? What errors are reprorted? ("Doesn't seems to run" is a bit vague.)
>> 
>>> and the zipfile is empty.
>> 
>> I was able to install version 1.0 from sources with:
>> 
>> install.packages("climstats", repos="http://R-Forge.R-project.org", type="source")
>> 
>> (I agree that the zipfile for Windows was not found.)
>> 
>> R version 3.0.1 Patched (2013-07-23 r63392) Running Mac OS 10.7.5. It appears to require a fair number of external package, so you would need to check the Depends in the description file.
>> 
>> Depends: R (>= 2.13), raster, rgdal, chron, zoo, sp, ncdf, R.utils
>> 
>> It did not appear to do any C or Fortran compiling, so I think that means you do not need to have RTools installed on Windows.
>> 
>> But since it requires rgdal, you would need to have GDAL installed if you were to get it to load.
> 
> Why do you say that?  On both Windows and OS X, GDAL is part of the rgdal binary.

My error apparently. I have in the past had incorrect installations of GDAL that prevented rgdal from loading properly and my sometimes fuzzy memory was that I fixed this by reinstalling GDAL. So I thought they were independent installations. Apologies for the noise.

-- 
David.


> 
>> 
>>> 
>>> Does anyone know the status of this package or where I can download it.
>>> 
>>> Thanks
>>> 
>>> ******************
>>> Jenny Williams
>>> Spatial Information Scientist, GIS Unit
>>> Herbarium, Library, Art & Archives Directorate
>>> Royal Botanic Gardens, Kew
>>> Richmond, TW9 3AB, UK
>>> 
>>> Tel: +44 (0)208 332 5277
>>> email: jenny.williams at kew.org<mailto:jenny.williams at kew.org>
>>> ******************
>>> 
>>> Film: The Forgotten Home of Coffee - Beyond the Gardens<http://www.youtube.com/watch?v=-uDtytKMKpA&sns=tw>
>>> Stories: Coffee Expedition - Ethiopia<http://storify.com/KewGIS/coffee-expedition-ethiopia>
>>>             Blog: Discovering Coffee in Ethiopia    <http://www.kew.org/news/kew-blogs/incrEdibles-food-blog/discovering-coffee.htm>
>>>             Kew in Harapan Rainforest Sumatra<http://storify.com/KewGIS/kew-in-harapan-rainforest>
>>> Articles: Seeing the wood for the trees<http://www.kew.org/ucm/groups/public/documents/document/kppcont_060602.pdf>
>>> How Kew's GIS team and South East Asia botanists are working to help conserve and restore a rainforest in Sumatra. Download a pdf of this article here.<http://www.kew.org/ucm/groups/public/documents/document/kppcont_060602.pdf>
>>> 
>>> 
>>> ________________________________
>>> The Royal Botanic Gardens, Kew is a non-departmental public body with exempt charitable status, whose principal place of business is at Royal Botanic Gardens, Kew, Richmond, Surrey TW9 3AB, United Kingdom.
>>> 
>>> The information contained in this email and any attachments is intended solely for the addressee(s) and may contain confidential or legally privileged information. If you have received this message in error, please return it immediately and permanently delete it. Do not use, copy or disclose the information contained in this email or in any attachment.
>>> 
>>> Any views expressed in this email do not necessarily reflect the opinions of RBG Kew.
>>> 
>>> Any files attached to this email have been inspected with virus detection software by RBG Kew before transmission, however you should carry out your own virus checks before opening any attachments. RBG Kew accepts no liability for any loss or damage which may be caused by software viruses.
>>> 
>>> 	[[alternative HTML version deleted]]
>>> 
>>> ______________________________________________
>>> R-help at 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.
>> 
>> David Winsemius
>> Alameda, CA, USA
>> 
>> ______________________________________________
>> R-help at 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.
>> 
> 
> 
> -- 
> Brian D. Ripley,                  ripley at stats.ox.ac.uk
> 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

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list