mhahsler / arulesviz Goto Github PK
View Code? Open in Web Editor NEWVisualizing Association Rules and Frequent Itemsets with R
Home Page: http://mhahsler.github.io/arulesViz/
Visualizing Association Rules and Frequent Itemsets with R
Home Page: http://mhahsler.github.io/arulesViz/
Hi Michael Hahslern,
thank you for your efforts to make association rules algorithms available in R with rich visualization techniques.
I used Arules and ArulViz packages many times and as I developed many shiny apps for the research tasks I faced some errors in my shiny interfaces related to the error management methods in arulesviz package the first is when there are no rules for selected itemsets, it return a stop message like this (x contains 0 rules!) for user experience is not good to show this red error especially it appear like (error:x contains 0 rules!)
if(length(x)<1) stop("x contains 0 rules!")
Maybe it will be good if it appears like this
validate( need(length(x)>1, "x contains 0 rules!") )
or
if (length(x)<1) { "x contains 0 rules!" }
Hi..I want to order Y axis of paracoord plot of some rules in which lhs and rhs both have single item.
If I give reorder=TRUE then it is ordered automatically, but I want to order the itemsest in the y axis manually. Also I can't understand how it orders the itemsets on y axis when even reorder=FALSE.
I used the code to get the results in the image:
plot(rules, method = "paracoord",shading="confidence", control = list(main=paste("Rules in ", 1965, "_",1969,sep=""), col=rev(brewer.pal(9,"Purples"))))
I want to order the y axis in this format:
HERO PAIN TRNQ INHA ECST STIM HALU CRAC COCA MARI PCP METH SEDA LSD CIGA ALCO
Hello!
First of all, thank you so much for making arulesViz
, it is a great package!
I know that I can use arulesViz
to visualize itemsets returned by arules
, but I'm wondering if I can make the same visualizations with itemsets returned by the opusminer
package? From what I can see, opusminer
returns list of itemsets quite similar in format to that returned by generatingItemsets(rules)
, but without the support parameter for each.
Thank you very much for any help!
line
km <- cutree(hclust(dist(s_clust)), h=0)
fails with error
Error in hclust(dist(s_clust)) : must have n >= 2 objects to cluster
when a minimum number of rules are not available.
We run arules in an iterative script generating knitr reports and so sometimes the cut of the data simply isn't enough. Currently we just catch the error and fall back to inspect(rules)
, but it may make sense for the package to catch the error if there are less than 2 rules.
Hi,
I failed to install arulesViz to my Manjaro OS.
There is failure info.
install.packages('arulesViz')
Installing package into ‘/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5’
(as ‘lib’ is unspecified)
also installing the dependencies ‘httpuv’, ‘shiny’, ‘later’, ‘crosstalk’, ‘promises’, ‘DT’, ‘plotly’
downloaded 1.6 MB
downloaded 2.2 MB
downloaded 37 KB
downloaded 550 KB
downloaded 104 KB
downloaded 837 KB
downloaded 1.8 MB
downloaded 764 KB
g++ -I"/usr/include/R/" -DNDEBUG -pthread -I"/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include" -I"/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include" -D_FORTIFY_SOURCE=2 -fpic -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c later_win32.cpp -o later_win32.o
g++ -I"/usr/include/R/" -DNDEBUG -pthread -I"/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include" -I"/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include" -D_FORTIFY_SOURCE=2 -fpic -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c timer_posix.cpp -o timer_posix.o
In file included from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:28,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timer_posix.h:6,
from timer_posix.cpp:6:
/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/detail/shared_count.hpp:355:33: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) )
^~~~~~~~
In file included from /usr/include/c++/8.2.0/memory:80,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:23,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timer_posix.h:6,
from timer_posix.cpp:6:
/usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here
template class auto_ptr;
^~~~~~~~
In file included from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timer_posix.h:6,
from timer_posix.cpp:6:
/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:256:65: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
^~~~~~~~
In file included from /usr/include/c++/8.2.0/memory:80,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:23,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timer_posix.h:6,
from timer_posix.cpp:6:
/usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here
template class auto_ptr;
^~~~~~~~
In file included from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timer_posix.h:6,
from timer_posix.cpp:6:
/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:471:31: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn()
^~~~~~~~
In file included from /usr/include/c++/8.2.0/memory:80,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:23,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timer_posix.h:6,
from timer_posix.cpp:6:
/usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here
template class auto_ptr;
^~~~~~~~
In file included from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timer_posix.h:6,
from timer_posix.cpp:6:
/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:484:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
shared_ptr( std::auto_ptr && r ): px(r.get()), pn()
^~~~~~~~
In file included from /usr/include/c++/8.2.0/memory:80,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:23,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timer_posix.h:6,
from timer_posix.cpp:6:
/usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here
template class auto_ptr;
^~~~~~~~
In file included from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timer_posix.h:6,
from timer_posix.cpp:6:
/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:567:34: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
shared_ptr & operator=( std::auto_ptr & r )
^~~~~~~~
In file included from /usr/include/c++/8.2.0/memory:80,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:23,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timer_posix.h:6,
from timer_posix.cpp:6:
/usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here
template class auto_ptr;
^~~~~~~~
In file included from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timer_posix.h:6,
from timer_posix.cpp:6:
/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:576:34: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
shared_ptr & operator=( std::auto_ptr && r )
^~~~~~~~
In file included from /usr/include/c++/8.2.0/memory:80,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:23,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timer_posix.h:6,
from timer_posix.cpp:6:
/usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here
template class auto_ptr;
^~~~~~~~
In file included from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timer_posix.h:6,
from timer_posix.cpp:6:
/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<Up>&&)’:
/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:578:38: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this );
^~~~~~~~
In file included from /usr/include/c++/8.2.0/memory:80,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:23,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timer_posix.h:6,
from timer_posix.cpp:6:
/usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here
template class auto_ptr;
^~~~~~~~
In file included from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/bind/mem_fn.hpp:25,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/mem_fn.hpp:22,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/function/detail/prologue.hpp:18,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/function.hpp:30,
from timer_posix.h:7,
from timer_posix.cpp:6:
/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/get_pointer.hpp: At global scope:
/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/get_pointer.hpp:48:40: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
template T * get_pointer(std::auto_ptr const& p)
^~~~~~~~
In file included from /usr/include/c++/8.2.0/memory:80,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:23,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timer_posix.h:6,
from timer_posix.cpp:6:
/usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here
template class auto_ptr;
^~~~~~~~
g++ -I"/usr/include/R/" -DNDEBUG -pthread -I"/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include" -I"/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include" -D_FORTIFY_SOURCE=2 -fpic -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c timestamp_unix.cpp -o timestamp_unix.o
In file included from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:28,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timestamp_unix.cpp:4:
/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/detail/shared_count.hpp:355:33: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
explicit shared_count( std::auto_ptr & r ): pi( new sp_counted_impl_p( r.get() ) )
^~~~~~~~
In file included from /usr/include/c++/8.2.0/memory:80,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:23,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timestamp_unix.cpp:4:
/usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here
template class auto_ptr;
^~~~~~~~
In file included from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timestamp_unix.cpp:4:
/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:256:65: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
^~~~~~~~
In file included from /usr/include/c++/8.2.0/memory:80,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:23,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timestamp_unix.cpp:4:
/usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here
template class auto_ptr;
^~~~~~~~
In file included from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timestamp_unix.cpp:4:
/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:471:31: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn()
^~~~~~~~
In file included from /usr/include/c++/8.2.0/memory:80,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:23,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timestamp_unix.cpp:4:
/usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here
template class auto_ptr;
^~~~~~~~
In file included from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timestamp_unix.cpp:4:
/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:484:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
shared_ptr( std::auto_ptr && r ): px(r.get()), pn()
^~~~~~~~
In file included from /usr/include/c++/8.2.0/memory:80,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:23,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timestamp_unix.cpp:4:
/usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here
template class auto_ptr;
^~~~~~~~
In file included from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timestamp_unix.cpp:4:
/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:567:34: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
shared_ptr & operator=( std::auto_ptr & r )
^~~~~~~~
In file included from /usr/include/c++/8.2.0/memory:80,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:23,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timestamp_unix.cpp:4:
/usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here
template class auto_ptr;
^~~~~~~~
In file included from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timestamp_unix.cpp:4:
/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:576:34: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
shared_ptr & operator=( std::auto_ptr && r )
^~~~~~~~
In file included from /usr/include/c++/8.2.0/memory:80,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:23,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timestamp_unix.cpp:4:
/usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here
template class auto_ptr;
^~~~~~~~
In file included from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timestamp_unix.cpp:4:
/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Up>&&)’:
/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:578:38: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this );
^~~~~~~~
In file included from /usr/include/c++/8.2.0/memory:80,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/smart_ptr/shared_ptr.hpp:23,
from /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include/boost/shared_ptr.hpp:17,
from timestamp.h:4,
from timestamp_unix.cpp:4:
/usr/include/c++/8.2.0/bits/unique_ptr.h:53:28: note: declared here
template class auto_ptr;
^~~~~~~~
g++ -I"/usr/include/R/" -DNDEBUG -pthread -I"/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include" -I"/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include" -D_FORTIFY_SOURCE=2 -fpic -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c timestamp_win32.cpp -o timestamp_win32.o
gcc -I"/usr/include/R/" -DNDEBUG -pthread -I"/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include" -I"/home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/BH/include" -D_FORTIFY_SOURCE=2 -fpic -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c tinycthread.c -o tinycthread.o
g++ -shared -L/usr/lib64/R/lib -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o later.so RcppExports.o callback_registry.o init.o later.o later_native.o later_posix.o later_win32.o timer_posix.o timestamp_unix.o timestamp_win32.o tinycthread.o -pthread -L/usr/lib64/R/lib -lR
installing to /home/yanboyang713/R/x86_64-pc-linux-gnu-library/3.5/later/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
sh: line 1: 1214 Aborted (core dumped) '/usr/lib64/R/bin/R' --no-save --slave 2>&1 < '/tmp/RtmprPyUaa/file4917b4aa623'
terminate called after throwing an instance of 'std::runtime_error'
what(): Mutex creation failed
ERROR: loading failed
The downloaded source packages are in
‘/tmp/RtmpwLXgnM/downloaded_packages’
I have installed version 1.3 but cannot use methods other than ‘graph’, ‘paracoord’, and ‘scatterplot’.
plot(fsets, method="matrix")
Error in plot.itemsets(fsets, method = "matrix") :
Unknown method: ‘matrix’
Available methods: ‘graph’, ‘paracoord’, ‘scatterplot’
System info:
R version 3.4.3 (2017-11-30)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.3 LTS
The following code generates a plot with wrong y-axis labels:
data <- as.data.frame(matrix(c(1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1), nrow = 5, ncol = 6, byrow = TRUE))
names(data) <- c("Bread", "Milk", "Diapers", "Beer", "Eggs", "Cola")
data <- data.frame(apply(data, 2, function(x){as.factor(x)}))
rules <- apriori(data, parameter=list(supp=0.001,conf = 0.15, minlen = 2),
appearance = list(none = c("Beer=0", "Diapers=0", "Milk=0",
"Bread=0", "Eggs=0", "Cola=0")))
plot(rules[1:30], method="paracoord", control=list(reorder=TRUE))
The reason seems to be the argument: control=list(reorder=TRUE))
as it produces different plots with different seeds. Without the argument the y-labels are correct.
Is there a way to set a limit to the color grade?
Suppose that I have 1 rule with Lift 4 but all the other around 0.7 - 1.3. I would like to display the color grade in the range 0.7-1.3.
install.packages("arulesViz")
package ‘arulesViz’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\temp\Rtmpyueznq\downloaded_packages
library(arulesViz)
Error: package or namespace load failed for ‘arulesViz’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘caTools’
Warning in install.packages :
package ‘caTools’ is not available (for R version 3.5.3)
Already using updated version of RStudio Desktop .
Please solve my query.
Thanks
plot.rules
should use the current values set by calls to the par
function, e.g., bty
and cex
.
Also being able to specify xlab
and ylab
(if only to make the first letter upper case, to be consistent with other plots).
I already tried through Rstudio install the package but there I am having this error:
Installing package into ‘/home/victor/R/x86_64-pc-linux-gnu-library/4.3’
(as ‘lib’ is unspecified)
Warning in install.packages :
dependency ‘ggraph’ is not available
trying URL 'https://mhahsler.r-universe.dev/src/contrib/arulesViz_1.5-2.tar.gz'
Content type 'application/x-gzip' length 2009313 bytes (1.9 MB)
==================================================
downloaded 1.9 MB
ERROR: dependency ‘ggraph’ is not available for package ‘arulesViz’
* removing ‘/home/victor/R/x86_64-pc-linux-gnu-library/4.3/arulesViz’
Warning in install.packages :
installation of package ‘arulesViz’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpOvtmNv/downloaded_packages’
> library(arulesViz)
Error in library(arulesViz) : there is no package called ‘arulesViz’`
and in R terminal I am facing the following error:
> install.packages("arulesViz", repos = "https://mhahsler.r-universe.dev")
Installing package into ‘/home/victor/R/x86_64-pc-linux-gnu-library/4.3’
(as ‘lib’ is unspecified)
Warning: dependencies ‘ggraph’, ‘plotly’ are not available
trying URL 'https://mhahsler.r-universe.dev/src/contrib/arulesViz_1.5-2.tar.gz'
Content type 'application/x-gzip' length 2009313 bytes (1.9 MB)
==================================================
downloaded 1.9 MB
ERROR: dependencies ‘ggraph’, ‘plotly’ are not available for package ‘arulesViz’
* removing ‘/home/victor/R/x86_64-pc-linux-gnu-library/4.3/arulesViz’
The downloaded source packages are in
‘/tmp/RtmpubqfBo/downloaded_packages’
Warning message:
In install.packages("arulesViz", repos = "https://mhahsler.r-universe.dev") :
installation of package ‘arulesViz’ had non-zero exit status
> library("arulesViz")
Error in library("arulesViz") : there is no package called ‘arulesViz’
> install.packages("arulesViz")
Installing package into ‘/home/victor/R/x86_64-pc-linux-gnu-library/4.3’
(as ‘lib’ is unspecified)
also installing the dependencies ‘curl’, ‘ggforce’, ‘httr’, ‘ggraph’, ‘plotly’
trying URL 'https://cloud.r-project.org/src/contrib/curl_5.0.1.tar.gz'
Content type 'application/x-gzip' length 714177 bytes (697 KB)
==================================================
downloaded 697 KB
trying URL 'https://cloud.r-project.org/src/contrib/ggforce_0.4.1.tar.gz'
Content type 'application/x-gzip' length 866336 bytes (846 KB)
==================================================
downloaded 846 KB
trying URL 'https://cloud.r-project.org/src/contrib/httr_1.4.6.tar.gz'
Content type 'application/x-gzip' length 157621 bytes (153 KB)
==================================================
downloaded 153 KB
trying URL 'https://cloud.r-project.org/src/contrib/ggraph_2.1.0.tar.gz'
Content type 'application/x-gzip' length 3172456 bytes (3.0 MB)
==================================================
downloaded 3.0 MB
trying URL 'https://cloud.r-project.org/src/contrib/plotly_4.10.2.tar.gz'
Content type 'application/x-gzip' length 3902837 bytes (3.7 MB)
==================================================
downloaded 3.7 MB
trying URL 'https://cloud.r-project.org/src/contrib/arulesViz_1.5-2.tar.gz'
Content type 'application/x-gzip' length 1662138 bytes (1.6 MB)
==================================================
downloaded 1.6 MB
* installing *source* package ‘curl’ ...
** package ‘curl’ successfully unpacked and MD5 sums checked
** using staged installation
Found pkg-config cflags and libs!
Using PKG_CFLAGS=-I/usr/include/x86_64-linux-gnu
Using PKG_LIBS=-lcurl
** libs
using C compiler: ‘gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0’
rm -f curl.so callbacks.o curl.o download.o escape.o fetch.o form.o getdate.o handle.o ieproxy.o init.o interrupt.o multi.o nslookup.o options.o reflist.o split.o ssl.o typechecking.o utils.o version.o winidn.o writer.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c callbacks.c -o callbacks.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c curl.c -o curl.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c download.c -o download.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c escape.c -o escape.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c fetch.c -o fetch.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c form.c -o form.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c getdate.c -o getdate.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c handle.c -o handle.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c ieproxy.c -o ieproxy.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c init.c -o init.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c interrupt.c -o interrupt.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c multi.c -o multi.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c nslookup.c -o nslookup.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c options.c -o options.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c reflist.c -o reflist.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c split.c -o split.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c ssl.c -o ssl.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c typechecking.c -o typechecking.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c utils.c -o utils.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c version.c -o version.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c winidn.c -o winidn.o
gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DSTRICT_R_HEADERS -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-1upgAf/r-base-4.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c writer.c -o writer.o
gcc -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -o curl.so callbacks.o curl.o download.o escape.o fetch.o form.o getdate.o handle.o ieproxy.o init.o interrupt.o multi.o nslookup.o options.o reflist.o split.o ssl.o typechecking.o utils.o version.o winidn.o writer.o -lcurl -L/usr/lib/R/lib -lR
installing to /home/victor/R/x86_64-pc-linux-gnu-library/4.3/00LOCK-curl/00new/curl/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (curl)
ERROR: failed to lock directory ‘/home/victor/R/x86_64-pc-linux-gnu-library/4.3’ for modifying
Try removing ‘/home/victor/R/x86_64-pc-linux-gnu-library/4.3/00LOCK-ggforce’
* installing *source* package ‘httr’ ...
** package ‘httr’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** demo
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (httr)
ERROR: dependency ‘ggforce’ is not available for package ‘ggraph’
* removing ‘/home/victor/R/x86_64-pc-linux-gnu-library/4.3/ggraph’
* installing *source* package ‘plotly’ ...
** package ‘plotly’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** demo
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (plotly)
ERROR: dependency ‘ggraph’ is not available for package ‘arulesViz’
* removing ‘/home/victor/R/x86_64-pc-linux-gnu-library/4.3/arulesViz’
The downloaded source packages are in
‘/tmp/RtmpubqfBo/downloaded_packages’
Warning messages:
1: In install.packages("arulesViz") :
installation of package ‘ggforce’ had non-zero exit status
2: In install.packages("arulesViz") :
installation of package ‘ggraph’ had non-zero exit status
3: In install.packages("arulesViz") :
installation of package ‘arulesViz’ had non-zero exit status
And when I execute:
> library("arulesViz")
It returns me the following error:
Error in library("arulesViz") : there is no package called ‘arulesViz’
This is the first package which I am facing issue, I already tried to install ggforce and ggraph and I am facing the same thing with them, I already tried to install it through:
remotes::install_github("mhahsler/arulesViz", dependencies=TRUE)
install.packages('arulesViz', repos = c('https://mhahsler.r-universe.dev', 'https://cloud.r-project.org'))
And unfortunately, they lead me to the same issue again and again I am very stuck
Noticed when trying to export rules graph to graphml file,
here is some sample code from a script with explanations:
# - Load necessary libraries and other source files
library(arulesViz)
main = function(){
print("script_main::main")
# - load data
data(Income)
# - implement association rule analysis from loaded data "Income"
data_ap = apriori(Income, parameter=list(support=0.5, minlen=2))
inspect(data_ap)
# - plot network graph with plot() function of arulesViz package
# - and save as igraph class object
graph_by_igraph = plot(data_ap, method="graph", control=list(type="items", cex=0.6, alpha=1), margin=-0.1)
# - !!!!!!!! Here you can see the error :
# - when compared to the columns in the table of inspected rules,
# - all the values are shifted up exactly by one node, resulting in
# - the item node 48 "language in home=english" having rule quality attributes
# - and the last rule node r15 not having any quality attributes
print(vertex_attr(graph_by_igraph ))
print("exiting main")
}
main()
library("devtools")
install_github("mhahsler/arulesViz")
str(allPackage <- installed.packages(.Library, priority = "high"))
allPackage [, c(1,3:5)]
Loading required package: usethis
Downloading GitHub repo mhahsler/arulesViz@master
igraph (NA -> 1.2.4.2 ) [CRAN]
htmltools (0.3.6 -> 0.4.0 ) [CRAN]
htmlwidgets (1.3 -> 1.5.1 ) [CRAN]
shiny (1.3.2 -> 1.4.0 ) [CRAN]
fastmap (NA -> 1.0.1 ) [CRAN]
BH (NA -> 1.72.0-3) [CRAN]
Installing 6 packages: igraph, htmltools, htmlwidgets, shiny, fastmap, BH
Error: Failed to install 'arulesViz' from GitHub:
(converted from warning) installation of package ‘igraph’ had non-zero exit status
Traceback:
1. install_github("mhahsler/arulesViz")
2. install_remotes(remotes, auth_token = auth_token, host = host,
. dependencies = dependencies, upgrade = upgrade, force = force,
. quiet = quiet, build = build, build_opts = build_opts, build_manual = build_manual,
. build_vignettes = build_vignettes, repos = repos, type = type,
. ...)
3. tryCatch(res[[i]] <- install_remote(remotes[[i]], ...), error = function(e) {
. stop(remote_install_error(remotes[[i]], e))
. })
4. tryCatchList(expr, classes, parentenv, handlers)
5. tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. value[[3L]](cond)
In RStudio:
> library('arulesViz')
Error: package or namespace load failed for ‘arulesViz’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘caTools’
Hello,
install.packages doesn't seem to load in all the required dependencies:
install.packages("arulesViz",dependencies = TRUE)
library(arulesViz)
throws error:
Loading required package: grid
Error: package or namespace load failed for ‘arulesViz’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘iterators’
I think some dependencies are missing, but I'm not too good at this yet:
if I manually install these: (grid, iterators, fpc), library(arulesViz) will no longer throw an error.
Thanks for your work and your time
Example:
library(arulesViz)
data(Groceries)
rules <- apriori(Groceries, parameter=list(support = 0.001, confidence = 0.8))
rules
subrules2 <- sample(subset(rules, lift > 5), 25)
# Default engine is ggplot2 with ggnetwork
plot(subrules2, method = "graph", engine = "htmlwidget")
When I try to plot rules with the graph
method, I get the following error:
Warning: Error in hex: unused argument (alpha = 1)
Stack trace (innermost first):
109: sequential_hcl
108: grey_hcl
107: as.list
106: .get_parameters
105: graph_arules
104: plot.rules
103: plot
102: renderPlot
92: <reactive:plotObj>
81: plotObj
80: origRenderFunc
79: output$graphPlot
4: <Anonymous>
3: do.call
2: print.shiny.appobj
1: <Promise>
Warning in structure(NULL, class = "try-error", condition = cond)
Calling 'structure(NULL, *)' is deprecated, as NULL cannot have attributes.
Consider 'structure(list(), *)' instead.
Or, in a simpler example
Error in hex(polarLUV(L = l[2] - diff(l) * rval^power[2], C = c[2] - diff(c) * :
unused argument (alpha = 1)
Other plot methods work fine. I use arules package 1.5-0 and arulesViz 1.2-0 in R Version 3.4.1 on an Ubuntu 14.04 machine. Does anyone have a solution?
I wan to show just a few rule consequents in the plot, so plotting the name of the itme would be great.
Is this possible? Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.