Re: [Rd] png() and image()

2006-07-21 Thread Wolfgang Huber
Hi Henrik, this does not directly answer your question, but you might be able to use the function write.image in the package EBImage (Bioconductor) to write matrices into image files (e.g. PNG or JPEG), this might be more flexible and also faster than what you're trying to do. Best wishes W

Re: [Rd] [R] insert insertRow?

2006-07-21 Thread Prof Brian D Ripley
[Moved to R-devel, the appropriate list for discussing development of R.] You can do what you ask for (but micEcon does not provide) more easily and efficiently by indexing, and learning the power of R's indexing seems an important part of mastering the tool. BTW, as a data frame is thought of

Re: [Rd] png() and image()

2006-07-21 Thread Henrik Bengtsson
Hi Wolfgang, thanks for this - I took a look the EBImage webpage [http://www.ebi.ac.uk/~osklyar/projects/EBImage/] and it looks very nice. Are there any plans for Windows support too? I am looking for a cross-platform solution. Cheers Henrik On 7/21/06, Wolfgang Huber <[EMAIL PROTECTED]> wrot

Re: [Rd] png() and image()

2006-07-21 Thread Hin-Tak Leung
By changing png("large.png", height=nrow(z), width=ncol(z), bg="red") to png("large.png", height=nrow(z), width=ncol(z), bg="blue") I can get the right column (on linux) to change to blue. So it seems to be an alignment off-by-one error with the background colour showing through, so you migh

[Rd] Problems Reading from Socket

2006-07-21 Thread Mike Schaffer
My followup question went unanswered in another thread, so I thought I'd start a new one and rephrase it. I need to use CGI POST to retrieve data from a server, so thanks to Duncan's suggestion, I used the httpRequest package as example code for doing so. BUT, I have another problem. The