Re: [Rd] Rcheck Directory

2011-04-05 Thread Dirk Eddelbuettel
On 6 April 2011 at 12:00, Dario Strbenac wrote: | Hello, | | There seems to be a minor conflict of interesting in R CMD check. It creates a log directory, then gives a WARNING about it being there: | | * using log directory /home/darstr/Repitools_github/pkg/Repitools.Rcheck | * using R version

[Rd] Rcheck Directory

2011-04-05 Thread Dario Strbenac
Hello, There seems to be a minor conflict of interesting in R CMD check. It creates a log directory, then gives a WARNING about it being there: * using log directory /home/darstr/Repitools_github/pkg/Repitools.Rcheck * using R version 2.13.0 RC (2011-04-05 r55310) * using platform: x86_64-unknow

Re: [Rd] Rtools questions

2011-04-05 Thread Spencer Graves
On 4/5/2011 6:03 PM, Gabor Grothendieck wrote: On Tue, Apr 5, 2011 at 8:58 PM, Spencer Graves wrote: On 4/5/2011 5:01 PM, Gabor Grothendieck wrote: On Tue, Apr 5, 2011 at 7:51 PM, Henrik Bengtsson wrote: On Tue, Apr 5, 2011 at 3:44 PM, Duncan Murdoch wrote: On 11-04-05 6:22 PM, Spencer

Re: [Rd] Rtools questions

2011-04-05 Thread Gabor Grothendieck
On Tue, Apr 5, 2011 at 8:58 PM, Spencer Graves wrote: > On 4/5/2011 5:01 PM, Gabor Grothendieck wrote: >> >> On Tue, Apr 5, 2011 at 7:51 PM, Henrik Bengtsson >>  wrote: >>> >>> On Tue, Apr 5, 2011 at 3:44 PM, Duncan Murdoch >>>  wrote: On 11-04-05 6:22 PM, Spencer Graves wrote: > >>>

Re: [Rd] Rtools questions

2011-04-05 Thread Spencer Graves
On 4/5/2011 5:01 PM, Gabor Grothendieck wrote: On Tue, Apr 5, 2011 at 7:51 PM, Henrik Bengtsson wrote: On Tue, Apr 5, 2011 at 3:44 PM, Duncan Murdoch wrote: On 11-04-05 6:22 PM, Spencer Graves wrote: Hello: 1. How can I tell when the development version of Rtools has changed? I d

Re: [Rd] R CMD check for 2.13 rc

2011-04-05 Thread Henrik Bengtsson
I think normalizePath() has been moved to 'base' very++ recently. /H On Tue, Apr 5, 2011 at 5:00 PM, Dario Strbenac wrote: > Hi, > > I have a couple of new errors in our package when I check it on R 2.13-rc > (r55310). The first one that's mystifying me is > > * checking R code for possible pro

Re: [Rd] Rtools questions

2011-04-05 Thread Gabor Grothendieck
On Tue, Apr 5, 2011 at 7:51 PM, Henrik Bengtsson wrote: > On Tue, Apr 5, 2011 at 3:44 PM, Duncan Murdoch > wrote: >> On 11-04-05 6:22 PM, Spencer Graves wrote: >>> >>> Hello: >>> >>> >>>        1.  How can I tell when the development version of Rtools has >>> changed? >> >> I don't make announce

[Rd] R CMD check for 2.13 rc

2011-04-05 Thread Dario Strbenac
Hi, I have a couple of new errors in our package when I check it on R 2.13-rc (r55310). The first one that's mystifying me is * checking R code for possible problems ... NOTE Error : object normalizePath is not exported by 'namespace:utils' Error : object normalizePath is not exported by 'namesp

Re: [Rd] Rtools questions

2011-04-05 Thread Henrik Bengtsson
On Tue, Apr 5, 2011 at 3:44 PM, Duncan Murdoch wrote: > On 11-04-05 6:22 PM, Spencer Graves wrote: >> >> Hello: >> >> >>        1.  How can I tell when the development version of Rtools has >> changed? > > I don't make announcements of the changes, you just need to check the web > site.  There are

Re: [Rd] Rtools questions

2011-04-05 Thread Duncan Murdoch
On 11-04-05 6:22 PM, Spencer Graves wrote: Hello: 1. How can I tell when the development version of Rtools has changed? I don't make announcements of the changes, you just need to check the web site. There are online tools that can do this for you automatically, but I don't know w

Re: [Rd] Rtools questions

2011-04-05 Thread Simon Urbanek
Rtools don't provide TeX - that's entirely up to you - so I suspect it may not have anything to do with the Rtools version but rather your TeX installation... Cheers, Simon On Apr 5, 2011, at 6:22 PM, Spencer Graves wrote: > Hello: > > > 1. How can I tell when the development version of

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

2011-04-05 Thread Göran Broström
5 apr 2011 kl. 21.01 skrev Gabor Grothendieck: > 2011/4/5 Göran Broström : >> >> 5 apr 2011 kl. 18.25 skrev Gabor Grothendieck: >> >>> 2011/4/5 Göran Broström : 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, ho

[Rd] Rtools questions

2011-04-05 Thread Spencer Graves
Hello: 1. How can I tell when the development version of Rtools has changed? For the past few years, I've installed the development version of R tools with each new release of R. I encountered problems with this a few days ago, so I rolled back to Rtools212.exe. Unfortunately, I se

Re: [Rd] question about assignment warnings for replacement methods

2011-04-05 Thread Marc Carlson
Thank you for the clarifications Duncan. Marc On 04/05/2011 11:15 AM, Duncan Murdoch wrote: On 05/04/2011 1:51 PM, Marc Carlson wrote: Hi, I have seen several packages that with the most recent version of R are giving a warning like this: Assignments in \usage in documentation object 'mar

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

2011-04-05 Thread Gabor Grothendieck
2011/4/5 Göran Broström : > > 5 apr 2011 kl. 18.25 skrev Gabor Grothendieck: > >> 2011/4/5 Göran Broström : >>> 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

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

2011-04-05 Thread Göran Broström
5 apr 2011 kl. 18.25 skrev Gabor Grothendieck: > 2011/4/5 Göran Broström : >> 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 al

Re: [Rd] question about assignment warnings for replacement methods

2011-04-05 Thread Duncan Murdoch
On 05/04/2011 1:51 PM, Marc Carlson wrote: Hi, I have seen several packages that with the most recent version of R are giving a warning like this: Assignments in \usage in documentation object 'marginalData-methods': marginalData(object) = value I assume that this is to prevent people from mak

[Rd] question about assignment warnings for replacement methods

2011-04-05 Thread Marc Carlson
Hi, I have seen several packages that with the most recent version of R are giving a warning like this: Assignments in \usage in documentation object 'marginalData-methods': marginalData(object) = value I assume that this is to prevent people from making assignments in their usage statements

[Rd] super basic questions about S4 classes

2011-04-05 Thread A Zege
Apologies for asking something that is probably super obvious, i just started with S4 classes and i guess i am not finding documentation that layout the grammar rules and give enough examples. Some questions i am having are these 1. I understand that main method of writing a member function is to

Re: [Rd] Use keep.source for function in package with lazy loading

2011-04-05 Thread Greg Snow
Prof. Ripley, Thanks for the explanation. I had set both keep.source and keep.source.packages to TRUE for my experiments, but had not realized that a new R process would be involved, so did not try the environmental variable approach. >From what you say below, I don't think I am going to acco

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

2011-04-05 Thread Gabor Grothendieck
2011/4/5 Göran Broström : > 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 different name but yo

[Rd] Names of a data set in a package

2011-04-05 Thread Göran Broström
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. Thanks, Göran -- Göran Broström Department of Statistics Umeå University SE-90187 Umeå, Sweden __

Re: [Rd] Bug in as.data.frame.POSIXct?

2011-04-05 Thread Hadley Wickham
Any comments on this? Otherwise I will just submit a bug report. Hadley On Thu, Mar 31, 2011 at 10:30 AM, Hadley Wickham wrote: >> a <- as.POSIXct(1:2, origin="2011-01-01") >> dim(a) <- c(1, 2) >> as.data.frame(a) >                    a > 1 2011-01-01 00:00:01 > 2 2011-01-01 00:00:02 >> >> dim(a)

[Rd] Inconsistency between rowMeans documentation and reality?

2011-04-05 Thread Gavin Simpson
Dear List, I'm not even sure this is an issue or not, but ?rowMeans has: Value: A numeric or complex array of suitable size, or a vector if the result is one-dimensional. The ‘dimnames’ (or ‘names’ for a vector result) are taken from the original array. If there are no valu