[Rd] [Fwd: Re: [R-downunder] Beware unclass(factor)] (PR#9641)

2007-04-30 Thread r . darnell
This is a multi-part message in MIME format. --040101030901070905010208 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit The following "issue" was found using > version _ platform i386-pc-mingw3

Re: [Rd] Signature of '!' (was Problem with R-2.5.0 patched and Matrix package)

2007-04-30 Thread Prof Brian Ripley
I think I have a workaround for this in R-devel now, but obviously it will be better to change Matrix in due course. I believe this requires Matrix to be re-installed (again) under R-devel. On Sat, 28 Apr 2007, Martin Maechler wrote: >> "BDR" == Prof Brian Ripley <[EMAIL PROTECTED]> >>

Re: [Rd] pure R code package for Windows

2007-04-30 Thread Petr Savicky
> You can also use the Windows binary build and check service at > http://129.217.207.166 after reading its disclaimer... Thank you very much. This worked including generating .chm file. The resulting package is installable under R GUI on Windows XP, which is sufficient for me. Let me point out

[Rd] mirror's choice when installing a package for R-2.5.0 (PR#9643)

2007-04-30 Thread ken . mailinglist
Hello, Just a quick message to say that, --- when choosing (with or without the tcltk window) "Bern 1 (swiss)" as CRAN mirror to install a package (function install.packages) for R-2.5.0, the list of available pa

[Rd] [debug] package - Error in all.levs (PR#9638)

2007-04-30 Thread Piotr . Zuraniewski
Dear All, I encountered the following problem: fun1 <- function(x){ 2*cos(x) } >library(debug) > mtrace(fun1) > fun1(0.1) Error in all.levs[[j]] : subscript out of bounds > sessionInfo() R version 2.5.0 (2007-04-23) i386-pc-mingw32 locale: LC_COLLATE=Polish_Poland.1250;LC_CTYPE=Polish_Poland.1

Re: [Rd] pure R code package for Windows

2007-04-30 Thread Uwe Ligges
Petr Savicky wrote: >> You can also use the Windows binary build and check service at >> http://129.217.207.166 after reading its disclaimer... > > Thank you very much. This worked including generating .chm file. The resulting > package is installable under R GUI on Windows XP, which is suffici

Re: [Rd] pure R code package for Windows

2007-04-30 Thread Duncan Murdoch
On 4/29/2007 9:53 AM, Petr Savicky wrote: >> You can also use the Windows binary build and check service at >> http://129.217.207.166 after reading its disclaimer... > > Thank you very much. This worked including generating .chm file. The resulting > package is installable under R GUI on Windows

Re: [Rd] mirror's choice when installing a package for R-2.5.0 (PR#9643)

2007-04-30 Thread ligges
These are no bugs in R, but with mirrors (hence CCing to [EMAIL PROTECTED]) and with bug tracking itself (hence CCing Peter Dalgaard): 1. Unfortunately, some mirror maintainers are currently doing quite a bad job: A couple of mirrors are either out of sync or syncing incorrectly by not updatin

Re: [Rd] [debug] package - Error in all.levs (PR#9638)

2007-04-30 Thread Prof Brian Ripley
>From the FAQ: Finally, check carefully whether the bug is with R, or a contributed package. Bug reports on contributed packages should be sent first to the package maintainer, and only submitted to the R-bugs repository by package maintainers, mentioning the package in the subject li

[Rd] Cross compiling with R250

2007-04-30 Thread ernesto
Hi, I'm cross compiling win R in a linux Ubuntu Edgy and I'm getting an error with the utils package. Sys.setenv exists on my R 2.5.0 ... I'm using the tools provided for R250 in http://www.stats.ox.ac.uk/pub/Rtools/i586-cross-tools.tar.bz2 Any ideas ? Regards EJ -- Making package

[Rd] Rscript.Rd example (PR#9644)

2007-04-30 Thread S . J . Eglen
One of the examples in Rscript.Rd seems mis-formatted, in that the format statement is incomplete: ## Not run: Rscript -e 'date()' -e 'format(Sys.time(), " Both Rscript.Rd in R 2.5.0 and the version at: https://svn.r-project.org/R/trunk/src/library/utils/man/Rscript.Rd have Rscript -

[Rd] R on an IBM Blue Gene/L (BGL)?

2007-04-30 Thread Mike Hanby
Howdy, I was just wondering if anyone out there has compiled R to run on the IBM BlueGene, and if so, could they share their compilation options / configuration? I'm using the bltrs_xlc XL compilers and getting errors about cannot compute size of int, which I interpret to be a problem with

Re: [Rd] Cross compiling with R250

2007-04-30 Thread Prof Brian Ripley
You are pretty clearly not cross-compiling 'with R 2.5.0' (sic), as R 2.5.0 does contain Sys.setenv. Looks like the R on Linux you are using is not R 2.5.0, and please cross-check the instructions. This has been tested. On Mon, 30 Apr 2007, ernesto wrote: > Hi, > > I'm cross compiling win R i

[Rd] Rscript again

2007-04-30 Thread Simon Urbanek
On a similar note the example doesn't seem to work, either, due to escaping issues: $ Rscript -e 'format(Sys.time(), "%a %b %d %X %Y")' ARGUMENT '"%a' __ignored__ ARGUMENT '%b' __ignored__ ARGUMENT '%d' __ignored__ ARGUMENT '%X' __ignored__ ARGUMENT '%Y")' __ignored__ It works only if you r

Re: [Rd] Rscript.Rd example (PR#9644)

2007-04-30 Thread ripley
On Mon, 30 Apr 2007, [EMAIL PROTECTED] wrote: > One of the examples in Rscript.Rd seems mis-formatted, in that the > format statement is incomplete: > > ## Not run: > Rscript -e 'date()' -e 'format(Sys.time(), " > > Both Rscript.Rd in R 2.5.0 and the version at: > https://svn.r-project.or

Re: [Rd] Cross compiling with R250

2007-04-30 Thread ernesto
Hi, I wrongly assumed it would use R in the cross compiling directory and I did not found any reference to it on documentation. Obviously my fault, as you say. Regards EJ Prof Brian Ripley wrote: > You are pretty clearly not cross-compiling 'with R 2.5.0' (sic), as R > 2.5.0 does contain Sys

Re: [Rd] Cross compiling with R250

2007-04-30 Thread Hin-Tak Leung
ernesto wrote: > Hi, > > I wrongly assumed it would use R in the cross compiling directory and I > did not found any reference to it on documentation. Obviously my fault, > as you say. The cross-compile section of the admin manual did mention this: "You also need a working copy of this version

Re: [Rd] Cross compiling with R250

2007-04-30 Thread Prof Brian Ripley
Have you actually tried this recently? If you don't set R_EXE you get a fatal error: -- Making package base adding build stamp to DESCRIPTION /bin/sh: I failed to read the instructions to set R_EXE in MkRules: command not found And MkRules says # path (possibly full path

Re: [Rd] Cross compiling with R250

2007-04-30 Thread Hin-Tak Leung
Prof Brian Ripley wrote: > Have you actually tried this recently? If you don't set R_EXE you get > a fatal error: > > -- Making package base > adding build stamp to DESCRIPTION > /bin/sh: I failed to read the instructions to set R_EXE in MkRules: > command not found > > An

Re: [Rd] R CMD Rdconv drops sections: arguments, seealso, examples (PR#9606)

2007-04-30 Thread Bill Dunlap
On Tue, 10 Apr 2007 [EMAIL PROTECTED] wrote: > I've created a .Rd file (below), then converted that to .sgml using > R CMD Rdconv --type=Ssgm combn.Rd > combn.sgml > The output (shown below) is missing some of the sections: > arguments > seealso > examples > If instead I c

Re: [Rd] R CMD Rdconv drops sections: arguments, seealso, examples (PR#9645)

2007-04-30 Thread bill
On Tue, 10 Apr 2007 [EMAIL PROTECTED] wrote: > I've created a .Rd file (below), then converted that to .sgml using > R CMD Rdconv --type=Ssgm combn.Rd > combn.sgml > The output (shown below) is missing some of the sections: > arguments > seealso > examples > If instead I c

[Rd] Levels attribute in integer columns created by model.frame()

2007-04-30 Thread John Maindonald
The following is evidence of what is surely an undesirable feature. The issue is the handling, in calls to model.frame(), of an explanatory variable that has been derived as an unclassed factor. (Ross Darnell drew this to my attention.) ## Data are slightly modified from p.191 of MASS > worms <-

[Rd] Possible problem with S4 dispatch

2007-04-30 Thread Seth Falcon
Hi, First a bit of disclaimer... I haven't isolated this problem into an easy to reproduce case, and I won't be surprised if the root cause is a fault in my code's use of name spaces or some such. The error I'm seeing is one in which the desired method is not found. What worries me in terms of m

Re: [Rd] Levels attribute in integer columns created by model.frame()

2007-04-30 Thread Prof Brian Ripley
Stripping attributes from a column in model.frame would be highly undesirable. The mistake was using 'unclass' when the intention was to remove the levels (I presume). The new variable given is correctly reported as not matching that used during fitting. Uuse of traceback() would have shown t