So, I recently upgraded laptops from an older (working) macbook pro to a new (and not working) one.
I suppose I’ve overlooked something terribly basic in my environment and I’m just not seeing it. Anyone?
My R install os 3.6.1 (latest)
Cairo is installed.
Latest knime 4.0.2
Have Anaconda (latest & up to date) installed.
It’s “all there” as it was on my old laptop… but…it’s not working.
B
— the error — (from examples library)
ERROR: Could not execute internal command.ERROR: R evaluation failed.: “library(‘Cairo’);options(device=‘png’,bitmapType=‘cairo’)
png(”/private/var/folders/5v/ntp79y055cx3qd0vf3y6fzmr0000gn/T/knime_02_Analyzing_Tw82164/rtmp-dialog-82171/rsnippet-plot.png",width=800.0,height=400.0)“ERROR: R evaluation failed.: “library(‘Cairo’);options(device=‘png’,bitmapType=‘cairo’)
png(”/private/var/folders/5v/ntp79y055cx3qd0vf3y6fzmr0000gn/T/knime_02_Analyzing_Tw82164/rtmp-dialog-82171/rsnippet-plot.png”,width=800.0,height=400.0)"ERROR: eval failed> library(ggplot2)
- Time = as.Date(knime.in$“Time”)
- mi = knime.in$“min”
- ma = knime.in$“max”
- Hashtag = knime.in$“Iteration”
- length(palette)
- clean_theme = theme(panel.background = element_blank(),
-
plot.title = element_text(size=20, face="bold", colour = "black"),
-
panel.border = element_rect(color = "black", linetype = "solid", fill = "transparent"),
-
axis.title.x = element_blank(),
-
axis.title = element_text(size=14, face="italic", colour = "black"),
-
axis.text = element_text(size=12, face="italic", colour = "black"),
-
axis.text.y = element_blank(),
-
legend.text = element_text(size=12, face="italic", colour = "black"),
-
panel.grid = element_blank()
- )
- #fill = scale_fill_manual(values=palette)
- legend = guides( fill = guide_legend(reverse=TRUE), color = guide_legend(reverse=TRUE))
- #lines = scale_colour_manual(values=palette)
- ribbons = geom_ribbon(aes(Time, ymin=mi, ymax=ma, group = Hashtag, color = Hashtag, fill = Hashtag))
- labels = labs(y = “Tweet Volume”)
- ggplot() + ribbons + legend + labels
-
#fill + lines ++ clean_theme
ERROR: Could not capture output of command.ERROR: R evaluation failed.: "knime.stdout.con<-textConnection(‘knime.stdout’,‘w’);knime.stderr.con<-textConnection(‘knime.stderr’,‘w’);sink(knime.stdout.con);sink(knime.stderr.con,type=‘message’)"ERROR: R evaluation failed.: "knime.stdout.con<-textConnection(‘knime.stdout’,‘w’);knime.stderr.con<-textConnection(‘knime.stderr’,‘w’);sink(knime.stdout.con);sink(knime.stderr.con,type=‘message’)"ERROR: voidEval failedERROR: Transferring the R script to R failed.ERROR: R evaluation failed.: "knime.tmp.script"ERROR: assign failedERROR: Could not capture output of command.ERROR: R evaluation failed.: "sink();sink(type=‘message’)
close(knime.stdout.con);close(knime.stderr.con)
knime.output.ret<-c(paste(knime.stdout,collapse=’\n’), paste(knime.stderr,collapse=’\n’))
knime.output.ret"ERROR: R evaluation failed.: "sink();sink(type=‘message’)
close(knime.stdout.con);close(knime.stderr.con)
knime.output.ret<-c(paste(knime.stdout,collapse=’\n’), paste(knime.stderr,collapse=’\n’))
knime.output.ret"ERROR: eval failedERROR: Could not cleanup after command execution.ERROR: R evaluation failed.: "rm(knime.tmp.ret,knime.output.ret,knime.stdout.con,knime.stderr.con,knime.stdout,knime.stderr)"ERROR: R evaluation failed.: "rm(knime.tmp.ret,knime.output.ret,knime.stdout.con,knime.stderr.con,knime.stdout,knime.stderr)"ERROR: voidEval failedERROR: Could not execute internal command.ERROR: R evaluation failed.: "dev.off()"ERROR: R evaluation failed.: "dev.off()"ERROR: eval failedERROR: Could not execute internal command.ERROR: R evaluation failed.: "ls()"ERROR: R evaluation failed.: "ls()"ERROR: eval failed