[Rd] svn version number

2005-10-07 Thread Gabor Grothendieck
Is there some way of automatically including the svn version number of a package in the DESCRIPTION file or otherwise so that one can check from within R which svn version number one has? __ R-devel@r-project.org mailing list

Re: [Rd] svn version number

2005-10-07 Thread Gabor Grothendieck
Just want to clarify that it is the package itself that is being developed under svn; I was not referring to the svn version number of R. On 10/7/05, Gabor Grothendieck [EMAIL PROTECTED] wrote: Is there some way of automatically including the svn version number of a package in the DESCRIPTION

Re: [Rd] svn version number

2005-10-07 Thread Gabor Grothendieck
On 10/7/05, Duncan Murdoch [EMAIL PROTECTED] wrote: Gabor Grothendieck wrote: Is there some way of automatically including the svn version number of a package in the DESCRIPTION file or otherwise so that one can check from within R which svn version number one has? You could do

Re: [Rd] Problem Sweaving vignettes: MiKTeX's texi2dvi reports errors

2005-10-03 Thread Gabor Grothendieck
. On 10/3/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Mon, 3 Oct 2005 11:31:40 -0400, Gabor Grothendieck (GG) wrote: I have R installed in c:\Program Files\R and I use MiKTeX and texi2dvi to process my vignettes. I do keep my package sources elsewhere; e.g. I would keep

Re: [Rd] is.Date function question

2005-09-26 Thread Gabor Grothendieck
Try this: is(Sys.Date(), Date) [1] TRUE is(33, Date) [1] FALSE inherits(Sys.Date(), Date) [1] TRUE inherits(33, Date) [1] FALSE R.version.string [1] R version 2.2.0, 2005-09-20 On 9/26/05, Charles Dupont [EMAIL PROTECTED] wrote: Why is there no is.Date function in R? I am running 2.1.1

[Rd] R 2.2.0 tooltips

2005-09-26 Thread Gabor Grothendieck
On R 2.2.0 (and maybe earlier ones too) the tooltips on the icons at the top include load image and save image. I find the use of the word image possibly confusing. I had just been editing some graphics images and moved over to R and my first thought was that these would allow me to insert a

[Rd] plot, spineplot, boxplot in R 2.2.0

2005-09-24 Thread Gabor Grothendieck
I noticed, what seened to me, to be odd. These produce a boxplot in the first case and a spineplot in the second case in R .2.2.0: plot(Sepal.Length ~ Species, iris) plot(Species ~ Sepal.Length, iris) What if one wants to exchange axes? Does the fact that this seemingly innocuous change result

Re: [Rd] Wishlist - access non-text from clipboard in Windows

2005-09-22 Thread Gabor Grothendieck
of them. On 9/22/05, Duncan Murdoch [EMAIL PROTECTED] wrote: On 9/22/2005 11:13 AM, Gabor Grothendieck wrote: Just wanted to post this wishlist item. Currently one can read text from the Windows clipboard but the Windows clipboard can hold all sorts of objects, not just text, and it can

Re: [Rd] Wishlist - access non-text from clipboard in Windows

2005-09-22 Thread Gabor Grothendieck
On 9/22/05, Duncan Murdoch [EMAIL PROTECTED] wrote: On 9/22/2005 1:12 PM, Gabor Grothendieck wrote: There is an open source clipboard extender CLCL that handles all clipboard formats. I think this code could be leveraged to simplify it substantially. Run CLCL and copy something from IE

[Rd] Contacting RDCOMClient Maintainer

2005-09-19 Thread Gabor Grothendieck
I tried to contact the maintainer of RDCOMClient as per the DESCRIPTION file to report a bug but my mail bounced. Is there more recent contact information? The original message was received at Mon, 19 Sep 2005 03:03:21 -0500 (CDT) from hoemail2.lucent.com [192.11.226.163] - The following

Re: [Rd] Month recognition issue

2005-09-16 Thread Gabor Grothendieck
month.abb is hard coded English but I don't think its used by the routines you are interested in anyways. To momentarily set locale try this: Sys.setlocale(LC_ALL,EN) and Sys.setlocale(LC_ALL,FR) On 9/7/05, Sebastien Durand [EMAIL PROTECTED] wrote: Dear all, I am running R : Copyright

Re: [Rd] Copying libraries from one version of R to another (was Re: MikTeX will be assumed in R 2.2.0 in Windows)

2005-09-13 Thread Gabor Grothendieck
, Gabor Grothendieck wrote: On 9/9/05, Duncan Murdoch [EMAIL PROTECTED] wrote: I've just committed some changes to allow R to be built and to use MikTeX without needing the Rd.sty files to be installed to localtexmf. Unfortunately, the changes are not compatible with other TeX packages, so

Re: [Rd] Issue tracking in packages [was: Re: [R] change in read.spss, package foreign?]

2005-09-11 Thread Gabor Grothendieck
On 9/10/05, Thomas Lumley [EMAIL PROTECTED] wrote: On Sat, 10 Sep 2005, Gabor Grothendieck wrote: On 9/10/05, Thomas Lumley [EMAIL PROTECTED] wrote: On Sat, 10 Sep 2005, Gabor Grothendieck wrote: And one more comment. The DESCRIPTION file does not record the location or existence

Re: [Rd] Issue tracking in packages [was: Re: [R] change in read.spss, package foreign?]

2005-09-10 Thread Gabor Grothendieck
On 9/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Fri, 9 Sep 2005 10:33:03 -0700 (PDT), Thomas Lumley (TL) wrote: On Fri, 9 Sep 2005, Gabor Grothendieck wrote: I personally put NEWS, WISHLIST and THANKS files in the 'inst' directory of all my source packages. This has

Re: [Rd] Issue tracking in packages [was: Re: [R] change in read.spss, package foreign?]

2005-09-10 Thread Gabor Grothendieck
On 9/10/05, Kurt Hornik [EMAIL PROTECTED] wrote: Thomas Lumley writes: On Fri, 9 Sep 2005, Gabor Grothendieck wrote: How about if there were just a standard location and name such as inst/NEWS, inst/WISHLIST, inst/THANKS (which has the advantage that they are automatically made

Re: [Rd] \dontshow

2005-09-10 Thread Gabor Grothendieck
On 9/10/05, Gabor Grothendieck [EMAIL PROTECTED] wrote: On 9/10/05, Kurt Hornik [EMAIL PROTECTED] wrote: Gabor Grothendieck writes: On 9/9/05, Gabor Grothendieck [EMAIL PROTECTED] wrote: In R 2.2.0 I find that even if I use \dontshow in the examples section of an .Rd file

Re: [Rd] R.version.string (Re: MikTeX will be assumed in R 2.2.0 in Windows)

2005-09-10 Thread Gabor Grothendieck
On 9/10/05, Duncan Murdoch [EMAIL PROTECTED] wrote: Gabor Grothendieck wrote: On 9/9/05, Duncan Murdoch [EMAIL PROTECTED] wrote: I've just committed some changes to allow R to be built and to use MikTeX without needing the Rd.sty files to be installed to localtexmf. Unfortunately

Re: [Rd] Issue tracking in packages [was: Re: [R] change in, read.spss, package foreign?]

2005-09-10 Thread Gabor Grothendieck
On 9/10/05, Frank E Harrell Jr [EMAIL PROTECTED] wrote: I would vote for allowing a URL or external file name in in DESCRIPTION, whose contents could be automatically displayed for the user when needed. Our changelogs are automatically generated by CVS and are on the web. Normally I would

Re: [Rd] Issue tracking in packages [was: Re: [R] change in read.spss, package foreign?]

2005-09-10 Thread Gabor Grothendieck
On 9/10/05, Thomas Lumley [EMAIL PROTECTED] wrote: On Sat, 10 Sep 2005, Gabor Grothendieck wrote: And one more comment. The DESCRIPTION file does not record the location or existence of the various subdirectories such as R, man, exec, etc. If NEWS is to be recorded as a meta data line

Re: [Rd] two almost identical packages: best practice

2005-09-09 Thread Gabor Grothendieck
On 9/9/05, Robin Hankin [EMAIL PROTECTED] wrote: Hi I have written a whole bunch of methods for objects of class octonion. [ an octonion is a single column of an eight-row matrix. Octonions have their own multiplication rules and are a generalization of quaternions, which are columns of

[Rd] Issue tracking in packages [was: Re: [R] change in read.spss, package foreign?]

2005-09-09 Thread Gabor Grothendieck
On 9/9/05, Thomas Lumley [EMAIL PROTECTED] wrote: Many packages have a NEWS or ChangeLog file describing changes. You would typically have to look at the source package to find them, since by Unix tradition they are usually in the top-level directory and so are not included in the binary

Re: [Rd] Issue tracking in packages [was: Re: [R] change in read.spss, package foreign?]

2005-09-09 Thread Gabor Grothendieck
On 9/9/05, Thomas Lumley [EMAIL PROTECTED] wrote: On Fri, 9 Sep 2005, Gabor Grothendieck wrote: I personally put NEWS, WISHLIST and THANKS files in the 'inst' directory of all my source packages. This has the effect of copying them to the top level of the built version so

Re: [Rd] Issue tracking in packages [was: Re: [R] change in read.spss, package foreign?]

2005-09-09 Thread Gabor Grothendieck
On 9/9/05, Thomas Lumley [EMAIL PROTECTED] wrote: On Fri, 9 Sep 2005, Gabor Grothendieck wrote: How about if there were just a standard location and name such as inst/NEWS, inst/WISHLIST, inst/THANKS (which has the advantage that they are automatically made available in the built package

[Rd] \dontshow

2005-09-09 Thread Gabor Grothendieck
In R 2.2.0 I find that even if I use \dontshow in the examples section of an .Rd file that the code still shows. Has anyone else seen this? Are there any packages that use this facility that I could try in order to check this? I am using R.version.string # XP R version 2.2.0, 2005-09-03

[Rd] Copying libraries from one version of R to another (was Re: MikTeX will be assumed in R 2.2.0 in Windows)

2005-09-09 Thread Gabor Grothendieck
On 9/9/05, Duncan Murdoch [EMAIL PROTECTED] wrote: I've just committed some changes to allow R to be built and to use MikTeX without needing the Rd.sty files to be installed to localtexmf. Unfortunately, the changes are not compatible with other TeX packages, so if you're not using MikTeX

Re: [Rd] \dontshow

2005-09-09 Thread Gabor Grothendieck
On 9/9/05, Gabor Grothendieck [EMAIL PROTECTED] wrote: In R 2.2.0 I find that even if I use \dontshow in the examples section of an .Rd file that the code still shows. Has anyone else seen this? Are there any packages that use this facility that I could try in order to check this? I am

[Rd] CRAN, Bioconductor and ctv package dependency questions

2005-09-07 Thread Gabor Grothendieck
1. Can CRAN packages depend on Bioconductor packages and still pass R CMD check? That is can Suggests: and Depends: in the DESCRIPTION file contain Bioconductor packages or only other CRAN packages? Is there an example? 2. If a package depends on a Bioconductor package does one just list the

[Rd] system on windows vs. unix

2005-09-06 Thread Gabor Grothendieck
The R system command has different arguments on Windows and UNIX. I hadn't realized that and I think it would be nice if the input= argument available on Windows were available on UNIX too and the ignore.stderr= argument available on UNIX were avaliable on Windows too. Even without that I could

Re: [Rd] win.packages.html not found

2005-09-05 Thread Gabor Grothendieck
To answer my own question I had mixed up my library paths and it seemed that it was using the tools package from R 2.1 due to this error even though I was using R 2.2. Once I corrected that the error message goes away. On 9/5/05, Gabor Grothendieck [EMAIL PROTECTED] wrote: I am using Windows XP

Re: [Rd] Problem in R 2.2.0 with environments and [

2005-09-05 Thread Gabor Grothendieck
Sorry. I think this problem was actually the same one as my previous post where I set my library path wrong. Once I set it correctly both versions worked fine. On 9/5/05, Gabor Grothendieck [EMAIL PROTECTED] wrote: I have found a problem with R 2.2.0 under Windows XP. Under R 2.1.1 patched I

Re: [Rd] R CMD check and interfacing packages

2005-09-03 Thread Gabor Grothendieck
On 9/3/05, Uwe Ligges [EMAIL PROTECTED] wrote: Gabor Grothendieck wrote: For an R package whose purpose is to interface to other software, since such other software is not necessarily being on CRAN how does one proceed so that the R package can pass 'R CMD check'? None of the examples

[Rd] R CMD check and interfacing packages

2005-09-02 Thread Gabor Grothendieck
For an R package whose purpose is to interface to other software, since such other software is not necessarily being on CRAN how does one proceed so that the R package can pass 'R CMD check'? None of the examples or demos in the package can run without the software being interfaced to. Is

Re: [Rd] RFC: loop connections

2005-08-26 Thread Gabor Grothendieck
OK. I guess you want one of the core people to respond but in the interim can you explain the terminology loop? Also, do you have any prototypical applications in mind? On 8/26/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I accidentally left one small change out of my previous patch.

Re: [Rd] Typo(s) in proc.time.Rd and comment about ?proc.time (PR#8092)

2005-08-24 Thread Gabor Grothendieck
On 8/24/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: On Wed, 24 Aug 2005 [EMAIL PROTECTED] wrote: I just downloaded the file ftp://ftp.stat.math.ethz.ch/Software/R/R-devel.tar.gz and within proc.time.Rd, the second paragraph of the \value section

Re: [Rd] Which TEX for Wiindows

2005-08-23 Thread Gabor Grothendieck
On 8/23/05, Ales Ziberna [EMAIL PROTECTED] wrote: I am intending to instal TEX (for use with R - building, checking packages) on my WinXP SP2. I read that fptex is recomended, however http://www.fptex.org/ is not not available. Is MiKTeX the next best choice? Yes. Be sure to read:

Re: [Rd] Questions on \ vs / on Windows

2005-08-20 Thread Gabor Grothendieck
On 8/20/05, Seth Falcon [EMAIL PROTECTED] wrote: A recent thread on R-help reminded me of some questions I have regarding the path separator on Windows. The thread: [R] using paste and \ to create a valid filename The question: What are the use-cases where \ is required for paths passed

Re: [Rd] problem using model.frame()

2005-08-17 Thread Gabor Grothendieck
] wrote: On Wed, 2005-08-17 at 20:24 +0200, Martin Maechler wrote: GS == Gavin Simpson [EMAIL PROTECTED] on Tue, 16 Aug 2005 18:44:23 +0100 writes: GS On Tue, 2005-08-16 at 12:35 -0400, Gabor Grothendieck GS wrote: On 8/16/05, Gavin Simpson [EMAIL PROTECTED] wrote

Re: [Rd] problem using model.frame()

2005-08-16 Thread Gabor Grothendieck
On 8/16/05, Gavin Simpson [EMAIL PROTECTED] wrote: On Tue, 2005-08-16 at 11:25 -0400, Gabor Grothendieck wrote: It can handle data frames like this: model.frame(y1) or model.frame(~., y1) Thanks Gabor, Yes, I know that works, but I want the function coca.formula

Re: [Rd] [R] sequence()

2005-07-22 Thread Gabor Grothendieck
On 7/22/05, Prof Brian Ripley [EMAIL PROTECTED] wrote: R-help is not the list for R development questions: you didn't want help did you? -- moved to R-devel. I do wonder why sequence(c(0,-1)) [1] 1 0 1 0 -1 is considered useful. Given that the definition seems flawed and I

Re: [Rd] a possible bug in svmlight (PR#8012)

2005-07-18 Thread Gabor Grothendieck
Actually it does. Look in the examples section of ?svmlight On 7/18/05, Luke [EMAIL PROTECTED] wrote: If it is true, I wonder why the help page of svmlight doesn't mention this requirement explicitly. -Luke On 7/18/05, Gabor Grothendieck [EMAIL PROTECTED] wrote: The CRAN package does

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-17 Thread Gabor Grothendieck
On 7/17/05, Dirk Eddelbuettel [EMAIL PROTECTED] wrote: On 17 July 2005 at 20:55, Ayal Pinkus wrote: | R builds fine under Windows (though you need to pay attention to [...] | Ok. Unfortunately I work on a Mac OS X at home (I have access to | Windows, MS DevStudio Why didn't you say so

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-15 Thread Gabor Grothendieck
On 7/15/05, Rob J Goedman [EMAIL PROTECTED] wrote: I wonder how difficult it would be to translate expressions back and forth from R to yacas in either R or C++. And maybe strip 'In' and 'Out' like parts. Not sure how generally this works but see my prior post:

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-12 Thread Gabor Grothendieck
On 7/12/05, Søren Højsgaard [EMAIL PROTECTED] wrote: From time to time people request symbolic computations beyond what D() and deriv() etc can provide. A brief look at the internet shows that there are many more or less developed computer algebra packages freely available. Therefore, I

Re: [Rd] Computer algebra in R - would that be an idea??

2005-07-12 Thread Gabor Grothendieck
what the equivalent would be on unix?). Best regards Søren Fra: Simon Blomberg [mailto:[EMAIL PROTECTED] Sendt: on 13-07-2005 01:52 Til: Duncan Murdoch; Gabor Grothendieck Cc: Søren Højsgaard; r-devel@stat.math.ethz.ch Emne: Re: [Rd] Computer algebra

[Rd] Error message using Packages | Install | Cancel

2005-07-08 Thread Gabor Grothendieck
If we click on the Cancel button after the Packages | Install menu items in Windows 2.1.1 (dated 2005-06-23) it gives an error message. There really should be no error here since we intended not to install anything -- that is why we pressed Cancel. This is what appears on the console:

Re: [Rd] Sweave resource leak: leftover temp files (PR#7999)

2005-07-08 Thread Gabor Grothendieck
On 7/8/05, Duncan Murdoch [EMAIL PROTECTED] wrote: We're planning (or in the process of?) changing the bug reporting system, so this is only a temporary inconvenience. I think these points have been raised before but, just in case, some aspects of this, if its changing anyways, that would be

Re: [Rd] Error message using Packages | Install | Cancel

2005-07-08 Thread Gabor Grothendieck
On 7/8/05, Duncan Murdoch [EMAIL PROTECTED] wrote: On 7/8/2005 8:56 AM, Gabor Grothendieck wrote: If we click on the Cancel button after the Packages | Install menu items in Windows 2.1.1 (dated 2005-06-23) it gives an error message. There really should be no error here since we

Re: [Rd] Suggestion: Help users sort data frames

2005-07-08 Thread Gabor Grothendieck
This functionality does seem needed in base R to me too but in the interim you could create a package to make it available on CRAN or if that seems excessive for just one function you could contact the author of one of the multi-author packages and see if they would include it in their package.

Re: [Rd] write.csv (PR#7992)

2005-07-07 Thread Gabor Grothendieck
This may not be inconsistent with the documentation but it is inconsistent with good practice. Wrappers should, in general, set the default values, as the poster rightly indicated, and not the values themselves. Its not a coincidence that multiple people have mentioned this. On 7/7/05,

Re: [Rd] write.csv (PR#7992)

2005-07-07 Thread Gabor Grothendieck
[EMAIL PROTECTED] wrote: On 7/7/2005 12:38 PM, Gabor Grothendieck wrote: This may not be inconsistent with the documentation but it is inconsistent with good practice. Wrappers should, in general, set the default values, as the poster rightly indicated, and not the values themselves. Its

Re: [Rd] .Rbuildignore {was: ... upgrading an R (WINDOWS) installation ..}

2005-07-06 Thread Gabor Grothendieck
On 7/6/05, Martin Maechler [EMAIL PROTECTED] wrote: Gabor == Gabor Grothendieck [EMAIL PROTECTED] on Wed, 6 Jul 2005 08:24:49 -0400 writes: ... ... Gabor I have cleaned up my batch files (somewhat) and posted them to Gabor CRAN. See

Re: [Rd] .Rbuildignore {was: ... upgrading an R (WINDOWS) installation ..}

2005-07-06 Thread Gabor Grothendieck
On 7/6/05, Uwe Ligges [EMAIL PROTECTED] wrote: Gabor Grothendieck wrote: On 7/6/05, Martin Maechler [EMAIL PROTECTED] wrote: Gabor == Gabor Grothendieck [EMAIL PROTECTED] on Wed, 6 Jul 2005 08:24:49 -0400 writes: ... ... Gabor I have

Re: [Rd] .Rbuildignore {was: ... upgrading an R (WINDOWS) installation ..}

2005-07-06 Thread Gabor Grothendieck
On 7/6/05, Uwe Ligges [EMAIL PROTECTED] wrote: Gabor Grothendieck wrote: On 7/6/05, Uwe Ligges [EMAIL PROTECTED] wrote: Gabor Grothendieck wrote: On 7/6/05, Martin Maechler [EMAIL PROTECTED] wrote: Gabor == Gabor Grothendieck [EMAIL PROTECTED] on Wed, 6 Jul 2005 08:24:49

Re: [Rd] [R] How to convert c:\a\b to c:/a/b

2005-07-04 Thread Gabor Grothendieck
The readLines example, as written, does not work in sourced files and therefore will not work in the Examples section of .Rd pages either. Currently readLines does not process its input and I think it would not be a good idea to change that philosophy. On 7/4/05, Spencer Graves [EMAIL

[Rd] installing packages and libraries

2005-07-04 Thread Gabor Grothendieck
When I run the following: cd \Rpkgs rcmd install mypackage -l library I get a message that it cannot find quadprog which is a library that mypackage depends on. Error: package 'quadprog' could not be loaded I previously used C:\Program Files\R\rw2011\library as my library for CRAN

Re: [Rd] upgrading an R installation to next versoin

2005-06-30 Thread Gabor Grothendieck
On 6/30/05, J. Hosking [EMAIL PROTECTED] wrote: Gabor Grothendieck wrote: On 6/30/05, J. Hosking [EMAIL PROTECTED] wrote: ... I keep a separate directory ...\R\library for nonstandard packages, with environment variable R_LIBS set to the directory name. Do you mean your R_LIBS

Re: [Rd] upgrading an R installation to next versoin

2005-06-30 Thread Gabor Grothendieck
On 6/30/05, J. Hosking [EMAIL PROTECTED] wrote: Gabor Grothendieck wrote: On 6/30/05, J. Hosking [EMAIL PROTECTED] wrote: ... I keep a separate directory ...\R\library for nonstandard packages, with environment variable R_LIBS set to the directory name. Do you mean your R_LIBS

Re: [Rd] a hack regarding No documentation ....

2005-06-26 Thread Gabor Grothendieck
On 6/26/05, Mike R [EMAIL PROTECTED] wrote: ?somecharacters No documentation for 'somecharacters' in specified packages and libraries: you could try 'help.search(somecharacters)' I'm looking for some advice. I'd like to hack my source code in such a way that the empty prompt line above

Re: [Rd] Trouble with ifelse and if statement (PR#7962)

2005-06-21 Thread Gabor Grothendieck
On 6/21/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Full_Name: Woolton Lee Version: 2.1 OS: windows Submission from: (NULL) (128.118.224.46) I did the following ('g' and 'h' are both numeric vectors) i - abs(g-h) creating a vector 'i' with values, i [1] 0.08 0.00 0.33 0.00 0.00

Re: [Rd] by should use match.fun

2005-06-12 Thread Gabor Grothendieck
, iris$Species, summary) works as expected. Andy From: Gabor Grothendieck I noticed that, unlike similar functions, 'by' does not use match.fun, e.g. by(iris, iris$Species, summary) Error in FUN(X[[1]], ...) : couldn't find function FUN The 'by' code should have an initial line

Re: [Rd] by should use match.fun

2005-06-12 Thread Gabor Grothendieck
On 6/12/05, Simon Urbanek [EMAIL PROTECTED] wrote: On Jun 12, 2005, at 3:21 PM, Gabor Grothendieck wrote: On 6/12/05, Liaw, Andy [EMAIL PROTECTED] wrote: I don't get the point. ?by says: The point is that all other functions of this sort including apply, sapply, tapply, lapply

<    5   6   7   8   9   10