[R] don't display rulers in image() command and script file input

Roger Bivand Roger.Bivand at nhh.no
Fri Oct 17 08:52:48 CEST 2003


On Sat, 18 Oct 2003, Ernie Adorio wrote:

> Dear R experts,
> 
> 1. How can I turn off the display of rulers in image() command?

Set axes=FALSE in image(). In this case - as in many others - running 
example() - here example(image) - on the function does point in the right 
direction. The function help files, and especially their examples, are 
places where much wisdom is to be found!

> 
> 2. Rather than typing my commands at the command line, how can I input a
> file contents aside from doing a copy and paste operation?
> 

source() the file. On Windows, there is a menu item "Source R code" under
"File", but sourcing from the command line lets you change arguments. On
Windows you may find source(file.choose(), echo=TRUE) useful - but perhaps
turn off buffered output in the "Misc" menu first - otherwise the console
stays blank until the whole sourced file is completed. On other systems
console output is not usually buffered.

Roger Bivand

> Thanks in advance,
> 
> Ernesto Adorio
> Math Department
> University of the Philippines
> Diliman
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> 

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
e-mail: Roger.Bivand at nhh.no




More information about the R-help mailing list