[Rd] install.packages hangs RGui with frozen rpwd process at bottom of process tree (PR#13734)

2009-06-01 Thread astokes
Full_Name: Allan Stokes Version: 2.8.1 OS: XP Submission from: (NULL) (24.108.0.245) I've just spent a hellish six hours trying to create my own R package with a bare bones hello world R function inside. I was able to create a package.tar.gz file eventually with much perseverance. My

Re: [Rd] setdiff bizarre (was: odd behavior out of setdiff)

2009-06-01 Thread Jason Rupert
Jay, I really appreciate all your help help. I posted to Nabble an R file and input CSV files more accurately demonstrating what I am seeing and the output I desire to achieve when I difference two dataframes. http://n2.nabble.com/Support-SetDiff-Discussion-Items...-td2999739.html It

[Rd] LM/GLM can't find weights vector from within a function (PR#13735)

2009-06-01 Thread gaidys
Full_Name: Alberto Gaidys Version: 2.9.0 OS: Mac OS X 10.5.7 Submission from: (NULL) (201.81.185.155) When calling LM or GLM from within a function, R gives a message error that it can't find the specified weights object Erro em eval(expr, envir, enclos) : objeto 'W' não encontrado (Error in

Re: [Rd] (PR#13735) LM/GLM can't find weights vector from within a function

2009-06-01 Thread Prof Brian Ripley
This seems to be as documented. From ?lm All of 'weights', 'subset' and 'offset' are evaluated in the same way as variables in 'formula', that is first in 'data' and then in the environment of 'formula'. We don't have a reproducible example and so do not know where rFormula was

[Rd] Reshaping Data

2009-06-01 Thread Christian Morgenstern
Hi, i did a mistake with my first post. I have to reshape data from this matrix: idx1 x2 x3x4day1 day2 day3 day4 day5 day6 day7 day8 day9 10.1290.7970.2310.6154 4 1 1 1 1 3 3 3 20.4200.376

[Rd] Mistake in CP1257.enc file of grDevices package (PR#13736)

2009-06-01 Thread zemlys
Full_Name: Vaidotas Zemlys Version: 2.9.0 OS: Ubuntu 8.10 Submission from: (NULL) (213.197.173.50) Hi, This is the same bug as bug #9845. Encodings CP1257 and ISOLatin7 are used for Lithuanian and Latvian languages. They differ only by certain symbols such as quotation marks. Instead of umacron

Re: [Rd] Recommendations for a quick UI.

2009-06-01 Thread Martin Maechler
AB == Alex Bokov bo...@uthscsa.edu on Mon, 01 Jun 2009 00:24:58 -0500 writes: AB Hi. This is my first post to this list, I seem to be AB graduating to from the r-help list. :-) well AB I'm trying to wrap my R package in a GUI such that when AB the user launches the

Re: [Rd] Recommendations for a quick UI.

2009-06-01 Thread Kevin R. Coombes
Hi, The following idea only partially answers your question I have successfully written a GUI using the tcl/tk package that ships with standard R. It is then possible (in Windows) to create a shortcut icon that runs the following command: C:\R\R-2.8.1\bin\R.exe --vanilla -e

Re: [Rd] as.numeric(levels(factor(x))) may be a decreasing sequence

2009-06-01 Thread Martin Maechler
PS == Petr Savicky savi...@cs.cas.cz on Sun, 31 May 2009 10:29:41 +0200 writes: [] PS I appreciate the current version, which contains static PS const char* dropTrailing0(char *s, char cdec) ... PS mkChar(dropTrailing0((char *)EncodeReal(x, w, d, e, PS OutDec),

Re: [Rd] as.numeric(levels(factor(x))) may be a decreasing sequence

2009-06-01 Thread Wacek Kusnierczyk
Martin Maechler wrote: PS == Petr Savicky savi...@cs.cas.cz on Sun, 31 May 2009 10:29:41 +0200 writes: [] PS I appreciate the current version, which contains static PS const char* dropTrailing0(char *s, char cdec) ... PS mkChar(dropTrailing0((char

Re: [Rd] install.packages hangs RGui with frozen rpwd process at bottom of process tree (PR#13734)

2009-06-01 Thread Uwe Ligges
Uwe Ligges wrote: asto...@esica.com wrote: Full_Name: Allan Stokes Version: 2.8.1 OS: XP Submission from: (NULL) (24.108.0.245) I've just spent a hellish six hours trying to create my own R package with a bare bones hello world R function inside. I was able to create a package.tar.gz

Re: [Rd] install.packages hangs RGui with frozen rpwd process at (PR#13739)

2009-06-01 Thread ligges
Uwe Ligges wrote: asto...@esica.com wrote: Full_Name: Allan Stokes Version: 2.8.1 OS: XP Submission from: (NULL) (24.108.0.245) I've just spent a hellish six hours trying to create my own R package with a bare bones hello world R function inside. I was able to create a

[Rd] formal argument envir matched by multiple actual arguments

2009-06-01 Thread Hervé Pagès
Hi list, This looks similar to the problem reported here https://stat.ethz.ch/pipermail/r-devel/2006-April/037199.html by Henrik Bengtsson a long time ago. It is very sporadic and non-reproducible. Henrik, do you remember if your code was using reg.finalizer()? I tend to suspect it but I'm not

[Rd] reference counting bug: overwriting for loop 'seq' variable

2009-06-01 Thread William Dunlap
It looks like the 'seq' variable to 'for' can be altered from within the loop, leading to incorrect answers. E.g., in the following I'd expect 'sum' to be 1+2=3, but R 2.10.0 (svn 48686) gives 44.5. x = c(1,2); sum = 0; for (i in x) { x[i+1] = i + 42.5; sum = sum + i }; sum [1] 44.5 or,