[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: -> lapply -> FUN -> .find.package Execu

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

2009-12-21 Thread Duncan Murdoch
Liviu Andronic wrote: 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: -> lapply -> FU

[Rd] proposal for new axis.Date/axis.POSIXct

2009-12-21 Thread Felix Andrews
Hi R-devel. I've noticed a couple of quirks in the current time/date axis functions (axis.Date, axis.POSIXct, and the equivalents in lattice). Looking at the code, it seems like a fairly ad-hoc approach, often using pretty() on components of the time. This is not always ideal - for example a one-h

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

2009-12-21 Thread Liviu Andronic
Hello On 12/21/09, Duncan Murdoch 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. Regards Liviu ___

[Rd] a little bug for the function 'sprintf' (PR#14161)

2009-12-21 Thread baoliqin
Dear R-ers, I am a gratuate student from South China University of Technology. I fond the function 'sprintf' in R2.10.1 have a little bug(?): When you type in the example codes: > sprintf("%s is %f feet tall\n", "Sven", 7.1) and R returns: [1] "Sven is 7.10 feet tall\n" this is very diffe

[Rd] cut.POSIXt problem with breaks= "quarter" (PR#14162)

2009-12-21 Thread shmunde
Full_Name: Qing Xia Version: 2.10.0 OS: Windows XP Submission from: (NULL) (213.71.23.233) I find, when I use "cut" function to cut date-time objects based on breaks = "quarter", there exists a problem. It means, if the date-time has "-MM-30" or "-MM-31", then "cut" runs not correctly, it

Re: [Rd] a little bug for the function 'sprintf' (PR#14161)

2009-12-21 Thread Peter Dalgaard
baoli...@gmail.com wrote: Dear R-ers, I am a gratuate student from South China University of Technology. I fond the function 'sprintf' in R2.10.1 have a little bug(?): When you type in the example codes: sprintf("%s is %f feet tall\n", "Sven", 7.1) and R returns: [1] "Sven is 7.10 feet

Re: [Rd] cut.POSIXt problem with breaks= "quarter" (PR#14162)

2009-12-21 Thread Gabor Grothendieck
as.yearqtr in the zoo package could be used as a workaround until cut is fixed. > as.yearqtr(as.Date(c("2009-03-21","2009-03-31"))) [1] "2009 Q1" "2009 Q1" > as.Date(as.yearqtr(as.Date(c("2009-03-21","2009-03-31" [1] "2009-01-01" "2009-01-01" On Mon, Dec 21, 2009 at 7:45 AM, wrote: > Full_

Re: [Rd] a little bug for the function 'sprintf' (PR#14161)

2009-12-21 Thread savicky
> When you type in the example codes: > > > sprintf("%s is %f feet tall\n", "Sven", 7.1) > > and R returns: > > [1] "Sven is 7.10 feet tall\n" > > this is very different from the 'sprintf' function in C/C++, for in C/C++, > the format string "\n" usually represents a new line, but here, jus

Re: [Rd] a little bug for the function 'sprintf' (PR#14161)

2009-12-21 Thread Ted Harding
On 21-Dec-09 17:36:12, Peter Dalgaard wrote: > baoli...@gmail.com wrote: >> Dear R-ers, >> I am a gratuate student from South China University of Technology. >> I fond the function 'sprintf' in R2.10.1 have a little bug(?): >> >> When you type in the example codes: >> >>> sprintf("%s is %f feet t

Re: [Rd] a little bug for the function 'sprintf' (PR#14161)

2009-12-21 Thread hadley wickham
> The thing that is confusing you is that strings are DISPLAYED using the same > escape-character mechanisms as used for input. Compare > >> cat(s) > Sven is 7.10 feet tall See also: http://en.wikipedia.org/wiki/The_Treachery_of_Images http://www.youtube.com/watch?v=sShMA85pv8M Hadley -- h