LaTeXįor producing PDF output, the typesetting system LaTeX is used internally by R/exams. In some setups (e.g., on Mac OS or when using an older version of R) it may be necessary to add the argument type = "source" to the command above.ĭetails: Several additional R packages, automatically installed by the command above, are needed for certain tasks: base64enc (HTML-based output: Base64 encoding of supplements), knitr (R/Markdown-based exercises), magick (turning LaTeX output into images, e.g., for TikZ graphics), png (NOPS exams: reading scanned PNG images), RCurl (ARSnova: posting exercises), RJSONIO (ARSnova: JSON format), rmarkdown (pandoc-based conversion), tinytex (PDF output: lightweight LaTeX distribution), tth (HTML output from R/LaTeX exercises). Stable version: install.packages("exams", dependencies = TRUE)ĭevelopment version: install.packages("exams", repos = "") If necessary, the development version of the package is also available, which may provide some new features or small improvements. It can be easily installed interactively from within R with a single command. The core of R/exams is the open-source R package “exams”, also available from CRAN. For R beginners: Go to and obtain the “Desktop” version of RStudio (Open Source Edition).Moreover, RStudio is an open-source cross-platform integrated development environment that facilitates many common tasks for R beginners. There is a wide variety of interfaces for using R including simply the shell, Emacs, or dedicated graphical user interfaces for Windows and OS X, respectively. For example, on Debian/Ubuntu: sudo apt-get install r-base-core r-base-dev Linux: While it is possible to download from CRAN by hand, it is easier for most distributions to install the packaged binary. On Windows this requires to install the Rtools and to include them in the PATH environment variable. Simply click on the link for your operating system and at least install the “base” system.įor some tasks (e.g., output for some learning management systems) it is necessary that the base R zip() function works.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |