Re: [Rd] legitimate use of :::

2013-08-22 Thread Gabor Grothendieck
If ::: is disallowed then its likely that package developers will need to export more functions to satisfy the consumers of those otherwise hidden functions but if more functions are exported then there will be a greater likelihood of conflicts among packages. The problem seems to be that there

Re: [Rd] legitimate use of :::

2013-08-22 Thread Gabor Grothendieck
is importFrom() and it should be used. On Aug 22, 2013, at 6:27 PM, Gabor Grothendieck ggrothendi...@gmail.com wrote: If ::: is disallowed then its likely that package developers will need to export more functions to satisfy the consumers of those otherwise hidden functions but if more

Re: [Rd] legitimate use of :::

2013-08-22 Thread Gabor Grothendieck
On Thu, Aug 22, 2013 at 7:57 PM, Gabriel Becker gmbec...@ucdavis.edu wrote: My understanding is that lookup happens in the imports before moving on to the search path, so if I understand you correctly I don't think that is an issue. If A also *exported* f, that would be a problem... A can

Re: [Rd] Extending suggestion for stopifnot

2013-08-20 Thread Gabor Grothendieck
On Tue, Aug 20, 2013 at 6:00 PM, ivo welch ivo.we...@gmail.com wrote: character string at the end of an existing function, stopifnot(). (2) I think estrings (that behave like characters but are interpolated before printout) are useful in the same way perl interpolated strings are useful. The

Re: [Rd] Redirect system2 stdout to a file on windows

2013-07-14 Thread Gabor Grothendieck
On Sun, Jul 14, 2013 at 1:18 PM, Jeroen Ooms jeroen.o...@stat.ucla.edu wrote: According to the manual, the `stdout` argument of the `system2` function can redirect output to a file. This seems to work on unix, however I can't get it to work on windows. The toy example below, no `out.txt` or

Re: [Rd] Redirect system2 stdout to a file on windows

2013-07-14 Thread Gabor Grothendieck
On Sun, Jul 14, 2013 at 5:20 PM, Jeroen Ooms jeroen.o...@stat.ucla.edu wrote: On Sun, Jul 14, 2013 at 10:24 PM, Gabor Grothendieck wrote: Try: out.txt - normalizePath(./out.txt, mustWork = FALSE) Doesn't work either, neither on Win7 nor WinXP. sessionInfo() R version 3.0.1 (2013-05-16

Re: [Rd] R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony

2013-04-22 Thread Gabor Grothendieck
On Mon, Apr 22, 2013 at 10:27 AM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 21/04/2013 6:57 PM, Hadley Wickham wrote: PS. Hadley, is this what you meant when you wrote Better solutions (e.g. Rstudio and devtools) temporarily set the path on when you're calling R CMD *., or those

Re: [Rd] R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony

2013-04-21 Thread Gabor Grothendieck
On Sun, Apr 21, 2013 at 8:18 AM, Hadley Wickham h.wick...@gmail.com wrote: The problem is that if you don't just use the PC for running R but use it to run other programs too then any program and that utilizes Windows batch scripts making use of find.exe or sort.exe likely won't work if Rtools

Re: [Rd] R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony

2013-04-21 Thread Gabor Grothendieck
On Sun, Apr 21, 2013 at 9:49 AM, Hadley Wickham h.wick...@gmail.com wrote: Because it can conflict with other Windows software unless you add a layer over it. What other popular software that runs on Windows has these problems? I can't think of any. The closest I can come up with was that

Re: [Rd] R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony

2013-04-21 Thread Gabor Grothendieck
On Sun, Apr 21, 2013 at 12:57 PM, Hadley Wickham h.wick...@gmail.com wrote: Because it can conflict with other Windows software unless you add a layer over it. What other popular software that runs on Windows has these problems? I can't think of any. The closest I can come up with was that

Re: [Rd] R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony

2013-04-21 Thread Gabor Grothendieck
On Sun, Apr 21, 2013 at 6:17 PM, Henrik Bengtsson h...@biostat.ucsf.edu wrote: I (as well) keep a specific Rsetup.bat file for launching Windows cmd.exe with the proper PATH etc setup for build R packages etc. It's only after this thread I gave it a second thought; you can indeed temporarily

Re: [Rd] R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony

2013-04-20 Thread Gabor Grothendieck
On Sat, Apr 20, 2013 at 10:45 AM, Hadley Wickham h.wick...@gmail.com wrote: Just curious: how often do you use the Windows find command? We have put instructions in place for people to run the install process with a renamed Rtools find command (which I think is the only conflict). The issue

Re: [Rd] R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony

2013-04-20 Thread Gabor Grothendieck
On Sat, Apr 20, 2013 at 11:49 AM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 13-04-20 11:09 AM, Gabor Grothendieck wrote: On Sat, Apr 20, 2013 at 10:45 AM, Hadley Wickham h.wick...@gmail.com wrote: Just curious: how often do you use the Windows find command? We have put

Re: [Rd] R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony

2013-04-20 Thread Gabor Grothendieck
On Sat, Apr 20, 2013 at 1:54 PM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 13-04-20 12:30 PM, Gabor Grothendieck wrote: On Sat, Apr 20, 2013 at 11:49 AM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 13-04-20 11:09 AM, Gabor Grothendieck wrote: On Sat, Apr 20, 2013 at 10:45 AM

Re: [Rd] how to control the environment of a formula

2013-04-20 Thread Gabor Grothendieck
On Sat, Apr 20, 2013 at 1:44 PM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 13-04-19 2:57 PM, Thomas Alexander Gerds wrote: hmm. I have tested a bit more, and found this perhaps more difficult solve situation. even though I delete x, since x is part of the output of the formula, the

Re: [Rd] R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony

2013-04-20 Thread Gabor Grothendieck
On Sat, Apr 20, 2013 at 2:21 PM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 13-04-20 2:02 PM, Kevin Coombes wrote: On 4/20/2013 12:54 PM, Duncan Murdoch wrote: On 13-04-20 12:30 PM, Gabor Grothendieck wrote: On Sat, Apr 20, 2013 at 11:49 AM, Duncan Murdoch murdoch.dun...@gmail.com

Re: [Rd] R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony

2013-04-20 Thread Gabor Grothendieck
On Sat, Apr 20, 2013 at 9:13 PM, Hadley Wickham h.wick...@gmail.com wrote: As far as I can tell, the steps you are recommending take place in an earlier build step. This would require the user who wants to do this to rebuild Rtools in its entirety, which is more trouble than it is likely to

Re: [Rd] R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony

2013-04-19 Thread Gabor Grothendieck
directory. (For reasons that Gabor Grothendieck has pointed out previously, this is not a permanent part of the path since doing so would override some built-in Windows commands.) Just curious: how often do you use the Windows find command? We have put instructions in place for people to run

Re: [Rd] Documentation error in subsitute

2013-04-03 Thread Gabor Grothendieck
On Wed, Apr 3, 2013 at 10:38 AM, Hadley Wickham h.wick...@gmail.com wrote: Hi all, The documentation for substitute currently reads: Substitution takes place by examining each component of the parse tree as follows: If it is not a bound symbol in ‘env’, it is unchanged. If it is a promise

Re: [Rd] Return value of S4 validity function

2013-02-28 Thread Gabor Grothendieck
On Thu, Feb 28, 2013 at 3:44 PM, Gabor Grothendieck ggrothendi...@gmail.com wrote: This issues a message about a needing to be non-negative as expected: setClass(A, representation = list(a = numeric), prototype = list(a = 0), validity = function(object) { out - if (object@a 0

[Rd] Return value of S4 validity function

2013-02-28 Thread Gabor Grothendieck
This issues a message about a needing to be non-negative as expected: setClass(A, representation = list(a = numeric), prototype = list(a = 0), validity = function(object) { out - if (object@a 0) a must be non-negative if (is.null(out)) TRUE else out ## }) new(A, a = -1) but it

[Rd] RSetReg.exe

2013-02-16 Thread Gabor Grothendieck
R.exe, Rgui.exe, Rcmd.exe and Rscript.exe all support the --help argument but RSetReg.exe --help ignores the argument and attempts to set the registry key. Since one might try this as a first attempt to figure out what the command is all about this seems a bit dangerous. It would be nice if it

[Rd] Creating ref class with same name as S4 class results in error

2013-01-29 Thread Gabor Grothendieck
It seems that if one overwrites an S4 class with a Reference Class of the same name that one gets an error in the situation below. I would have expected that the Reference Class would replace the S4 class in such a way that one could now use the Reference Class. A - setClass(A, representation(x

[Rd] Tricking Promises into Sending Info Via Args into Caller

2013-01-12 Thread Gabor Grothendieck
The is.pos function below results in the variable, out, being set to TRUE if the first argument to is.pos is positive and to FALSE otherwise. It does this without using the return value or using scoping tricks to reach into the caller. Instead it tricks the promise into communicating one bit of

Re: [Rd] weird bug with parallel, RSQlite and tcltk

2013-01-03 Thread Gabor Grothendieck
On Thu, Jan 3, 2013 at 7:45 AM, peter dalgaard pda...@gmail.com wrote: On Jan 3, 2013, at 12:20 , Gabor Grothendieck wrote: On Thu, Jan 3, 2013 at 5:59 AM, peter dalgaard pda...@gmail.com wrote: On Jan 3, 2013, at 10:32 , Karl Forner wrote: Hello, The point is that I do not use tcltk

[Rd] Rtools216.exe on Windows

2012-12-18 Thread Gabor Grothendieck
1. If your PATH is very long then on the Select Additional Tasks screen in the Rtools installer the two check box titles (Edit the system PATH and Save version number) will be obscured (i.e. you won't be able to see them at all) making the screen very confusing. One just sees two boxes on the left

Re: [Rd] library(tcltk) v. SIGPIPE BUG (?!?)

2012-12-11 Thread Gabor Grothendieck
On Tue, Dec 11, 2012 at 3:14 PM, Cook, Malcolm m...@stowers.org wrote: Hi R-devel, tcltk devel, and sqldf devel, The transcript below shows how loading the tcl/tk library in under R causes subprocesses to ignore SIGPIPE. I am including the developer of the (wonderful) sqldf package since it

Re: [Rd] Capturing environment associated with a promise

2012-10-08 Thread Gabor Grothendieck
On Mon, Oct 8, 2012 at 9:22 AM, Hadley Wickham h.wick...@gmail.com wrote: Hi all, It's possible to capture the expression associated with a promise (using substitute). Is there any way to capture the environment associated with a promise? Similarly, is there any way to tell if something is

Re: [Rd] tcltk capability

2012-09-27 Thread Gabor Grothendieck
On Thu, Sep 27, 2012 at 2:18 PM, Paul Johnson pauljoh...@gmail.com wrote: Sorry I did not see this sooner. Response below: On Thu, Aug 30, 2012 at 2:48 PM, Gabor Grothendieck ggrothendi...@gmail.com wrote: There are quite a few packages that make use of tcltk and although - most R

[Rd] tcltk capability

2012-08-30 Thread Gabor Grothendieck
There are quite a few packages that make use of tcltk and although - most R distributions have tcltk capability - its possible to query this via capabilities()[[tcltk]] - attempting to build a package that needs it on such an R distribution will give a message letting one know users still seem

Re: [Rd] rep fails on pairlist

2012-07-26 Thread Gabor Grothendieck
On Thu, Jul 26, 2012 at 4:24 PM, Dirk Eddelbuettel e...@debian.org wrote: On 26 July 2012 at 15:55, Gabor Grothendieck wrote: | This code which has worked for years in R but fails under R-devel: | | R.version.string | [1] R Under development (unstable) (2012-07-25 r59963) | | n - 3

Re: [Rd] rep fails on pairlist

2012-07-26 Thread Gabor Grothendieck
On Thu, Jul 26, 2012 at 7:29 PM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 12-07-26 3:55 PM, Gabor Grothendieck wrote: This code which has worked for years in R but fails under R-devel: R.version.string [1] R Under development (unstable) (2012-07-25 r59963) n - 3 f - function(x

Re: [Rd] Finding dynamic shared libraries loaded with a package

2012-07-23 Thread Gabor Grothendieck
On Mon, Jul 23, 2012 at 8:29 PM, Winston Chang winstoncha...@gmail.com wrote: Is there a way to query a package to see what dynamic shared libraries are loaded with it? This gives a DLLInfoList class object whose components are info associated with the loaded dll's DLLInfoList -

Re: [Rd] extractAIC.nls

2012-07-14 Thread Gabor Grothendieck
On Sat, Jul 14, 2012 at 6:53 PM, Spencer Graves spencer.gra...@prodsyse.com wrote: Hello: Does extractAIC.nls exist anywhere? If no, is there some reason it should not be used? I'm planning to add it to the fda package, but before I do, I felt a need to ask if there is some

Re: [Rd] extractAIC.nls

2012-07-14 Thread Gabor Grothendieck
On Sat, Jul 14, 2012 at 8:48 PM, Spencer Graves spencer.gra...@prodsyse.com wrote: On 7/14/2012 4:11 PM, Gabor Grothendieck wrote: On Sat, Jul 14, 2012 at 6:53 PM, Spencer Graves spencer.gra...@prodsyse.com wrote: Hello: Does extractAIC.nls exist anywhere? If no, is there some

Re: [Rd] Curry: proposed new functional programming, er, function.

2012-05-26 Thread Gabor Grothendieck
On Sat, May 26, 2012 at 12:30 PM, Yike Lu yikelu.h...@gmail.com wrote: On 5/25/12 5:23 PM, Hadley Wickham wrote: On Fri, May 25, 2012 at 3:14 PM, Yike Luyikelu.h...@gmail.com  wrote: So here's the way I'm reading this: Original: curry_call is the function body you're constructing, which is

Re: [Rd] Best way to locate R executable from within R?

2012-05-22 Thread Gabor Grothendieck
On Tue, May 22, 2012 at 1:34 PM, Henrik Bengtsson h...@biostat.ucsf.edu wrote: Hi, I'd like to spawn of a new R process from within R using system(), e.g. system(R -f myScript.R).  However, just specifying R as in that example is not guaranteed to work, because R may not be on the OS's

Re: [Rd] Best way to locate R executable from within R?

2012-05-22 Thread Gabor Grothendieck
On Tue, May 22, 2012 at 3:05 PM, Henrik Bengtsson h...@biostat.ucsf.edu wrote: On Tue, May 22, 2012 at 11:39 AM, Gabor Grothendieck ggrothendi...@gmail.com wrote: On Tue, May 22, 2012 at 1:34 PM, Henrik Bengtsson h...@biostat.ucsf.edu wrote: Hi, I'd like to spawn of a new R process from

Re: [Rd] Best way to locate R executable from within R?

2012-05-22 Thread Gabor Grothendieck
On Tue, May 22, 2012 at 3:28 PM, Gabor Grothendieck ggrothendi...@gmail.com wrote: On Tue, May 22, 2012 at 3:05 PM, Henrik Bengtsson h...@biostat.ucsf.edu wrote: On Tue, May 22, 2012 at 11:39 AM, Gabor Grothendieck ggrothendi...@gmail.com wrote: On Tue, May 22, 2012 at 1:34 PM, Henrik

Re: [Rd] Best way to locate R executable from within R?

2012-05-22 Thread Gabor Grothendieck
On Tue, May 22, 2012 at 6:04 PM, Simon Urbanek simon.urba...@r-project.org wrote: On May 22, 2012, at 3:34 PM, Gabor Grothendieck wrote: On Tue, May 22, 2012 at 3:28 PM, Gabor Grothendieck ggrothendi...@gmail.com wrote: On Tue, May 22, 2012 at 3:05 PM, Henrik Bengtsson h...@biostat.ucsf.edu

Re: [Rd] Best way to locate R executable from within R?

2012-05-22 Thread Gabor Grothendieck
On Tue, May 22, 2012 at 7:50 PM, Simon Urbanek simon.urba...@r-project.org wrote: On May 22, 2012, at 7:37 PM, Gabor Grothendieck wrote: On Tue, May 22, 2012 at 6:04 PM, Simon Urbanek simon.urba...@r-project.org wrote: On May 22, 2012, at 3:34 PM, Gabor Grothendieck wrote: On Tue, May 22

Re: [Rd] loading multiple CSV files into a single data frame

2012-05-03 Thread Gabor Grothendieck
On Thu, May 3, 2012 at 2:07 PM, victor jimenez betaband...@gmail.com wrote: Sometimes I have hundreds of CSV files scattered in a directory tree, resulting from experiments' executions. For instance, giving an example from my field, I may want to collect the performance of a processor for

Re: [Rd] Problem with args

2012-04-21 Thread Gabor Grothendieck
On Sat, Apr 21, 2012 at 1:38 PM, Simon Urbanek simon.urba...@r-project.org wrote: On Apr 21, 2012, at 1:03 PM, Gabor Grothendieck wrote: args ought to check that its argument is a function: max - 3 args(max) NULL e.g. args - function(name) { +     name - match.fun(name) +     base

Re: [Rd] Problem with args

2012-04-21 Thread Gabor Grothendieck
On Sat, Apr 21, 2012 at 2:10 PM, Simon Urbanek simon.urba...@r-project.org wrote: On Apr 21, 2012, at 1:45 PM, Gabor Grothendieck wrote: On Sat, Apr 21, 2012 at 1:38 PM, Simon Urbanek simon.urba...@r-project.org wrote: On Apr 21, 2012, at 1:03 PM, Gabor Grothendieck wrote: args ought

Re: [Rd] CRAN policies

2012-03-31 Thread Gabor Grothendieck
On Sat, Mar 31, 2012 at 9:57 AM, Paul Gilbert pgilbert...@gmail.com wrote: Mark I would like to clarify two specific points. On 12-03-31 04:41 AM, mark.braving...@csiro.au wrote: ... Someone has subsequently decided that code should look a certain way, and has added a check that isn't in

Re: [Rd] CRAN policies

2012-03-29 Thread Gabor Grothendieck
On Wed, Mar 28, 2012 at 11:52 PM, Thomas Lumley tlum...@uw.edu wrote: On Thu, Mar 29, 2012 at 3:30 AM, Gabor Grothendieck ggrothendi...@gmail.com wrote: 2012/3/28 Uwe Ligges lig...@statistik.tu-dortmund.de: On 27.03.2012 20:33, Jeffrey Ryan wrote: Thanks Uwe for the clarification on what

Re: [Rd] CRAN policies

2012-03-28 Thread Gabor Grothendieck
2012/3/28 Uwe Ligges lig...@statistik.tu-dortmund.de: On 27.03.2012 20:33, Jeffrey Ryan wrote: Thanks Uwe for the clarification on what goes and what stays. Still fuzzy on the notion of significant though.  Do you have an example or two for the list? We have to look at those notes

Re: [Rd] CRAN policies

2012-03-27 Thread Gabor Grothendieck
On Tue, Mar 27, 2012 at 7:52 AM, Prof Brian Ripley rip...@stats.ox.ac.uk wrote: CRAN has for some time had a policies page at http://cran.r-project.org/web/packages/policies.html and we would like to draw this to the attention of package maintainers.  In particular, please - always send a

Re: [Rd] CRAN policies

2012-03-27 Thread Gabor Grothendieck
2012/3/27 Uwe Ligges lig...@statistik.tu-dortmund.de: On 27.03.2012 17:09, Gabor Grothendieck wrote: On Tue, Mar 27, 2012 at 7:52 AM, Prof Brian Ripley rip...@stats.ox.ac.uk  wrote: CRAN has for some time had a policies page at http://cran.r-project.org/web/packages/policies.html and we

Re: [Rd] CRAN policies

2012-03-27 Thread Gabor Grothendieck
2012/3/27 Uwe Ligges lig...@statistik.tu-dortmund.de: On 27.03.2012 19:10, Jeffrey Ryan wrote: Is there a distinction as to NOTE vs. WARNING that is documented?  I've always assumed (wrongly?) that NOTES weren't an issue with publishing on CRAN, but that they may change to WARNINGS at some

Re: [Rd] Why is there no within.environment function?

2012-03-21 Thread Gabor Grothendieck
On Wed, Mar 21, 2012 at 5:51 PM, Richard Cotton richiero...@gmail.com wrote: If I want to assign some variables into an environment, it seems natural to do something like e - new.env() within(e,    {      x - 1:5      y - runif(5)    } ) This throws an error, since within.environment

Re: [Rd] hash table clean-up

2012-03-04 Thread Gabor Grothendieck
On Sun, Mar 4, 2012 at 4:19 PM, luke-tier...@uiowa.edu wrote: On Sun, 4 Mar 2012, Florent D. wrote: Hello, I have noticed that the memory usage inside an R session increases as more and more objects with unique names are created, even after they are removed. Here is a small reproducible

Re: [Rd] tcltk GUIs (was need gui matrix editor: does R Core team have advice on how?)

2012-01-29 Thread Gabor Grothendieck
On Sun, Jan 29, 2012 at 7:10 AM, Prof Brian Ripley rip...@stats.ox.ac.uk wrote: On 28/01/2012 22:04, John Fox wrote: Dear Paul and Gabor, The Rcmdr GUI uses the tcltk package, so I have some experience with providing an R tcltk-based GUI for various platforms. As Gabor says, everything

Re: [Rd] need gui matrix editor: does R Core team have advice on how?

2012-01-28 Thread Gabor Grothendieck
On Sat, Jan 28, 2012 at 2:59 PM, Paul Johnson pauljoh...@gmail.com wrote: Dear R-devel: Would R core team consider endorsing a graphical toolkit and trying to facilitate development of little GUI tools? I need a gui matrix editor for users that want to be able to write matrices that are

Re: [Rd] CRAN link broken

2011-12-30 Thread Gabor Grothendieck
On Fri, Dec 30, 2011 at 4:32 PM, Paul Gilbert pgilbert...@gmail.com wrote: The packages link on CRAN (http://cran.at.r-project.org/)  seems to be broken. Paul     Object not found!    The requested URL was not found on this server. The link on the    referring

[Rd] Standardizing included packages

2011-11-30 Thread Gabor Grothendieck
It seems that R is mostly distributed with the tcltk package but not always. Is there some reason for this inconsistency? It would be nice if one could count on those packages that are distributed on the Windows version of R being distributed on all other platforms too. -- Statistics Software

Re: [Rd] How to deal with package conflicts

2011-11-25 Thread Gabor Grothendieck
On Fri, Nov 25, 2011 at 10:37 AM, Terry Therneau thern...@mayo.edu wrote: On Fri, 2011-11-25 at 09:50 -0500, Duncan Murdoch wrote: I think the general idea in formulas is that it is up to the user to define the meaning of functions used in them.  Normally the user has attached the package

Re: [Rd] extending the colClasses argument in read.table

2011-11-21 Thread Gabor Grothendieck
2011/11/21 Romain François rom...@r-enthusiasts.com: Hello, We've released the int64 package to CRAN a few days ago. The package provides S4 classes int64 and uint64 that represent signed and unsigned 64 bit integer vectors. One further development of the package is to facilitate reading 64

Re: [Rd] One step way to create data frame with variable variable names?

2011-11-11 Thread Gabor Grothendieck
On Fri, Nov 11, 2011 at 10:25 AM, Paul Johnson pauljoh...@gmail.com wrote: Suppose plotx - someName modx - otherName plotxRange - c(10,20) modxVals - c(1,2,3) It often happens I want to create a dataframe or object with plotx or modx as the variable names.  But can't understand syntax to

Re: [Rd] NAMESPACE file generation issue R 2.14.0 on Debian Squeeze

2011-11-09 Thread Gabor Grothendieck
2011/11/8 Uwe Ligges lig...@statistik.tu-dortmund.de: On 08.11.2011 19:08, Gabor Grothendieck wrote: 2011/11/8 Uwe Liggeslig...@statistik.tu-dortmund.de: On 08.11.2011 17:56, Gabor Grothendieck wrote: 2011/11/8 Uwe Liggeslig...@statistik.tu-dortmund.de: On 08.11.2011 17:04, Gabor

Re: [Rd] NAMESPACE file generation issue R 2.14.0 on Debian Squeeze

2011-11-09 Thread Gabor Grothendieck
2011/11/9 Uwe Ligges lig...@statistik.tu-dortmund.de: On 09.11.2011 13:52, Gabor Grothendieck wrote: 2011/11/8 Uwe Liggeslig...@statistik.tu-dortmund.de: On 08.11.2011 19:08, Gabor Grothendieck wrote: 2011/11/8 Uwe Liggeslig...@statistik.tu-dortmund.de: On 08.11.2011 17:56, Gabor

Re: [Rd] NAMESPACE file generation issue R 2.14.0 on Debian Squeeze

2011-11-09 Thread Gabor Grothendieck
2011/11/9 Uwe Ligges lig...@statistik.tu-dortmund.de: Honestly, that (svn revision) is the only part that we do not have on the front pages but they are given in the log files. The R version is not on the package's CRAN page, e.g. http://cran.r-project.org/web/packages/sqldf/index.html  I

Re: [Rd] NAMESPACE file generation issue R 2.14.0 on Debian Squeeze

2011-11-08 Thread Gabor Grothendieck
2011/11/8 Uwe Ligges lig...@statistik.tu-dortmund.de: I think many people like to help, but we cannot: You say you are under R-2.14.0 and whn you R CMD INSTALL a package with that version of R, it does not have a NAMESPACE in the end? Then  - your R installation is broken or  - you are

Re: [Rd] NAMESPACE file generation issue R 2.14.0 on Debian Squeeze

2011-11-08 Thread Gabor Grothendieck
On Tue, Nov 8, 2011 at 10:31 AM, Gabor Grothendieck ggrothendi...@gmail.com wrote: 2011/11/8 Uwe Ligges lig...@statistik.tu-dortmund.de: I think many people like to help, but we cannot: You say you are under R-2.14.0 and whn you R CMD INSTALL a package with that version of R, it does not have

Re: [Rd] NAMESPACE file generation issue R 2.14.0 on Debian Squeeze

2011-11-08 Thread Gabor Grothendieck
2011/11/8 Uwe Ligges lig...@statistik.tu-dortmund.de: On 08.11.2011 16:31, Gabor Grothendieck wrote: 2011/11/8 Uwe Liggeslig...@statistik.tu-dortmund.de: I think many people like to help, but we cannot: You say you are under R-2.14.0 and whn you R CMD INSTALL a package with that version

Re: [Rd] NAMESPACE file generation issue R 2.14.0 on Debian Squeeze

2011-11-08 Thread Gabor Grothendieck
2011/11/8 Uwe Ligges lig...@statistik.tu-dortmund.de: On 08.11.2011 17:04, Gabor Grothendieck wrote: 2011/11/8 Uwe Liggeslig...@statistik.tu-dortmund.de: On 08.11.2011 16:31, Gabor Grothendieck wrote: 2011/11/8 Uwe Liggeslig...@statistik.tu-dortmund.de: I think many people like to help

Re: [Rd] NAMESPACE file generation issue R 2.14.0 on Debian Squeeze

2011-11-08 Thread Gabor Grothendieck
2011/11/8 Uwe Ligges lig...@statistik.tu-dortmund.de: On 08.11.2011 17:56, Gabor Grothendieck wrote: 2011/11/8 Uwe Liggeslig...@statistik.tu-dortmund.de: On 08.11.2011 17:04, Gabor Grothendieck wrote: 2011/11/8 Uwe Liggeslig...@statistik.tu-dortmund.de: On 08.11.2011 16:31, Gabor

Re: [Rd] Error message library()

2011-10-28 Thread Gabor Grothendieck
On Fri, Oct 28, 2011 at 6:49 AM, Renaud Gaujoux ren...@mancala.cbio.uct.ac.za wrote: BTW: an ever more intuitive solution (IMHO) would be to auto-complete package names in library( ... Deepayan?;)  That is non-intrusive and in line with the general use of R. (Simon) This is indeed a long

Re: [Rd] Error message library()

2011-10-27 Thread Gabor Grothendieck
On Wed, Oct 26, 2011 at 5:46 AM, ONKELINX, Thierry thierry.onkel...@inbo.be wrote: Dear all, When one tries to load a non-installed package you get the error: Error in library(xyz) : there is no package called 'xyz' I noticed on several occasions that this puzzles beginners. Therefore I

Re: [Rd] Error message library()

2011-10-27 Thread Gabor Grothendieck
On Thu, Oct 27, 2011 at 2:10 PM, Milan Bouchet-Valat nalimi...@club.fr wrote: Le jeudi 27 octobre 2011 à 13:45 -0400, Gabor Grothendieck a écrit : Perhaps it could report where it looked and couldn't find it: There is no package called 'xyz' in C:/R/win-library/2.13 and C:/R/R-2.13.2/library

Re: [Rd] control list gotcha

2011-09-10 Thread Gabor Grothendieck
On Sat, Sep 10, 2011 at 12:31 PM, John C Nash nas...@uottawa.ca wrote: This is mainly a reminder to others developing R packages to be careful not to supply control list items that are not used by the called package. Optimx is a wrapper package that aims to provide a common syntax to a

Re: [Rd] Is xtable still being maintained?

2011-09-10 Thread Gabor Grothendieck
On Sat, Sep 10, 2011 at 1:19 PM, oliver oli...@first.in-berlin.de wrote: On Sat, Sep 10, 2011 at 07:40:24AM -0700, Spencer Graves wrote: On 9/10/2011 6:06 AM, Uwe Ligges wrote: On 10.09.2011 13:26, Alastair wrote: Hi, I wonder if anyone knows if the xtable package is still actively

[Rd] Problems with r-help

2011-08-30 Thread Gabor Grothendieck
I am getting messages like this whenever I try to post to r-help. The message seems to say that the problem is with on the r-help end (the recipient domain). Delivery to the following recipient failed permanently: r-h...@r-project.org Technical details of permanent failure: Google tried

Re: [Rd] Problems with r-help

2011-08-30 Thread Gabor Grothendieck
On Tue, Aug 30, 2011 at 11:42 AM, Gabor Grothendieck ggrothendi...@gmail.com wrote: I am getting messages like this whenever I try to post to r-help.  The message seems to say that the problem is with on the r-help end (the recipient domain). Delivery to the following recipient failed

Re: [Rd] NAMESPACE

2011-07-17 Thread Gabor Grothendieck
On Sun, Jul 17, 2011 at 7:58 AM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 11-07-16 10:13 PM, Gabor Grothendieck wrote: Packages without explicit ‘NAMESPACE’ files will have a default one created at build or INSTALL time, so all packages will have namespaces. A consequence

[Rd] NAMESPACE

2011-07-16 Thread Gabor Grothendieck
Packages without explicit ‘NAMESPACE’ files will have a default one created at build or INSTALL time, so all packages will have namespaces. A consequence of this is that ‘.First.lib’ functions need to be renamed, usually as ‘.onLoad’ but sometimes as ‘.onAttach’. Couldn't R simply regard

Re: [Rd] Default values in control list of function

2011-06-25 Thread Gabor Grothendieck
On Sat, Jun 25, 2011 at 9:21 PM, Prof. John C Nash nas...@uottawa.ca wrote: In building a function for a package, I'd like to set the defaults in a control list, e.g., makeg-function(parameters, eps = 1.0e-7, control=list(showwork=TRUE, rubbish=1.0e+101)){    etc. } This does not

Re: [Rd] Require of gWidgetsRGtk2 fails: RGtk2.dll can't be found, but it's there

2011-06-10 Thread Gabor Grothendieck
On Fri, Jun 10, 2011 at 6:04 AM, Janko Thyson janko.thyson.rst...@googlemail.com wrote: Dear list, I've been trying to get gWidgets/gWidgetsRGtk2 to run every other month for a while, but somehow I simply can't figure out what's going wrong. 1. Use the automatically installed GTk2, not some

Re: [Rd] Require of gWidgetsRGtk2 fails: RGtk2.dll can't be found, but it's there

2011-06-10 Thread Gabor Grothendieck
On Fri, Jun 10, 2011 at 8:31 AM, Janko Thyson janko.thyson.rst...@googlemail.com wrote: On 10.06.2011 13:00, Gabor Grothendieck wrote: On Fri, Jun 10, 2011 at 6:04 AM, Janko Thyson janko.thyson.rst...@googlemail.com wrote: Dear list, I've been trying to get gWidgets/gWidgetsRGtk2 to run

Re: [Rd] Packages for R-CRAN (organizing aspects)

2011-06-07 Thread Gabor Grothendieck
On Tue, Jun 7, 2011 at 9:03 AM, oliver oli...@first.in-berlin.de wrote: Hello, I have some ideas for packages that I want to provide on R-CRAN. One package alreads is working, but I have some warnings in when compiling. Also I don't know if the libraries in use are only working on

Re: [Rd] Packages for R-CRAN (organizing aspects)

2011-06-07 Thread Gabor Grothendieck
On Tue, Jun 7, 2011 at 12:00 PM, oliver oli...@first.in-berlin.de wrote: What about the documentation. if I look for it on r-cran, but the module is form r-forge there will be a mismatch. ?, vignette(...) and library(help=...) will give help that corresponds to the package you installed. --

Re: [Rd] Wishlist: write R's bin path to the PATH variable and remove the version string in the installation dir under Windows

2011-05-04 Thread Gabor Grothendieck
On Wed, May 4, 2011 at 8:11 AM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 11-05-03 11:25 PM, Yihui Xie wrote: 1. Few Windows users use these commands does not imply they are not useful, and I have no idea how many Windows users really use them. How do you run R CMD build when you

Re: [Rd] Curry: proposed new functional programming, er, function.

2011-05-04 Thread Gabor Grothendieck
On Wed, May 4, 2011 at 10:40 AM, Ravi Varadhan rvarad...@jhmi.edu wrote: I too would like this (being an Indian!). Here is an example that came up just yesterday with regards to solving a quadrature problem using the cubature package.  The adaptIntegrate function does not allow additional

Re: [Rd] Wishlist: write R's bin path to the PATH variable and remove the version string in the installation dir under Windows

2011-05-04 Thread Gabor Grothendieck
On Wed, May 4, 2011 at 11:15 AM, Yihui Xie x...@yihui.name wrote: If I am already able to open R, there is no need to post the request here. I want to be able to run R without knowing where it is from another software package. Your batch files fit in this purpose, and the only problem is it is

Re: [Rd] Wishlist: write R's bin path to the PATH variable and remove the version string in the installation dir under Windows

2011-05-04 Thread Gabor Grothendieck
On Wed, May 4, 2011 at 10:53 AM, Ted Byers r.ted.by...@gmail.com wrote: -Original Message- From: r-devel-boun...@r-project.org [mailto:r-devel-bounces@r- project.org] On Behalf Of Gabor Grothendieck Sent: May-04-11 10:35 AM To: Duncan Murdoch Cc: R-devel Subject: Re: [Rd] Wishlist

Re: [Rd] Curry: proposed new functional programming, er, function.

2011-05-04 Thread Gabor Grothendieck
On Wed, May 4, 2011 at 1:11 PM, Sharpie ch...@sharpsteen.net wrote: Currently, the only Curry implementation I know of is in the roxygen package which is kind of a weird dependency to install just for this one function. Not entirely comparable but the proto package supports currying of proto

Re: [Rd] Wishlist: write R's bin path to the PATH variable and remove the version string in the installation dir under Windows

2011-05-03 Thread Gabor Grothendieck
On Tue, May 3, 2011 at 7:44 PM, Yihui Xie x...@yihui.name wrote: Hi, I guess this issue must have been brought forward long time ago, but I still hope you can consider under Windows (during installation): 1. put R's bin path in the PATH variable of the system so that we can use the commands

Re: [Rd] Wishlist: write R's bin path to the PATH variable and remove the version string in the installation dir under Windows

2011-05-03 Thread Gabor Grothendieck
On Tue, May 3, 2011 at 7:44 PM, Yihui Xie x...@yihui.name wrote: Hi, I guess this issue must have been brought forward long time ago, but I still hope you can consider under Windows (during installation): 1. put R's bin path in the PATH variable of the system so that we can use the commands

Re: [Rd] Wishlist: write R's bin path to the PATH variable and remove the version string in the installation dir under Windows

2011-05-03 Thread Gabor Grothendieck
On Wed, May 4, 2011 at 1:04 AM, Yihui Xie x...@yihui.name wrote: Thanks! But I'm sorry this is not what I wanted. I just hope we can call R as a command like we do under *nix -- this will make it easier for *other* software packages to find R. You asked for an R program that gives the ability

Re: [Rd] Using substitute to access the expression related to a promise

2011-05-02 Thread Gabor Grothendieck
On Mon, May 2, 2011 at 9:53 AM, Hadley Wickham had...@rice.edu wrote: Hi all, The help for delayedAssign suggests that you can use substitute to access the expression associated with a promise, and the help for substitute says: If it is a promise object, i.e., a formal argument to a function

Re: [Rd] Using substitute to access the expression related to a promise

2011-05-02 Thread Gabor Grothendieck
On Mon, May 2, 2011 at 10:10 AM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 02/05/2011 9:53 AM, Hadley Wickham wrote: Hi all, The help for delayedAssign suggests that you can use substitute to access the expression associated with a promise, and the help for substitute says: If it is

Re: [Rd] Capturing the expression representing the body of a function

2011-05-02 Thread Gabor Grothendieck
On Mon, May 2, 2011 at 4:11 PM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 02/05/2011 3:21 PM, Hadley Wickham wrote: Hi all, What's the preferred way of capturing the expression representing the contents of a function? * body(write.csv) gives me a braced expression *

[Rd] error while checking package size during Rcmd check

2011-04-28 Thread Gabor Grothendieck
I am receiving this message during Rcmd check proto-3.9.2.tar.gz using R version 2.13.0 Patched (2011-04-25 r55638) * checking installed package size ...Error in if (total 1024 * 5) { : missing value where TRUE/FALSE needed Execution halted I don't get this under R.2.12.x. The size of the

Re: [Rd] error while checking package size during Rcmd check

2011-04-28 Thread Gabor Grothendieck
On Thu, Apr 28, 2011 at 9:01 PM, Gabor Grothendieck ggrothendi...@gmail.com wrote: I am receiving this message during  Rcmd check proto-3.9.2.tar.gz using R version 2.13.0 Patched (2011-04-25 r55638) * checking installed package size ...Error in if (total 1024 * 5) { : missing value where

Re: [Rd] Wish R Core had a standard format (or generic function) for newdata objects

2011-04-27 Thread Gabor Grothendieck
On Wed, Apr 27, 2011 at 3:55 AM, peter dalgaard pda...@gmail.com wrote: On Apr 27, 2011, at 02:39 , Duncan Murdoch wrote: On 26/04/2011 11:13 AM, Paul Johnson wrote: Is anybody working on a way to standardize the creation of newdata objects for predict methods? [snip] I think it is time

Re: [Rd] R CMD Sweave versus Sweave() on Windows

2011-04-21 Thread Gabor Grothendieck
On Thu, Apr 21, 2011 at 6:44 AM, Pfaff, Bernhard Dr. bernhard_pf...@fra.invesco.com wrote: Dear list subscriber, I am quite puzzled by the behaviour of processing Sweave files within an R session, i.e. Sweave(foo.Rnw) versus R CMD Sweave foo.Rnw In the former the environmental variable

Re: [Rd] help with eval()

2011-04-18 Thread Gabor Grothendieck
On Mon, Apr 18, 2011 at 5:51 PM, Terry Therneau thern...@mayo.edu wrote: I've narrowed my scope problems with predict.coxph further. Here is a condensed example: fcall3 - as.formula(time ~ age) dfun3 - function(dcall) {    fit - lm(dcall, data=lung, model=FALSE)    model.frame(fit) }

Re: [Rd] Rtools questions

2011-04-10 Thread Gabor Grothendieck
On Sat, Apr 9, 2011 at 4:40 PM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 11-04-06 2:45 PM, Henrik Bengtsson wrote: On Wed, Apr 6, 2011 at 4:54 AM, Duncan Murdochmurdoch.dun...@gmail.com  wrote: On 11-04-05 7:51 PM, Henrik Bengtsson wrote: On Tue, Apr 5, 2011 at 3:44 PM, Duncan

Re: [Rd] Rtools questions

2011-04-06 Thread Gabor Grothendieck
On Wed, Apr 6, 2011 at 7:54 AM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 11-04-05 7:51 PM, Henrik Bengtsson wrote: On Tue, Apr 5, 2011 at 3:44 PM, Duncan Murdochmurdoch.dun...@gmail.com  wrote: On 11-04-05 6:22 PM, Spencer Graves wrote: Hello:         1.  How can I tell when the

Re: [Rd] Names of a data set in a package

2011-04-05 Thread Gabor Grothendieck
2011/4/5 Göran Broström g...@stat.umu.se: For some reason I want to let one data set in a package be known under two different names.  Is that possible, and if so, how? I do not want to have two copies of the data set in the package. This will allow you to read the data frame under a

<    1   2   3   4   5   6   7   8   9   10   >