[R] Environmental Data Connector v1.3

Nordlund, Dan (DSHS/RDA)
2015-08-03T17:44:48Z

Why are you using paste() ?  Why not just


setwd(Sys.getenv("EDC_HOME"))


Dan

Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services


-----Original Message-----
From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Robert in SA
Sent: Monday, August 03, 2015 8:12 AM
To: r-help at r-project.org
Subject: [R] Environmental Data Connector v1.3

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 at 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.