Home Comments Thread
New Thread

7 Comments

giscus-bot giscus-bot 2022-12-16 23:05:39
访客 *Puriney* @ 2013-02-18 07:42:37 写道:

手把手教你怎么写paper~~~

giscus-bot giscus-bot 2022-12-16 23:05:39
Guest *Kevin W* @ 2013-02-18 14:12:56 originally posted:

I totally agree with you about the two-column format, at least for portrait-oriented pages. Many years ago I created a three-column article in landscape mode and sent it to the editor of R News (before the R Journal) and said, look at this...you can read this on a computer without scrolling.

I assume that most R Journal readers are reading the journal on a landscape-oriented computer, so why the R Journal uses portrait mode is a mystery to me.

yihui yihui 2022-12-16 23:05:45

Actually I think most journals use the portrait mode, which is easier to read when printed on the A4/letter paper. But most computer screens are landscape-oriented. Sometimes I even want to rotate my screen by 90 degrees to read an article...

Originally posted on 2013-02-18 22:09:10

giscus-bot giscus-bot 2022-12-16 23:05:40
Guest *RobinLovelace* @ 2013-08-09 08:47:35 originally posted:

Many thanks for improving the R Journal's template style - agree makes it much easier to read. One question - who to I speak to to find out if an article is worthy of publication in the RJournal? I've a tutorial thing, based on a paper that I want to communicate more widely: http://www.sciencedirect.com/science/article/pii/S0198971513000240 Ta! robinlovelace

yihui yihui 2022-12-16 23:05:46

You can talk to the editor with at least an outline of the R Journal paper that you want to write. If it is about an R package, I'm sure it is a good place to go.

Originally posted on 2013-08-11 02:36:46

giscus-bot giscus-bot 2022-12-16 23:05:47
Guest *RobinLovelace* @ 2013-08-11 11:12:05 originally posted:

Many thanks Yihui, I'll look into it.

giscus-bot giscus-bot 2022-12-16 23:05:41
Guest *Charlie Vickery* @ 2013-12-11 03:33:00 originally posted:

Enjoying LyX with knitr. With Windows 7, I had 2 issues with RJournal.sty. I updated Miktex on Dec 10, 2013 and Miktex had intentionally dropped inconsolata.sty (used in RJournal.sty), and replaced with zi4.sty. Here is a thread: http://tex.stackexchange.com/questions/119925/inconsolata-missing-after-miktex-update/122148#122148.

Initially, LyX wouldn't find RJournal.sty no matter what I did because of a Miktex problem I had that was cured when running the easy Miktex updating process explained very well here: http://docs.miktex.org/manual/updating.html. Thanks.

giscus-bot giscus-bot 2022-12-16 23:05:42
Guest *mike* @ 2013-12-17 17:17:28 originally posted:

I had a question that's loosely related to the content here; hopefully not too off tangent.

It seems like the great workflow proposed is the following:
RJournal.sty (used as a tex template) --> Latex
RJournal.sty (converted to lyx) --> Lyx + knitr --> latex

In my similar case, I would like to use someone's JASA template
http://ib.berkeley.edu/labs/slatkin/eriq/latex/index.htm
It has 2 '.sty' files, and 1 '.bst' file

I am trying to figure out how to incorporate the two JASA '.sty' files into a single template that can be fed into pandoc to convert my markdown into a latex file that's formatted according to JASA standars

I'm thinking
.RMD --> knitr --> md --> pandoc (with JASA template) --> texfile

Or some references / links / google keywords that can point me in the right direction?

Even better, does anyone know an easy solution?

yihui yihui 2022-12-16 23:05:48

I believe that is the right way to go, although I guess there can be many minor glitches. I'm not familiar with the JASA template, so I'm not sure.

Originally posted on 2013-12-30 07:22:12

giscus-bot giscus-bot 2022-12-16 23:05:43
Guest *Wenxiao* @ 2014-06-27 04:20:29 originally posted:

Hi Yihui, I tried to edit the paragraph indent but the first paragraph is alwasy set to 0. Is it because of your .sty file?

Also, may I ask how to removed the 'ISBN' number?

Thanks

yihui yihui 2022-12-16 23:05:48

I do not think you need to worry about these two issues unless the editor has asked you to do anything about them.

Originally posted on 2014-07-06 16:13:56

giscus-bot giscus-bot 2022-12-16 23:05:44
Guest *mkrasmus* @ 2016-07-10 02:12:53 originally posted:

Hi Yihui,
Trying to get this to work by following your guide and additional guides for setting things up with MikTex. Hoping you can give some guidance on issues I'm experiencing. I'm using a Windows 10 OS, Most recent Rstudio and R version 3.3.1, Lyx 2.2.0 and MikTex 2.9.

I have installed KnitR, see 1st pic.

I have added a local tree for MikTex in my user directory ~DocumentsMy LaTeXMyLibrarytexlatexmisc, with the root ~DocumentsMy LaTeXMyLibrary.

All of which were refreshed in MikTex as required.

My Path for R is setup as well.

When I attempt to load up the Rjournal template I receive the first error message (as attached).

I download your layout file to a local user directory (by the way, I think this is getting quite ridiculous - and I'm afraid most people would turn their back on this overly complex system - that's not your fault, I know you support markdown as the alternative - but this is just insanity) as identified by Lyx:

I go to document -> settings and see that it is not picking up the 'layout' file. The layout file as already noted, is placed in the local user directory and is also in the resourceslayouts section of the Lyx directory.

More errors follow when I just try to preview in Lyx as-is - it states that it is not able to find the sty file, although as previously mentioned this was downloaded straight from your github directory to the local tree I set up.

Can you see a process error on my behalf that has prevented me to compile the rjournal template? I am very new to this but feel I have followed your guide, and the additional setup guides to get this going.

Any help warmly appreciated.

Kind regards,
Michael.

Sign in to join the discussion

Sign in with GitHub