Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

makeDataReport() and makeCodebook() freeze RStudio when complete #39

Open
b1azk0 opened this issue Feb 5, 2019 · 6 comments
Open

makeDataReport() and makeCodebook() freeze RStudio when complete #39

b1azk0 opened this issue Feb 5, 2019 · 6 comments

Comments

@b1azk0
Copy link

b1azk0 commented Feb 5, 2019

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  
@annennenne
Copy link
Collaborator

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)

@b1azk0
Copy link
Author

b1azk0 commented Feb 5, 2019

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.

@annennenne
Copy link
Collaborator

annennenne commented Feb 6, 2019

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?

@b1azk0
Copy link
Author

b1azk0 commented Feb 7, 2019

Yes, i both cases I get the file (.Rmd and / or .pdf).

@b1azk0
Copy link
Author

b1azk0 commented Feb 7, 2019

I just compiled a pdf out of .Rmd.

Pdf is OK and accessible but the R session in RStudio keeps working:

image

@annennenne
Copy link
Collaborator

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$?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants