> During installation EDC_HOME was set to /home/robert/EDC > and the directory definitely exists.
Are you sure that EDC_HOME is set now? What do you get from the following command? Sys.getenv("EDC_HOME") If that is set to something other than "", what do you get from getwd() setwd(Sys.getenv("EDC_HOME")) getwd() If it is was not set, do things work better if you first do Sys.setenv(EDC_HOME="/home/robert/EDC") Bill Dunlap TIBCO Software wdunlap tibco.com On Mon, Aug 3, 2015 at 8:12 AM, Robert in SA <ri.william...@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? > > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/Environmental-Data-Connector-v1-3-tp4710686.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.