我在" R片段"中收到错误虽然它在RStudio中完美运行:
Error: lazy-load database 'P' is corrupt
In addition: Warning messages:
1: restarting interrupted promise evaluation
2: internal error -3 in R_decompress1
这是在RStudio中有效但不在Knime中的代码。
install.packages("stringr")
library(stringr)
bad_text = c("This", " example ", "has several ", " whitespaces ")
# remove whitespaces on the left side
str_trim(bad_text, side = "left")`
如何追踪此错误的来源?
谢谢!
答案 0 :(得分:2)
简单地重启Knime已经为我解决了这个问题。