[Rd] png() and image()

2006-07-20 Thread Henrik Bengtsson
Hi, I try to create PNG images of a certain size where each pixel intensity corresponds to exactly one probe signal in an Affymetrix array. I try to use png() and image() with zero margins to do this. Example: z <- matrix(1:15, nrow=45, ncol=30) png("large.png", height=nrow(z), width=ncol(z), b

Re: [Rd] DESCRIPTION and PACKAGES files.

2006-07-20 Thread Seth Falcon
[EMAIL PROTECTED] (Allen S. Rout) writes: > Prof Brian Ripley <[EMAIL PROTECTED]> writes: > >> And that is the reason: everyone who downloads pays the price for unneeded >> fields in that file. It was a deliberate decision to minimize download >> times, which are already substantial for people

Re: [Rd] How do I modify an exported function in a locked environment?

2006-07-20 Thread Gabor Grothendieck
As others have mentioned its not really a good idea to modify the namespace of a package and writing a wrapper as Duncan suggested is much preferable. An intermediate approach that is not as good as the wrapper but better than modifying the namespace is to copy the objects of interest to your work

Re: [Rd] How do I modify an exported function in a locked environment?

2006-07-20 Thread Prof Brian Ripley
Please do not post to multiple lists: I have removed R-help. On Thu, 20 Jul 2006, Steven McKinney wrote: > Running R.app on Mac OS X 10.4 > > I am trying to learn how to modify functions > in a locked environment. This is deliberately hard. > For an example, suppose I'm using the package "zoo"

Re: [Rd] DESCRIPTION and PACKAGES files.

2006-07-20 Thread Allen S. Rout
Prof Brian Ripley <[EMAIL PROTECTED]> writes: > And that is the reason: everyone who downloads pays the price for unneeded > fields in that file. It was a deliberate decision to minimize download > times, which are already substantial for people on a dialup connection. OK, that meets the defin

Re: [Rd] DESCRIPTION and PACKAGES files.

2006-07-20 Thread Prof Brian Ripley
On Thu, 20 Jul 2006, Allen S. Rout wrote: > > Greetings; I'm working on translating the heirarchy of R packages into > the Gentoo Ebuild environment, currently working from a 2.3.1 install. > > There are several data which it would be nice to see provided > alongside the existing output of avail

[Rd] How do I modify an exported function in a locked environment?

2006-07-20 Thread Steven McKinney
Running R.app on Mac OS X 10.4 > version _ platform powerpc-apple-darwin8.6.0 arch powerpc os darwin8.6.0 system powerpc, darwin8.6.0 status maj

[Rd] DESCRIPTION and PACKAGES files.

2006-07-20 Thread Allen S. Rout
Greetings; I'm working on translating the heirarchy of R packages into the Gentoo Ebuild environment, currently working from a 2.3.1 install. There are several data which it would be nice to see provided alongside the existing output of available.packages; at the moment I think I'm going to have

Re: [Rd] [R] Continuation and parse

2006-07-20 Thread Prof Brian Ripley
The issue here is that the current expression is still there and protected if there is a parse problem. So you need one more unprotect. This does not give a problem in source() (the only internal use) as it throws an error in those cases. (It also uses a different branch of the code with n <

Re: [Rd] Post CGI forms with built-in R function?

2006-07-20 Thread Mike Schaffer
Thanks Duncan. I figured there was some limit. Your suggestion to check out the httpRequest code has me headed in the right direction, but I am having problems with the data returned from the socketConnection. Some of the returned data appears to improperly decoded. I don't know if I've s

Re: [Rd] Post CGI forms with built-in R function?

2006-07-20 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There is a hard coded limit of 4096 characters in RxmlNanoHTTPScanURL and other ScanURL routines in nanohttp.c and nanoftp.c. And your URI is 5138 and so walks past the bounds of the array of length 4096. I am not yet convinced that it is worthwhil