次のようなテキスト データを含む CSV があります。
citrus fruit,semi-finished bread,margarine,ready soups
tropical fruit,yogurt,coffee
whole milk
pip fruit,yogurt,cream cheese ,meat spreads
other vegetables,whole milk,condensed milk,long life bakery product
whole milk,butter,yogurt,rice,abrasive cleaner
これをスパース トランザクション フォームにロードしたいのですが、これを行う最善の方法は何ですか? その上で arules パッケージを使用できるようにしたい