我正在使用R中的tidyquery库在我的dataframe上运行SQL查询。我希望保留类别的现有条件,但在结束日期添加一个介于“2021-01-01”和“2021-01-31”之间的Actual date。SUM (Quantity) AS items_purchased FROM data`Actualdate`>= '2
我想使用file.R执行一个脚本Rscript。在file.R中,我使用包dplyr。如果我没有在批处理文件中指定任何选项,那么一切都正常,因为file.R包括行library(dplyr)。2>&1# 2) specification of packages utils in the batch file