在Jasper Studio 6.1.1 final中,每次保存报告文件时,时间戳注释都会添加到jrxml文件中,如下所示:
df2 <- na.omit(data.frame(x,y))
plot(y~x,df2)
当您使用SVN或Git等版本系统时,此行为很烦人,因为它无意地将文件标记为提交暂挂(如果未进行任何实际更改)。
答案 0 :(得分:1)
菜单y <- y[!is.na(x)]
x <- x[!is.na(x)]
- &gt; <!-- Created with Jaspersoft Studio version 6.1.1.final using JasperReports Library version 6.1.1 -->
<!-- 2016-07-22T15:29:22 -->
- &gt; Windows
:取消选中Preferences
选项。
在较新版本的Jaspersoft Studio中,您可能需要在Jaspersoft Studio
选项后单击Add timestamp information when saving the JRXML file
选项(我现在无法对此进行测试)。