是否可以通过SML / NJ运行bash shell命令?
在Python中,它将使用像subprocess
我希望在sml脚本中使用library("tidyverse")
data(Orange)
Orange%>%
mutate(age_group=if_else(age>900,"Old",
if_else(age<900&age>250,"Adult",
if_else(age<250,"Young",""))))%>%
ggplot(aes(age_group,circumference,fill=Tree))+
geom_bar(stat="identity",position=position_dodge())+
scale_x_discrete(limits=c("Young","Adult","Old")))+
coord_flip()
。