[R] climstats 'spatial_sync_raster' function
Jenny Williams
jenny.williams at kew.org
Fri Oct 4 16:17:15 CEST 2013
The function I have been trying to use is: spatial_sync_raster
The maintainer has let me know that this is available in his spatial.tools package, which you can get from CRAN:
install.packages("spatial.tools")
problem solved.
Thanks
jenny
-----Original Message-----
From: David Winsemius [mailto:dwinsemius at comcast.net]
Sent: 03 October 2013 20:45
To: Jenny Williams
Cc: Prof Brian Ripley; r-help at r-project.org
Subject: Re: [R] climstats
On Oct 3, 2013, at 10:00 AM, Jenny Williams wrote:
> 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"
I was going to say a case offailing to load the package but you say that you got information from
?spatial_sync_raster # be sure to check exact spelling
.. so that seems unlikely. (You are asked to show sessionInfor and the exact code which you have failed to provide.) Maybe you should ask the package maintainer. Type:
maintainer("climstats")
--
David
>
> 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/kppco
>>>> nt_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/kppco
>>>> nt_060602.pdf>
>>>>
>>>>
>
David Winsemius
Alameda, CA, USA
More information about the R-help
mailing list