read_csv fails to load input.csv file

16 views
Skip to first unread message

Sree Vaddi

unread,
Jun 25, 2019, 10:59:50 PM6/25/19
to Renjin
scriptEngine.eval("library(readr)");
scriptEngine
.eval("customerData <- read_csv(\"src/main/resources/input.csv\")");



input
.csv

A
,B,C
1,x,2.0
2,y,1.0





EEK
! colSums.computeMeans() called through getElementAsDouble()
EEK
! colSums.computeMeans() called through getElementAsDouble()
1173 [main] ERROR com.fps.core.FilterMaker - failed! org.renjin.eval.EvalException: could not find function 'OlsonNames'
 at org
.renjin.eval.Context.evaluateFunction(Context.java:433)
 at org
.renjin.eval.Context.evaluateCall(Context.java:400)
 at org
.renjin.eval.Context.evaluate(Context.java:282)
 at org
.renjin.sexp.Promise.doEval(Promise.java:92)



Created Issue:
Reply all
Reply to author
Forward
0 new messages