SEL-Columbia / networkplanner.R

Various post-processing scripts for networkplanner
1 stars 1 forks source link

PC Trainee unable write.NetworkPlan #33

Open carbz opened 10 years ago

carbz commented 10 years ago

After finally getting other NetworkPlanner functions to work, we cannot write the NetworkPlan object to the directory of interest. Permission denied? Is there a computer permission setting we should be aware of and advise useRs of?

write.NetworkPlan(np_sequenced, base_dir) Error in file(file, ifelse(append, "a", "w")) : cannot open the connection In addition: Warning message: In file(file, ifelse(append, "a", "w")) : cannot open file 'C:\Users\ANDRIAN\Downloads\2949/metrics-local-sequenced.csv': Permission denied

zmyao88 commented 10 years ago

Try a different folder that is none system related, if not then it could be caused by the fact windows uses back slash() instead slash(/) to construct file path. If so then it's a bug, raise an issue, and I'll fix it.

On Friday, March 28, 2014, Jonathan Carbajal notifications@github.com wrote:

After finally getting other NetworkPlanner functions to work, we cannot write the NetworkPlan object to the directory of interest. Permission denied? Is there a computer permission setting we should be aware of and advise useRs of?

write.NetworkPlan(np_sequenced, base_dir) Error in file(file, ifelse(append, "a", "w")) : cannot open the connection In addition: Warning message: In file(file, ifelse(append, "a", "w")) : cannot open file 'C:\Users\ANDRIAN\Downloads\2949/metrics-local-sequenced.csv': Permission denied

Reply to this email directly or view it on GitHubhttps://github.com/SEL-Columbia/networkplanner.R/issues/33 .