## also see demo(vw) from which this is a subset
library(RVowpalWabbit)
## change to 'test' directory of package
setwd( system.file("test", package="RVowpalWabbit") )
# Test 3: without -d, training only
# {VW} train-sets/0002.dat -f models/0002.model
test3 <- c("-t", "train-sets/0002.dat",
"-f", "models/0002.model")
res <- vw(test3)
res
Run the code above in your browser using DataLab