Re: [R] package.skeleton fails

2016-08-29 Thread Strunk, Jacob (DNR)
option like "--no-site-file" Thank you, Jacob -Original Message- From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de] Sent: Sunday, August 28, 2016 7:28 AM To: Strunk, Jacob (DNR) <jacob.str...@dnr.wa.gov>; r-help@r-project.org Subject: Re: [R] package.skeleton fails

[R] package.skeleton fails

2016-08-24 Thread Strunk, Jacob (DNR)
Hello, I have been using package.skeleton from within an lapply statement successfully (assuming good source code) with the following setup in the past: writeLines("testfun=function(){}", "c:\\temp\\testfun.r") x=try(package.skeleton("test_pack",path="c:\\temp\\tests\\",code_files=

Re: [R] interaction between clusterMap(), read.csv() and try() - try does not catch error

2016-08-08 Thread Strunk, Jacob (DNR)
Ok - got it, I can handle that. Thank you Luke! Jacob L Strunk ___ From: luke-tier...@uiowa.edu [luke-tier...@uiowa.edu] Sent: Monday, August 08, 2016 12:17 PM To: Strunk, Jacob (DNR) Cc: r-help@r-project.org Subject: Re: [R] interaction between clusterMap

[R] interaction between clusterMap(), read.csv() and try() - try does not catch error

2016-08-08 Thread Strunk, Jacob (DNR)
Hello I am attempting to process a list of csv files in parallel, some of which may be empty and fail with read.csv. I tend to use clusterMap as my go-to parallel function but have run into an interesting behavior. The behavior is that try(read.csv(x)) does not catch read errors resulting from