[Rd] CRAN package check on MacOS: sh: line 1: gs: command not found

2009-03-04 Thread Thomas Petzoldt
Dear R developers, I recently observed a NOTE on several MaxOS X package checks: sh: line 1: gs: command not found !!! Error: Closing Ghostscript (exit status: 127)! /usr/bin/texi2dvi: thumbpdf exited with bad status, quitting. See for details: http://www.r-project.org/nosvn/R.check/r-release

Re: [Rd] CRAN package check on MacOS: sh: line 1: gs: command not found

2009-03-04 Thread Prof Brian Ripley
On Wed, 4 Mar 2009, Thomas Petzoldt wrote: Dear R developers, I recently observed a NOTE on several MaxOS X package checks: sh: line 1: gs: command not found !!! Error: Closing Ghostscript (exit status: 127)! /usr/bin/texi2dvi: thumbpdf exited with bad status, quitting. See for details: htt

Re: [Rd] Fontconfig warning with X11() on MAC OS X 10.4

2009-03-04 Thread Roger Peng
I realize this doesn't directly answer your question, but seeing as you're on a Mac, have you tried using the quartz device? -roger On Wed, Feb 25, 2009 at 10:27 AM, MerliseClyde wrote: > > I posted previously about problems with X11() on my MAC using R 2.8.1 . > After installing the securilty u

Re: [Rd] Fontconfig warning with X11() on MAC OS X 10.4

2009-03-04 Thread Simon Urbanek
On Feb 25, 2009, at 10:27 , MerliseClyde wrote: I posted previously about problems with X11() on my MAC using R 2.8.1 . After installing the securilty update for Tiger this morning, X11() now works from an xterm :-) However, I receive the following warnings with any plotting command us

Re: [Rd] Fontconfig warning with X11() on MAC OS X 10.4

2009-03-04 Thread Merlise Clyde
Thanks -- Quartz works perfectly fine under R in an xterm, so do the graphics functions in the Cairo package. I usually run R from emacs under X11 on both my MAC and linux box, so just use to the "default" graphics device opening with no problems after issuing a graphics command rather than

[Rd] "names<-" doesn't raise an error

2009-03-04 Thread hpages
Hi, When a method is not defined for an object, you expect to get an error. But this is not the case for "names<-". You can use "names<-" on any S4 object: it will remain silent, giving you the impression that it actually did something: setClass("A", representation(vals="numeric")) setMethod

[Rd] methods package

2009-03-04 Thread Terry Therneau
I'm working on the next version of coxme, one step of which is converting the bdsmatrix library from Splus to R. Actually, it is a conversion from S4 methods as first described in the Green book to S4 methods as they currently exist. Mostly it's going ok, but not entirely. 1. The biggest is

[Rd] Two documentation questions

2009-03-04 Thread Terry Therneau
1. I often like to put bits of the output into the manual pages. (We can have a discussion of the value of this elsewhere -- I think it is sometimes a good thing.) In R I need to surround these with \dontrun{} for the sake of the tester, which is fine. But the printed output contains

Re: [Rd] Two documentation questions

2009-03-04 Thread Gabor Grothendieck
Perhaps you could just place the output in comments. print(5) # 5 head(BOD, 2) # Time demand # 118.3 # 22 10.3 On Wed, Mar 4, 2009 at 8:38 PM, Terry Therneau wrote: >  1. I often like to put bits of the output into the manual pages.  (We can > have a discussion of the value of t

[Rd] patch for axis.POSIXct (related to timezones)

2009-03-04 Thread Dan Kelley
I am finding that axis.POSIXct uses the local timezone for deciding where to put tic marks, even if the data being plotted are in another time zone. The solution is to use attr() to copy from the 'x' (provided as an argument) to the 'z' (used for the 'at' locations). I have pasted my proposed s

[Rd] bug (PR#13570)

2009-03-04 Thread rhafen
<> This is a CRITICAL bug!!! I have verified it in R 2.8.1 for mac and for windows. The problem is with loess degree=0 smoothing. For example, try the following: x <- 1:100 y <- rnorm(100) plot(x, y) lines(predict(loess(y ~ x, degree=0, span=0.5))) This is obviously wrong. R 2.8 --plea

[Rd] problems with nls?

2009-03-04 Thread per243
I need to make nonlinear regression with the posterior script, but how is the problem? I have error in library (nls), package 'nls' has been merged into 'stats'. I need help? What other forms I have to make nonlinear regression? and how I find to calculate statistics y residuals, scatterplot. tha

Re: [Rd] patch for axis.POSIXct (related to timezones)

2009-03-04 Thread Prof Brian Ripley
This is the appropriate forum, and thank you for the comments. At a quick look it might be simpler to use the 'tz' argument to as.POSIXlt, but I'll look in more detail and commit a change later today. On Wed, 4 Mar 2009, Dan Kelley wrote: I am finding that axis.POSIXct uses the local timezo