reichm@@j m@iii@g oii sbcgiob@i@@et
2019-May-23 22:00 UTC
[R] cspade {arulesSequences} error
R-Help When I run the cspade function from the arulesSequences package... s1 <- cspade(trans_matrix, parameter = list(support = 0.3), control list(verbose = TRUE)) #s1 <- cspade(trans_matrix, parameter = list(support = 0.3), control list(verbose = TRUE), tmpdir = "C:\\Temp") I receive the following error . error in file (con, "r"): cannot open the connection. cannot open file 'D:\Temp\cspade13403a927eaa.out': no such file or directory now the program works just fine at home so the issue is with my work computer. I suspect its some sort of read/write issue but the functions seems to write the files out just fine then deletes them and errors out. Any suggestions Jeff Reichamn [[alternative HTML version deleted]]
> s1 <- cspade(trans_matrix, parameter = list(support = 0.3), control > list(verbose = TRUE))> error in file (con, "r"): cannot open the connection. cannot open file > 'D:\Temp\cspade13403a927eaa.out': no such file or directoryNote that you haven't provided a fully reproducible example. (As I don't know what trans_matrix is, and I'm not sure at what point the error message is generated, which is important). I installed the lasted versions of arules and arulesSequences. I tried to run one of the examples from the cspade() function's documentation. It ran without any problems. Also note the location "D:\Temp" is suspicious. This is not where I would expect temporary files to be created, and makes me suspect there's something (somewhere on your computer) that's not typical. This could include your working directory, startup script files (if any), environment variables (if any) or other parts of your R code, or any OS settings. Sorry, I know that's not the most helpful answer... [[alternative HTML version deleted]]
Antivirus checkers sometimes temporarily move new files to a "safe location" for checking. That can produce this kind of effect. -pd> On 24 May 2019, at 00:00 , reichmanj at sbcglobal.net wrote: > > R-Help > > > > When I run the cspade function from the arulesSequences package... > > > > s1 <- cspade(trans_matrix, parameter = list(support = 0.3), control > list(verbose = TRUE)) > > #s1 <- cspade(trans_matrix, parameter = list(support = 0.3), control > list(verbose = TRUE), tmpdir = "C:\\Temp") > > > > I receive the following error . > > error in file (con, "r"): cannot open the connection. cannot open file > 'D:\Temp\cspade13403a927eaa.out': no such file or directory > > > > now the program works just fine at home so the issue is with my work > computer. I suspect its some sort of read/write issue but the functions > seems to write the files out just fine then deletes them and errors out. > > > > Any suggestions > > > > Jeff Reichamn > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > 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.-- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
reichm@@j m@iii@g oii sbcgiob@i@@et
2019-May-28 10:56 UTC
[R] cspade {arulesSequences} error
Abby My code runs just fine at home but when I transfer it to work and rerun it error out at the line shown. Even errors out when I try the example sin the package documentation. So I?m pretty sure is isn?t my code but rather how our IT folks have configured our work systems. Peter Dalgaard suggested that it might be our antivirus so I will look into that. As far as the D:\Temp location I changed that from the default thinking it may have been a read/write issue with my system. Jeff From: Abby Spurdle <spurdle.a at gmail.com> Sent: Monday, May 27, 2019 8:28 PM To: reichmanj at sbcglobal.net Cc: r-help <R-help at r-project.org> Subject: Re: [R] cspade {arulesSequences} error> s1 <- cspade(trans_matrix, parameter = list(support = 0.3), control > list(verbose = TRUE))> error in file (con, "r"): cannot open the connection. cannot open file > 'D:\Temp\cspade13403a927eaa.out': no such file or directoryNote that you haven't provided a fully reproducible example. (As I don't know what trans_matrix is, and I'm not sure at what point the error message is generated, which is important). I installed the lasted versions of arules and arulesSequences. I tried to run one of the examples from the cspade() function's documentation. It ran without any problems. Also note the location "D:\Temp" is suspicious. This is not where I would expect temporary files to be created, and makes me suspect there's something (somewhere on your computer) that's not typical. This could include your working directory, startup script files (if any), environment variables (if any) or other parts of your R code, or any OS settings. Sorry, I know that's not the most helpful answer... [[alternative HTML version deleted]]