Web Content Display

Web Content Display (CoastWatch User Forum)

The NOAA CoastWatch Forum provides information in several categories.  The information is relevant to CoastWatch products and software (https://coastwatch.noaa.gov)  and vary in technical details.  For questions and issues not addressed here,  start a thread in the appropriate category or contact the CoastWatch HelpDesk (coastwatch.info@noaa.gov).  Please note our Privacy Policy (https://www.noaa.gov/privacy.html) and that this is a public forum.  All information is voluntarily and anonymous submissions are accepted pending review prior to posting. 

Forums

Back

R install: plotdap, raster issues

JS
Jennifer Sevadjian, modified 3 Years ago.

R install: plotdap, raster issues

Youngling Posts: 15 Join Date: 6/13/17 Recent Posts

 

We've had a few people with plotdap errors while installing R and the required packages. There is a known issue that now has a fix. If you were receiving an error like this you can try reinstalling from CRAN per instructions below.

User Inquiry:

I have the required versions of R and Rstudio but am still running into problems to execute the test-script you provide in the course guide. More specifically R freezes after unpacking "plotdap". Prior error messages suggested I install Rtools (which I did and which let the process run a few steps further - but then R remains at "loading plotdap").

Solution:

This was stumbled on by a user  last week.  There is a problem with the 'raster' package on Windows.  'raster' is used in 'plotdap'  which is used in 'rerddapXtracto'.  The problem and fix if necessary can be found at:

https://github.com/rspatial/raster/issues/242

So if people see that error,  I would suggest as Step 1 that they try re-installing  first 'terra'  and then 'raster' from CRAN.  If that fails,  then have them do the install described above.