Re: [Rd] Typo in help(parse_Rd, package="tools")

2009-10-27 Thread Duncan Murdoch
On 26/10/2009 10:44 PM, Henrik Bengtsson wrote: Under See Also in help(parse_Rd, package="tools") it says: Rd2HTML for the converters that use the output of parseRd. Should be "parse_Rd" not "parseRd". Thanks, fixed. Duncan Murdoch sessionInfo() R version 2.10.0 Patched (2009-10-26 r502

[Rd] Me or a bug? Package Install does not unzip (PR#14026)

2009-10-27 Thread j . burke
Today I installed R 2.10.0 1. I try to download maptools again. 2. Downloads to a temp subdirectory somewhere. > utils:::menuInstallPkgs() trying URL 'http://cran.cnr.Berkeley.edu/bin/windows/contrib/2.10/maptools_0.7-26.zip' Content type 'application/zip' length 1038205 bytes (1013 Kb) open

Re: [Rd] R CMD check: Error in .C

2009-10-27 Thread Etienne Laliberté
Many thanks Mathieu, following your answer I did a bit more focused research and found out that because "mypackage" had a NAMESPACE, I had to create the following zzz.R file instead: .onLoad <-function (lib, pkg) { library.dynam("mypackage", pkg, lib) } I then had a look in "Writing R extensi

Re: [Rd] R CMD check: Error in .C

2009-10-27 Thread Friedrich Leisch
[ Note that this discussion really belongs to r-help, not r-devel, but a nyway. > On Tue, 27 Oct 2009 09:02:12 +1300, > Etienne Laliberté (EL) wrote: > Many thanks Mathieu, following your answer I did a bit more focused > research and found out that because "mypackage" had a NAMESPAC

Re: [Rd] Me or a bug? Package Install does not unzip (PR#14026)

2009-10-27 Thread Duncan Murdoch
On 27/10/2009 3:10 AM, j.bu...@earthlink.net wrote: Today I installed R 2.10.0 1. I try to download maptools again. 2. Downloads to a temp subdirectory somewhere. > utils:::menuInstallPkgs() trying URL 'http://cran.cnr.Berkeley.edu/bin/windows/contrib/2.10/maptools_0.7-26.zip' Content typ

[Rd] R on maemo

2009-10-27 Thread Juha Vierinen
Has anyone tried to compile R on the Nokia maemo platform? I've been thinking about buying the n900 phone when it comes out, but I guess the main selling point would be a possibility to run R on it. I've read some rumors that it is based on debian, and that it can run X11 apps. In theory, you would

[Rd] recover and "called from" information

2009-10-27 Thread Romain Francois
Hello, When using recover, the called from information is always "eval(expr, envir, enclos)", which is not particularly useful. > f <- function( ){ g <- function(){ stop( "ouch") }; g() } > options( error = recover ) > f() Error in g() : ouch Enter a frame number, or 0 to exit 1: f() 2: g()

Re: [Rd] R on maemo

2009-10-27 Thread Simon Urbanek
On Oct 27, 2009, at 12:13 , Juha Vierinen wrote: Has anyone tried to compile R on the Nokia maemo platform? I've been thinking about buying the n900 phone when it comes out, but I guess the main selling point would be a possibility to run R on it. I've read some rumors that it is based on

Re: [Rd] odd evaluation within correlation argument of glmmPQL

2009-10-27 Thread Ben Bolker
Ben Bolker wrote: > > > [snip] > > It appears that glmmPQL looks in the global workspace, not > within the data frame specified by the "data" argument, for > the variables specified in the "form" argument of spatial > correlation structures provided to the "correlation" argument. > > [sni

[Rd] inaccurate integer conversion in coercion

2009-10-27 Thread Hervé Pagès
Hi, > as.integer(100) # 10 billions [1] NA Warning message: NAs introduced by coercion > as.integer(-100) # minus 10 billions [1] NA Warning message: NAs introduced by coercion > as.integer("100") # 10 billions as a string [1] 2147483647 Warning message: inaccurate in