jmv and Sweave

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
Post Reply
jantonie
Posts: 22
Joined: Tue Oct 17, 2017 11:58 am

jmv and Sweave

Post by jantonie »

Hello,

When I use the jmv library with Sweave, the pdf is not very aesthetic. How to correct this?

Thank you very much in advance for your response.

Best regard

Jantonie

###############################################################################
Example.Rwd:

\documentclass{article}

\begin{document}
\SweaveOpts{concordance=TRUE}

<<echo=FALSE>>=
library(jmv)
x <- rnorm(1000)
data <- data.frame(x)
descriptives(data=data, vars="x", box=TRUE)
@

\end{document}
###############################################################################
Attachments
Example.png
Example.png (38.72 KiB) Viewed 3180 times
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: jmv and Sweave

Post by jonathon »

hmm, this looks to be a character encoding issue... and i'd say this is probably an issue with Sweave... but i don't know a lot about Sweave. is it possible to set the encoding to UTF-8?

https://stackoverflow.com/questions/750 ... ht#7516627

there do just seem to be unpredictable encoding issues with R. i suspect if i did this on my computer it would work fine :/

i'm getting to the point where i'll probably add an 'ascii mode'. special characters like the horizontal lines we use for tables sometimes don't display properly, like here.

jonathon
jantonie
Posts: 22
Joined: Tue Oct 17, 2017 11:58 am

Re: jmv and Sweave

Post by jantonie »

The speed with which you reply impresses me! Thank you very much for your answer.

Jantonie
User avatar
MAgojam
Posts: 421
Joined: Thu Jun 08, 2017 2:33 pm
Location: Parma (Italy)

Re: jmv and Sweave

Post by MAgojam »

Hi,
with my environment and Win 7 Pro (ITA), things seem to go differently than reported by @jantonie :thinking: .

Here is the sceenshot:
Screenshot 2018-09-15 16.21.48.png
Screenshot 2018-09-15 16.21.48.png (229.34 KiB) Viewed 3150 times
I hope it can help.

Best regards.
Maurizio
Post Reply