[R] Problem plotting in R under linux (centos)

2011-06-06 Thread Roger Gill
Dear All, I am running into a slightly odd issue when attempting to produce a png/pdf file in R under centos. The version of Centos is 5.6 with an old version of R 2.12.0 (2010-10-15). My script is roughly: mydata <- read.csv(myfile) png(outfile) plot(0,0,type='n',ylim=c(-500,500),xlim=c(0

[R] Tif image to 8bit colour matrix.

2010-10-19 Thread Roger Gill
Dear listers, I have a collection of tif images that I would like to convert, in R, to a matrix containing the values of the 8bit colour. Ideally, I would like a matrix for each of the colour channels (red, blue and green). I have 'googled' and searched the help list but have yet to find a solu

[R] Creating R packages, passing by reference and oo R.

2010-04-05 Thread Roger Gill
Dear All, I would like some advice on creating R packages, passing by reference and oo R. I have created a package that is neither elegant nor extensible and rather cumbersome (it works). I would like to re write the code to make the package distributable (should it be of interest) and easy to