[R] Environmental Data Connector v1.3

Roy Mendelssohn - NOAA Federal
2015-08-03T20:38:57Z

> On Aug 3, 2015, at 8:12 AM, Robert in SA <ri.williamson at
outlook.com> wrote:
>
> Hello. I have "successfully" installed EDC v1.3 on linux ubuntu
14.04. I am
> running a 64bit machine with R 3.2.1 via Rstudio. I have tried ">
example1
> <- EDC.get(1)" after loading the ncdf and EDCR libraries, from both
the R
> terminal and Rstudio and get the following result:
>
> Error in setwd(paste(Sys.getenv("EDC_HOME"), sep = ""))
:
>  cannot change working directory
>
> During installation EDC_HOME was set to /home/robert/EDC and the directory
> definitely exists. Does anyone have any suggestions?
>
>

Bringing this back on list so that the solution is on record , the problem is
that EDC_HOME was not set when the install was done.  We are looking into
whether this is a problem with the installer.

In the meantime, if this problem pops-up again, use:

 Sys.setenv(EDC_HOME="/your/EDC/home/directory?)

Many thanks to Bill Dunlop of Tibco for help on solving this.  He also notes:

> Yes.  You can set EDC_HOME on your .Rprofile or Renviron (sp?) files.
> See help(Startup) for details.
>


-Roy


**********************
"The contents of this message do not reflect any position of the U.S.
Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
***Note new address and phone***
110 Shaffer Road
Santa Cruz, CA 95060
Phone: (831)-420-3666
Fax: (831) 420-3980
e-mail: Roy.Mendelssohn at noaa.gov www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected"
"the arc of the moral universe is long, but it bends toward justice"
-MLK Jr.