R
< Serial Programming
< Software Developement
< dchirila
Get flash to fully experience Pearltrees
Table of Contents An Introduction to R This is an introduction to R (“GNU S”), a language and environment for statistical computing and graphics. R is similar to the award-winning S system, which was developed at Bell Laboratories by John Chambers et al. It provides a wide variety of statistical and graphical techniques (linear and nonlinear modelling, statistical tests, time series analysis, classification, clustering, ...).
Kickstarting R - Writing R scripts So what is an R script? An R script is simply a text file containing (almost) the same commands that you would enter on the command line of R . (almost) refers to the fact that if you are using sink() to send the output to a file, you will have to enclose some commands in print() to get the same output as on the command line. To run a script, let's say one with the name: /home/jim/psych/adoldrug/partyuse1.R
Ingmar Visser <I.Visser@uva. nl> wrote: > Thanks, this could work! > However, the legend does not reproduce the > color/shading used in the > original > barplot, are those available somehow? > Best, Ingmar ?
R Data Import/Export This is a guide to importing and exporting data to and from R. The current version of this document is 2.15.3 (2013-03-01).
Hello, if You run R in terminal, You can type R to start the R software, then use command source("/path/to/your/script") to load the script and then You call functions from the script as usual. Optionally, You can move to the directory with script with command setwd("/path/to/the/directory"). Or, I would recommend to install Rkward ( http://rkward.sourceforge.net/ ), what is excellent graphical user interface for R. Best regards, Vojtěch Zeisek Dne Čt 18. února 2010 21:36:34 [hidden email] napsal(a): Vojtěch Zeisek
The vim R plugin for Linux/Unix was inspired by a Lisp plugin for vim and was first published on www.vim.org in July 2004. The plugin works by starting R via a perl script in an xterm. This instance of R listenes for input both directly from the xterm as well as from a pipe that you can send code to from a vim instance. Actually all the plugin does is to provide the perl script ( funnel.pl ) stemming from Larry Clapp's Lisp plugin and setting some mappings for starting such a listening R interpreter and sending code from the current vim buffer to R ( R filetype plugin ). Screenshots Here you can see my usual setup with two xterms: