[Rd] duplicated() variation that goes both ways to capture all duplicates

2012-07-23 Thread Liviu Andronic
Dear all The trouble with the current duplicated() function in is that it can report duplicates while searching fromFirst _or_ fromLast, but not both ways. Often users will want to identify and extract all the copies of the item that has duplicates, not only the duplicates themselves. To take the

Re: [Rd] 'data.frame' method for base::rep()

2011-08-03 Thread Liviu Andronic
Hello David On Tue, Aug 2, 2011 at 4:14 PM, David Winsemius dwinsem...@comcast.net wrote: x - data.frame(a = as.Date('2000-01-01'), b=as.Date('2001-01-01')) x$d - x$a -x$b require(mefa) rep(x, 2)           a          b    d 1 2000-01-01 2001-01-01 -366 2 2000-01-01 2001-01-01 -366

[Rd] 'data.frame' method for base::rep()

2011-08-02 Thread Liviu Andronic
Dear R developers Would you consider adding a 'data.frame' method for the base::rep function? The need to replicate a df row-wise can easily arise while programming, and rep() is unable to handle such a case. See below. x - iris[1, ] x Sepal.Length Sepal.Width Petal.Length Petal.Width Species

Re: [Rd] No RTFM?

2010-08-22 Thread Liviu Andronic
On Mon, Aug 23, 2010 at 7:04 AM, Paul Johnson pauljoh...@gmail.com wrote: I can tell. I wish sessionInfo would just grab the locale information. Here it does so by default: locale info is included in sessionInfo output. Regards Liviu sessionInfo() R version 2.10.1 (2009-12-14)

[Rd] fortune? (was: Re: How do you make a formal feature request?)

2010-08-21 Thread Liviu Andronic
Dear all I was wondering whether such a long post could be fortune-ed. What do you think? Regards Liviu On Sat, Aug 21, 2010 at 9:33 PM, Sharpie ch...@sharpsteen.net wrote: Well, I can think of three ways it can go down: 1.  You want a shiny new pony. You ask about it on the mailing list

[Rd] Make a donation via PayPal? (was: [R] Monetary support to the R-project)

2010-04-01 Thread Liviu Andronic
Dear R developers I understand that this is not a proper r-devel message, but it still touches to the organisation of the R project. I would like to make a small donation to the project, but I am not comfortable with sending my credit card details via post or mail and, as echoed elsewhere on

[Rd] checking Rd cross-references ... WARNING

2009-12-21 Thread Liviu Andronic
Dear all I am getting this strange error when checking my package. Would you have an idea what causes it? Thank you Liviu * checking Rd cross-references ... WARNING Error in .find.package(package, lib.loc) : there is no package called 'KernSmooth' Calls: Anonymous - lapply - FUN -

Re: [Rd] checking Rd cross-references ... WARNING

2009-12-21 Thread Liviu Andronic
Hello On 12/21/09, Duncan Murdoch murd...@stats.uwo.ca wrote: R version 2.10.0 (2009-10-26) Do you get the same message in 2.10.1? I no longer get the warning after I installed r-recommended and r-cran-kernsmooth, without upgrading to 2.10.1. Perhaps this is a Debian specific issue.

Re: [Rd] options(width=100) ignored on start-up: bug or feature?

2009-12-07 Thread Liviu Andronic
On 12/7/09, Liviu Andronic landronim...@gmail.com wrote: Is it normal that R ignores options(width=100) at start-up? Although li...@debian-liv:~$ cat /usr/lib/R/etc/Rprofile.site | grep width options(width = 100) Found the issues. In the config, Rcmdr was starting after the options

[Rd] options(width=100) ignored on start-up: bug or feature?

2009-12-06 Thread Liviu Andronic
Dear developers I've tried this a couple of days ago on r-help, unfortunately with no feedback. Could you please take a look and confirm whether it's a bug, feature, or bad eye-sight when reading Help: Is it normal that R ignores options(width=100) at start-up? Although li...@debian-liv:~$ cat

[Rd] strange crashes caused by 'cairoDevice' and 'tcltk' dialogues

2009-11-19 Thread Liviu Andronic
Dear developers I get some strange crashes when 'cairoDevice' and 'tcltk' are both loaded in the same R vanilla session. When executing the following in that order require(relimp) require(cairoDevice) showData (iris) I get a crash with the following message (see R-relimp-cairoDevice.txt): The

[Rd] improving ?RweaveLatex

2009-08-22 Thread Liviu Andronic
Dear developers Please read below. On 6/25/09, Marc Schwartz marc_schwa...@me.com wrote: You can use the following *after* the \begin{document} directive: \setkeys{Gin}{width=0.8\textwidth} The above is the default. Reset it to what you would like. Note, as per that manual page, that

[Rd] sessionInfo() fails to correctly detect locale settings

2009-08-21 Thread Liviu Andronic
Dear R devels Yesterday I was slightly surprised to notice that R incorrectly detected some of the locale settings. I am not sure whether this is important, but I preferred to drop a message. In the R output below, some entries that should have been en_GB.UTF-8 are presented as C. Regards Liviu

[Rd] Printing the null hypothesis

2009-08-16 Thread Liviu Andronic
Dear R developers, Currently many (all?) test functions in R describe the alternative hypothesis, but not the the null hypothesis being tested. For example, cor.test: require(boot) data(mtcars) with(mtcars, cor.test(mpg, wt, met=kendall)) Kendall's rank correlation tau data: mpg and

Re: [Rd] Printing the null hypothesis

2009-08-16 Thread Liviu Andronic
Hello, On 8/16/09, Ted Harding ted.hard...@manchester.ac.uk wrote: I don't know about *compelling* reasons! But (as a general rule) if the Alternative Hyptohesis is stated, then the Null Hypothesis is simply its negation. So, in your example, you can infer H0: true tau equals 0 Ha:

Re: [Rd] Printing the null hypothesis

2009-08-16 Thread Liviu Andronic
On 8/16/09, Ted Harding ted.hard...@manchester.ac.uk wrote: Oh, I had a slightly different H0 in mind. In the given example, cor.test(..., met=kendall) would test H0: x and y are independent, but cor.test(..., met=pearson) would test: H0: x and y are not correlated (or `are linearly

Re: [Rd] Floating point precision / guard digits? (PR#13771)

2009-06-22 Thread Liviu Andronic
On 6/20/09, Dr. D. P. Kreil dpkr...@gmail.com wrote: you can suggest an online resource to help me use the right vocabulary and better understand the fundamental concepts, I am of course There is in R the accuracy [1] package. It has a vignette (and paper) dealing with various computational

Re: [Rd] proposed changes to RSiteSearch

2009-05-07 Thread Liviu Andronic
Dear Jonathan, On Thu, May 7, 2009 at 4:18 PM, Jonathan Baron ba...@psych.upenn.edu wrote: can't imagine that someone would want to search just vignettes and not help pages, or the reverse. Searching vignettes only can be of interest to users. If someone is interested in (full-fledged) code

Re: [Rd] Google Summer of Code 2009

2009-02-19 Thread Liviu Andronic
On Thu, Feb 19, 2009 at 3:47 PM, Sklyar, Oleg (London) oskl...@maninvestments.com wrote: I do think there is a need for an interactive graphics package for R. There are also the GTK-based playwith, and latticist; unsure though whether they fit your requirements. Liviu -- Do you know how to

Re: [Rd] Identifying graphics files produced by R

2009-02-15 Thread Liviu Andronic
On Sun, Feb 15, 2009 at 8:48 PM, Paul Murrell p.murr...@auckland.ac.nz wrote: I know that pdf() adds similar Creator information. I don't recall seeing anything like this for the raster devices, but I've worked less with them so I don't know for sure. By default PDF vector graphs get: