Uwe Ligges
2003-Oct-17 06:34 UTC
[R] don't display rulers in image() command and script file input
Ernie Adorio wrote:> Dear R experts, > > 1. How can I turn off the display of rulers in image() command?image(..., axes = FALSE)> 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() Uwe Ligges> 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
2003-Oct-17 06:52 UTC
[R] don't display rulers in image() command and script file input
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
Jason Turner
2003-Oct-17 17:32 UTC
[R] don't display rulers in image() command and script file input
Ernie Adorio wrote:> Dear R experts, > > 1. How can I turn off the display of rulers in image() command?Are rulers the same as axes? If so, try image(...,axes = FALSE) See example(image) for detials.> > 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 Also, see the FAQ, 7.18. Cheers Jason -- Indigo Industrial Controls Ltd. http://www.indigoindustrial.co.nz 64-21-343-545 jasont at indigoindustrial.co.nz
Ernie Adorio
2003-Oct-17 20:08 UTC
[R] don't display rulers in image() command and script file input
Dear R experts, 1. How can I turn off the display of rulers in image() command? 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? Thanks in advance, Ernesto Adorio Math Department University of the Philippines Diliman