Skip to main content

R Script Command Line Options

Usage: R [options] [<> outfile]
or: R CMD command [arguments]

Start R, a system for statistical computation and graphics, with the
specified options, or invoke an R tool via the 'R CMD' interface.

Options:

-h, --help : Print short help message and exit
--version : Print version info and exit
--encoding=ENC : Specify encoding to be used for stdin
RHOME : Print path to R home directory and exit
--save : Do save workspace at the end of the session
--no-save : Don't save it
--no-environ : Don't read the site and user environment files
--no-site-file : Don't read the site-wide Rprofile
--no-init-file : Don't read the .Rprofile or ~/.Rprofile files
--restore : Do restore previously saved objects at startup
--no-restore-data : Don't restore previously saved objects
--no-restore-history : Don't restore the R history file
--no-restore : Don't restore anything
--vanilla : Combine --no-save, --no-restore, --no-site-file, --no-init-file and --no-environ
--no-readline : Don't use readline for command-line editing
--min-vsize=N : Set vector heap min to N bytes; '4M' = 4 MegaB
--max-vsize=N : Set vector heap max to N bytes;
--min-nsize=N : Set min number of cons cells to N
--max-nsize=N : Set max number of cons cells to N
--max-ppsize=N : Set max size of protect stack to N
-q, --quiet : Don't print startup message
--silent : Same as --quiet
--slave
: Make R run as quietly as possible
--verbose
: Print more information about progress
-d, --debugger=NAME
: Run R through debugger NAME
--debugger-args=ARGS
: Pass ARGS as arguments to the debugger
-g, --gui=TYPE
: Use TYPE as GUI; possible values are 'X11'
(default), 'Tk' and (with package gnomeGUI) 'gnome'
--arch=NAME
: Specify a sub-architecture
--args
: Skip the rest of the command line
-f, --file=FILE
: Take input from 'FILE'Commands:

BATCH : Run R in batch mode
COMPILE : Compile files for use with R
SHLIB : Build shared library for dynamic loading
INSTALL : Install add-on packages
REMOVE : Remove add-on packages
build : Build add-on packages
check : Check add-on packages
LINK : Front-end for creating executable programs
Rprof : Post-process R profiling files
Rdconv : Convert Rd format to various other formats
Rd2dvi : Convert Rd format to DVI/PDF
Rd2txt : Convert Rd format to pretty text
Sd2Rd : Convert S documentation to Rd format
Stangle : Extract S/R code from Sweave documentation
Sweave : Process Sweave documentation
config : Obtain configuration information about R

Comments

Popular posts from this blog

Flex Interview Questions

1) What is Flex? Flex is used to devleop Rich Internet Application (RIA) You can both desktop & web based applicaiton.It is markup language and object-oriented languages its many syntax match with flash action script. Flex Developers use typically five distinct phases to develoep Rich Internet Application. Design Configure Build Deploy Secure 2) How do i get Page URL and Query String ? We can use mx.core.Application.application.url (mx.core)package to work with current page URL. & query string. 3) Describe flex component file types ? There are following file types we can use in flex. extension .mxml - a component implemented as an MXML file. extension .as - a component implemented as an ActionScript class. extension .swc - a SWC file contains components in a packge. 4) Difference between target & currentTarget ? target : This property is set by the dispatchEvent() method. You cannot change this to a different object. currentTarget : This property is set by component instan...

PHP Interview Questions

What are the difference between require_once and include, include_once? require_once(), include_once() both the functions include script once in file even it include many times using *_once function. require() and include() function provide facility to include file many times in script file. What is the difference between mysql_fetch_object & mysql_fetch_array? There is only difference between mysql_fetch_object() and mysql_fetch_array(). mysql_fetch_object() : it is return an object. mysql_fetch_array() : it is return an Array. In mysql_fetch_object() you can access the data by the field names whereas in mysql_fetch_array() you can access data by it's offsets. Who is the father of PHP ? Rasmus Lerdorf is know as a father of PHP. What is PHP ? PHP Hypertext Preprocessor is An open source server side scripting language/programming language used to create dynamic web pages that allows web developers to create dynamic pages that interacts with databases.

How To Change Form Action at Runtime

How to change Form action at runtime using javascript. This the example which will change html form action at runtime. CODE: 1 :   <html> 2 :   <head> 3 :   <Script Language="javascript"> 4 :   function change_action(){ 5 :   var frm_obj=document.getElementById("frm"); 6 :   frm_obj.action="http://www.google.com"; 7 :   } 8 :   </Script> 9 :   </head> 10 :   <body> 11 :   <form id="frm" action="abc.php" method="post" onsubmit="return change_action()"> 12 :   UID &nbsp;&nbsp;<input type="text"><br> 13 :   PWD <input type="Password"><br><br> 14 :   <input type="submit" value="submit"> 15 :   </form> 16 :   </body> 17 :   </html>