差分

この文書の現在のバージョンと選択したバージョンの差分を表示します。

この比較画面にリンクする

memo:r:sweave [2013/07/11 07:38]
hasegawa
memo:r:sweave [2016/07/17 04:22]
ライン 1: ライン 1:
-Sweave 
-{{tag>R LaTeX windows osx}} 
- 
-# Sweaveに関するメモ 
- 
-参考URL:http://​qh73xe.sakura.ne.jp/​wordpress/?​p=72 
- 
-## 設定 
-環境はMac OSX 10.8.4 
- 
-### TeX本体 
- 
-MacTeX2013を http://​oku.edu.mie-u.ac.jp/​~okumura/​texwiki/?​Mac に従って設定 
- 
-### Rstudio 
- 
-  * Program defaults 
-    * Weave Rnw files using: Sweave 
-    * Typeset LaTeX into PDF using: XeLaTeX 
-  * LaTeX editing and compilation は全てチェックを入れる 
-  * PDF preview 
-    * Preview は System Viewer 
-    * Always enable Rnw concordance もチェックを入れる 
- 
-## 実行例 
- 
-``` 
-\documentclass{article} 
-\usepackage{fontspec} 
- 
-\title{タイトル} 
-\author{著者} 
- 
-\begin{document} 
-\SweaveOpts{concordance=TRUE} 
-\fontspec{HiraMinPro-W3} 
- 
-\maketitle 
-Sweaveで日本語 
-<<>>​= 
-data <- iris 
-@ 
-\begin{center} 
-<<fig = TRUE, echo = FALSE>>​= 
-plot(data[,​1:​2]) 
-@ 
-\end{center} 
-\end{document} 
-``` 
  
memo/r/sweave.txt · 最終更新: 2016/07/17 04:22 (外部編集)
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0

- Rental Orbit Space -