[R] CSPADE error: system invocation error

2013-08-02 Thread Cen Guo
Hi Sue  Michael,

I'm running into the same situation, i first tried everything with my own
data and it didn't work, and then i tried with zaki.txt and i got the same
error
Here is my sessioninfo:
 sessionInfo()
R version 3.0.1 (2013-05-16)
Platform: i386-w64-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=French_France.1252  LC_CTYPE=French_France.1252
LC_MONETARY=French_France.1252 LC_NUMERIC=C
[5] LC_TIME=French_France.1252

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base

other attached packages:
[1] arulesSequences_0.2-4 arules_1.0-14 Matrix_1.0-12
lattice_0.20-15

loaded via a namespace (and not attached):
[1] grid_3.0.1  tools_3.0.1

Have you guys resolved the problem? Do you know where does it come from?
Thank you in advance,
Cen

-- 


 

Privileged/Confidential Information may be contained in this message. If
you are not the addressee indicated in this message, you should destroy
this message. For more information on WPP's business ethical standards
and corporate responsibility policies, please refer to WPP's website.

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
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.


[R] CSPADE error: system invocation error

2012-04-03 Thread Sue Xu
Hi,

I am trying to use the CSPADE function as part of the ArulesSequences package. 
When running with my own data I get a system invocation error, and also get the 
same when running the built in example with the zaki data:

 example(cspade)

And get the following error:

preprocessing ...Error in cspade(zaki, parameter = list(support = 0.4), control 
= list(verbose = TRUE)) : 
  system invocation failed

I read on a site saying that this error comes up when the support specified is 
too high, however I don't think this should happen with the example? Tried with 
support = 1e-10 anyway and the same error pops up.

I am running R 2.14.2 32-bit in Windows 7... but also downloaded 64-bit and the 
same error comes up. Have checked the package requirements and all seem to be 
okay. I have used the read_baskets function and it works fine.

Any help would be greatly appreciated

Regards
Sue


This e-mail, including attachments, is intended for the person(s) or company 
named and may contain confidential and/or legally privileged information. 
Unauthorised disclosure, copying or use of this information may be unlawful and 
is prohibited. If you are not the intended recipient, please delete this 
message and notify the sender.
__
R-help@r-project.org mailing list
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.


Re: [R] CSPADE error: system invocation error

2012-04-03 Thread R. Michael Weylandt
It works fine for me: can you give sessionInfo()?

Michael

On Tue, Apr 3, 2012 at 9:27 PM, Sue Xu sue...@hollard.com.au wrote:
 Hi,

 I am trying to use the CSPADE function as part of the ArulesSequences 
 package. When running with my own data I get a system invocation error, and 
 also get the same when running the built in example with the zaki data:

 example(cspade)

 And get the following error:

 preprocessing ...Error in cspade(zaki, parameter = list(support = 0.4), 
 control = list(verbose = TRUE)) :
  system invocation failed

 I read on a site saying that this error comes up when the support specified 
 is too high, however I don't think this should happen with the example? Tried 
 with support = 1e-10 anyway and the same error pops up.

 I am running R 2.14.2 32-bit in Windows 7... but also downloaded 64-bit and 
 the same error comes up. Have checked the package requirements and all seem 
 to be okay. I have used the read_baskets function and it works fine.

 Any help would be greatly appreciated

 Regards
 Sue


 This e-mail, including attachments, is intended for the person(s) or company 
 named and may contain confidential and/or legally privileged information. 
 Unauthorised disclosure, copying or use of this information may be unlawful 
 and is prohibited. If you are not the intended recipient, please delete this 
 message and notify the sender.
 __
 R-help@r-project.org mailing list
 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.

__
R-help@r-project.org mailing list
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.


Re: [R] CSPADE error: system invocation error

2012-04-03 Thread R. Michael Weylandt michael.weyla...@gmail.com
I'm heading to bed now but will try to get a look at this in the morning - 
forwarding this to R-help so others have a chance of getting to it before me. 
(Particularly those who know the package better than me)

Michael

On Apr 4, 2012, at 12:44 AM, Sue Xu sue...@hollard.com.au wrote:

 Hi Michael,
 
 sessionInfo below
 
 Cheers
 Sue
 
 sessionInfo()
 R version 2.14.2 (2012-02-29)
 Platform: i386-pc-mingw32/i386 (32-bit)
 
 locale:
 [1] LC_COLLATE=English_Australia.1252  LC_CTYPE=English_Australia.1252   
 [3] LC_MONETARY=English_Australia.1252 LC_NUMERIC=C  
 [5] LC_TIME=English_Australia.1252
 
 attached base packages:
 [1] stats graphics  grDevices utils datasets  methods   base 
 
 other attached packages:
 [1] arulesSequences_0.2-1 arules_1.0-7  Matrix_1.0-4 
 [4] lattice_0.20-0   
 
 loaded via a namespace (and not attached):
 [1] grid_2.14.2  tools_2.14.2
 
 -Original Message-
 From: R. Michael Weylandt [mailto:michael.weyla...@gmail.com] 
 Sent: Wednesday, 4 April 2012 2:35 PM
 To: Sue Xu
 Cc: r-help@r-project.org
 Subject: Re: [R] CSPADE error: system invocation error
 
 It works fine for me: can you give sessionInfo()?
 
 Michael
 
 On Tue, Apr 3, 2012 at 9:27 PM, Sue Xu sue...@hollard.com.au wrote:
 Hi,
 
 I am trying to use the CSPADE function as part of the ArulesSequences 
 package. When running with my own data I get a system invocation error, and 
 also get the same when running the built in example with the zaki data:
 
 example(cspade)
 
 And get the following error:
 
 preprocessing ...Error in cspade(zaki, parameter = list(support = 0.4), 
 control = list(verbose = TRUE)) :
  system invocation failed
 
 I read on a site saying that this error comes up when the support specified 
 is too high, however I don't think this should happen with the example? 
 Tried with support = 1e-10 anyway and the same error pops up.
 
 I am running R 2.14.2 32-bit in Windows 7... but also downloaded 64-bit and 
 the same error comes up. Have checked the package requirements and all seem 
 to be okay. I have used the read_baskets function and it works fine.
 
 Any help would be greatly appreciated
 
 Regards
 Sue
 
 
 This e-mail, including attachments, is intended for the person(s) or company 
 named and may contain confidential and/or legally privileged information. 
 Unauthorised disclosure, copying or use of this information may be unlawful 
 and is prohibited. If you are not the intended recipient, please delete this 
 message and notify the sender.
 __
 R-help@r-project.org mailing list
 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.
 
 
 This e-mail, including attachments, is intended for the person(s) or company 
 named and may contain confidential and/or legally privileged information. 
 Unauthorised disclosure, copying or use of this information may be unlawful 
 and is prohibited. If you are not the intended recipient, please delete this 
 message and notify the sender.
 
 

__
R-help@r-project.org mailing list
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.


Re: [R] cspade error

2011-10-10 Thread lenp
That's a very late answer, but I just ran into the same problem and thought
maybe someone else (someone browsing the archives, for instance) would
appreciate a tip. There are maybe empty lines in your data file
file_name.txt. If you remove them, or remove the corresponding
transactions in data_ex, it should work (at least, it works for me). 

--
View this message in context: 
http://r.789695.n4.nabble.com/cspade-error-tp3774834p3889448.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
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.


[R] cspade error

2011-08-28 Thread J Reps
Hi,

I'm using the cspade function from the arulesSequences package on linux and
keep getting the error:
Error in makebin(data, file) : 'sid' invalid

any information on how to solve this would be much appreciated.

Thanks. 
 

--
View this message in context: 
http://r.789695.n4.nabble.com/cspade-error-tp3774834p3774834.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
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.


Re: [R] cspade error

2011-08-28 Thread J Reps
I have a vector with entries like 1,1,2,item1,item2 or 1,2,1,item1 that I
save as file_name.txt and then is transformed into a transaction by
calling: 

data_ex - read_baskets(file_name.txt, sep=,, info=
c(eventID,sequenceID,SIZE)) 

as the first first three parts of the entry correspond to the eventID (my
customer number), the sequenceID (1 means the first shop for that customer,
2 the second and so on) and the SIZE (the number of items).

Then I create the inputs for the cspade function:

p - as(list(support=0.8), SPparameter)
q - as(list(verbose = TRUE, memsize=3000), SPcontrol)

and finally I call cspade:

cspade(data_ex, parameter = p, control = q, tmpdir = tempdir())



--
View this message in context: 
http://r.789695.n4.nabble.com/cspade-error-tp3774834p3774955.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
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.