Re: [Rd] writeChar

2006-08-28 Thread Prof Brian Ripley
Given that if you specify the 'nchars' argument you are trying to do something unnatural, I don't see why you find it incorrect to get warnings about mismatches between what you supply and what you asked for, but expect one if what you supply matches what you asked for (and truncation occurs).

[Rd] writeChar

2006-08-28 Thread Kasper Daniel Hansen
I have recently been using writeChar and writeBin to write binary files. These functions makes it very easy to write OS-independent files, which I am very happy with. I have however found a few issues, best illustrated by a short example > con <- file("test", open = "wb") > writeChar(as.cha

[Rd] PATCH: Add fields argument to installed.packages and available.packages

2006-08-28 Thread Seth Falcon
Hi all, The write_PACKAGES function has a 'fields' argument that allows a user generating a PACKAGES file to specify additional fields to include. For symmetry, it would be nice for the available.packages function to be able to read those extra fields when specified. Similarly, it would be useful

Re: [Rd] [R] Bug/problem reporting: Possible to modify posting guide FAQ?

2006-08-28 Thread Robert Gentleman
Hi, I guess the question often comes down to whether it is a bug report, or a question. If you know it is a bug, and have a complete and correct example where the obviously incorrect behavior occurs and you are positive that the problem is the package then sending it to the maintainer is app

[Rd] Bug/problem reporting: Possible to modify posting guide FAQ?

2006-08-28 Thread Steven McKinney
If users post a bug or problem issue to an R-based news group (R-devel, R-help, BioC - though BioC is far more forgiving) they get yelled at for not reading the posting guide and FAQ. "Please *_do_* read the FAQ, the posting guide, ..." the yellers do say. So I read the BioC FAQ and it says...

[Rd] [WARNING: VIRUS REMOVED]Mail System Error - Returned Mail >> Message Rejected: Unauthorized File(s) (Exec) <

2006-08-28 Thread InternetGateway1
<<< This is a computer generated message >>> <<< Please do not reply to this address >>> --- >From : r-devel@stat.math.ethz.ch To : [EMAIL PROTECTED] Date : Mon, 28 Aug 2006 09:30:49 -0700

Re: [Rd] Affiliation Reporting Standards. was: Re: reshape scaling with large numbers of times/rows

2006-08-28 Thread Gabor Grothendieck
I don't think you owe anyone any explanations or descriptions of yourself. The only thing you really need to provide is a good description of any problem you post as discussed on the r-help posting guide and as discussed in the single line at the bottom of every r-help message. On 8/28/06, David

[Rd] Affiliation Reporting Standards. was: Re: reshape scaling with large numbers of times/rows

2006-08-28 Thread David Kane
After a question on R, Prof Brian Ripley writes: > However, you did not give your affiliation and I do not like giving free > consultancy to undisclosed commercial organizations. Please in future use > a proper signature block so that helpers are aware of your provenance. I have one question

Re: [Rd] [Bioc-devel] Sweave windows style path (was Re: texmf error on 7 packages on devel winXP build nodes)

2006-08-28 Thread Gabor Grothendieck
Have a look at Rfind.bat in http://cran.r-project.org/contrib/extra/batchfiles/ which uses the registry to find various software used by R. On 8/28/06, Friedrich Leisch <[EMAIL PROTECTED]> wrote: > > On Sun, 27 Aug 2006 07:45:00 -0700, > > Martin Morgan (MM) wrote: > > > [A build sys

[Rd] Adding OPeNDAP to the ncdf package on windows

2006-08-28 Thread Roy Mendelssohn
Hi: Russ Moffit of our Honolulu Lab has made a modification to the R netcdf package 'ncdf' so that it can access remote netcdf files using OPenDAP (http://www.opendap.org). The package works on Linux, and with help from Don MacQueen was also ported to Macintosh OS X. We have had a lot of dem

Re: [Rd] S4 classes and objects -- fixed structure? No...

2006-08-28 Thread Jörg Beyer
Gabor, Roger, thanks a lot for your immediate answers. Knowing that this is subject to change means a lot less coding for me :-) Good news ... for me, and first of all for the impressing S4 system. Thanks again Joerg Am 28.08.2006 16:08 Uhr schrieb Gabor Grothendieck (<[EMAIL PROTECTED]>):

[Rd] Speed of runif() on different Operating Systems

2006-08-28 Thread Martin Becker
Dear list, I have noticed surprisingly big performance differences of runif() between Windows XP and (Debian) linux on similar CPUs (Pentium D 3.0GHz (WinXP)/3.2GHz (Linux)) and I wonder if there is a simple explanation for the difference. On a linux system (with a slightly better CPU and 1GB m

Re: [Rd] [Bioc-devel] Sweave windows style path (was Re: texmf error on 7 packages on devel winXP build nodes)

2006-08-28 Thread Prof Brian Ripley
> Maybe the installer could/should create > > c:\programme\R\R-latest > > as a link to the newest installed version? Not on an OS without links I think having the correct TeX path is the user's responsibility, and suggest Sweave stops trying to be helpful. There is no guarantee that

Re: [Rd] S4 classes and objects -- fixed structure? No...

2006-08-28 Thread Roger D. Peng
I think you're right---this shouldn't happen in theory, but it does because of the internal representation of S4 objects in R. In R devel (to be 2.4.0), this changes and I believe your example will no longer work. -roger Jörg Beyer wrote: > Hello. > > Suppose you define a new S4-class, say >

Re: [Rd] S4 classes and objects -- fixed structure? No...

2006-08-28 Thread Gabor Grothendieck
Under R 2.3.1 these work as you indicate but under R 2.4.0 they all give errors: > setClass("track", representation(x="numeric", y="numeric")) [1] "track" > tr <- new( "track" ) > tr[ "ping" ] <- "pong" Error in "[<-"(`*tmp*`, "ping", value = "pong") : object is not subsettable > tr$bi

[Rd] S4 classes and objects -- fixed structure? No...

2006-08-28 Thread Jörg Beyer
Hello. Suppose you define a new S4-class, say > setClass("track", representation(x="numeric", y="numeric")) Don't worry if you have a deja vu, it's from the help page. Your new class is said to have a fixed structure: two slots, x, and y, and that should apply to all objects you construct as mem

Re: [Rd] [Bioc-devel] Sweave windows style path (was Re: texmf error on 7 packages on devel winXP build nodes)

2006-08-28 Thread Friedrich Leisch
> On Sun, 27 Aug 2006 07:45:00 -0700, > Martin Morgan (MM) wrote: > [A build system misconfiguration at Bioconductor lead to a discussion > about whether \usepackage{Sweave} should be included in .Rnw > documents. Leaving this line out causes a problem on Windows, as > indicated be

[Rd] dec (PR#9181)

2006-08-28 Thread calamusdeluxe
W a t c h o u t! ALLIANCE ENTEPRRISE (AE TR) Curernt Pirce: 0.80 Add this g e m to your wa tch list, and watc h it tard closely! Nwes Relaese! Taceorp announces breackrough in removing deadly la ndmines. Mill Valley, California August 25, 2006 - The Allaince Enetrprise Corpoartion announced

[Rd] carpenter (PR#9180)

2006-08-28 Thread dicksondisturbance
W a t c h o u t! ALLAINCE ENTERPIRSE (A ETR) Crurent Pirce: 0.80 Add this g e m to your wa tch list, and wa tch it tard closely! Nwes Reelase! Taecrop announces breackrough in removing deadly l andmines. Mill Valley, California August 25, 2006 - The Allinace Enterprsie Croporation announced

[Rd] power analysis for sample size calculations

2006-08-28 Thread Marjo en Edwin
Dear all, The existing R packages for doing power analyses (pwr, hpower) seem quite basic/limited, compared to the power analyses implemented in the UnifyPow SAS module. I wondered if there are people working on power analyses for a broader range of statistical tests than pwr and hpower cover