dataMaid
dataMaid copied to clipboard
makeDataReport() and makeCodebook() freeze RStudio when complete
Each time I run one of those command a pdf is generated as it should. But my R Studio is always freezed and I have to restart a session or kill it in order to continue my work.
I'm not sure what info should I provide here, so I'll do whatever I'm asked.
> sessionInfo()
R version 3.5.2 (2018-12-20)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Manjaro Linux
Matrix products: default
BLAS/LAPACK: /opt/intel/compilers_and_libraries_2019.1.144/linux/mkl/lib/intel64_lin/libmkl_gf_lp64.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=pl_PL.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=pl_PL.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=pl_PL.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=pl_PL.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.5.2 tools_3.5.2 yaml_2.2.0
That sounds strange, thanks for notifying us of the problem. Which version of dataMaid
are you using? Does the problem also occur if you choose html output?:
makeDataReport(testData, replace = TRUE, output = "html")
What if you use pdf output but don't render the file?:
makeDataReport(testData, replace = TRUE, output = "pdf", render = FALSE)
What if you use pdf output, render the file, but don't open it?
makeDataReport(testData, replace = TRUE, output = "pdf", openResult = FALSE)
Hi.
makeDataReport(testData, replace = TRUE, output = "html")
Works as intended.
Both:
makeDataReport(testData, replace = TRUE, output = "pdf", render = FALSE)
makeDataReport(testData, replace = TRUE, output = "pdf", openResult = FALSE)
Result in the same error. In fact that was what I used in the 1st place (but I checked makeDataReport(testData, replace = TRUE)
freezes RStudio as well.
Just to be sure, is it correct that with
makeDataReport(testData, replace = TRUE, output = "pdf", render = FALSE)
you do get a .Rmd-file produced which is complete and can be rendered?
And with
makeDataReport(testData, replace = TRUE, output = "pdf", openResult = FALSE)
you do get a pdf file?
Yes, i both cases I get the file (.Rmd and / or .pdf).
I just compiled a pdf out of .Rmd.
Pdf is OK and accessible but the R session in RStudio keeps working:
Do you experience problems with rendering other rmarkdown files to pdf? E.g. the template rmarkdown file in RStudio? And if that one runs, does it also work if you add a line of LaTeX code to it, e.g., $\sum x_i$
?