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

RE: Allison Cusick - R code help

U
Anonymous, modified 3 Years ago.

Allison Cusick - R code help

Hello, I have a question about the R code for the rerddapXtracto ... I have the latest version of RStudio Desktop 1.4.1106 and R 3.6.3 GUI on my laptop. I keep trying to run the R Script code from the tutorial and get this error: 

Error in rxtracto_3D(dataInfo, parameter, xcoord = xcoord, ycoord = ycoord,  :   could not find function "rxtracto_3D" > install.packages("rerddapXtracto", dependencies = TRUE) Warning in install.packages :   package ‘rerddapXtracto’ is not available (for R version 3.6.3) 

Probably a simple thing I'm not noticing in the code or my software. Is there something obvious I'm missing? 

 

Thank you so much! 

 

CW
Cara Wilson, modified 3 Years ago.

RE: Allison Cusick - R code help

Youngling Posts: 41 Join Date: 6/12/17 Recent Posts

Alison - 

As we specified on the software requirements page you need to have a version of R installed that is V4 or later, so your old version of R (3.6.3) is the issue.   Before you upgrade you should check out this post on a procedure that outlines how to easily reinstall all your libraries after an R upgrade (thanks to Roy for the link)  

https://www.r-bloggers.com/2020/04/updating-to-4-0-0-on-macos/

Cara