similar to: (no subject)

Displaying 20 results from an estimated 2000 matches similar to: "(no subject)"

2010 Jun 09
0
Extract/format/show for S4 objects (Johann Hibschman)
Johann, Following up on Gabor's reply, the mondate package (new on CRAN last week) will accomplish your needs. >I'm trying to make an integer-backed quarter (as in fraction of year) >class, but I can't quite it to work. I want integer-backed so I don't >have to worry about floating-point effects when doing math, and so that >I can use it as in data.table. mondate
2012 Oct 30
3
subtract a time period from a date
Hello everybody, how can I reduce e.g. 30 days from a date? When I do the following "2011-05-01 CEST" -"2011-04-01 CEST" I get: "Time difference of 30 days" an thats fine. But when I try "2011-05-01 CEST" - 30 I get nonsense. So how can I subtract some days, month or years from a date? thanking you in anticipation Claudia Paladini
2012 Jul 23
2
date conversation
Hello, when I convert a factor like this a=01.10.2009 into a date using b=strptime(a, format="%d. %m. %Y"). It works very well. But when I try to convert c = 2009/10 into a date using d=strptime(c, format="%Y/%m") it doesnt work at all. I get d=NA. What did I do wrong? Thank you very much for your help! best regards Claudia
2019 May 06
1
Bug in function boxplot's axis labeling
Dear developeRs, I appreciate that boxplot now labels the axes with variable names per default. However, with argument "horizontal=TRUE" (which I always use), the default axis labels are mixed up, as can e.g. be seen with require(boot) boxplot(time ~ poison, poisons, horizontal=TRUE) The correct labels would be obtained by boxplot(time ~ poison, poisons, horizontal=TRUE,
2013 Sep 06
1
Importing function that is previously imported by other package
Dear developeRs, I encounter the following problem: in the current version of my package FrF2, certain calls to a functioni do not work when package combinat is loaded, because function combn from combinat masks the function from utils that my package uses. I tried to solve this issue by importing function combn into the namespace of FrF2; I don't need to export it, I just want to use it
2016 Apr 07
0
dynamic reports with sweave: error when compiling the tex-file
Definitely yes I just tried a one line latex document and it bombed with \begin{ document } but is fine with \begin{document} . I think the spaces within the {} must all be removed. Latex does not like spaces John Kane Kingston ON Canada > -----Original Message----- > From: jdnewmil at dcn.davis.ca.us > Sent: Thu, 07 Apr 2016 05:42:57 -0700 > To: paladini at trustindata.de, r-help
2013 Feb 12
2
Private environments and/or assignInMyNamespace
Dear DevelopeRs, I've been struggling with the new regulations regarding modifications to the search path, regarding my Rcmdr plugin package RcmdrPlugin.DoE. John Fox made Rcmdr comply with the new policy by removing the environment RcmdrEnv from the search path. For the time being, he developed an option that allows users to put the environment from Rcmdr (RcmdrEnv) on the search path,
2004 Nov 23
1
Batch
Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Received-SPF: none (hypatia: domain of claudiapaladini at web.de does not designate permitted sender hosts) X-Virus-Scanned: by amavisd-new at stat.math.ethz.ch X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on hypatia.math.ethz.ch X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0
2006 Mar 21
5
How to use: library lattice: barchart
Dear ladies and gentlemen! In the help text for the xyplot (library(lattice), help(xyplot)) is an example given how one can use barchart: barchart(yield ~ variety | site, data = barley, groups = year, layout = c(1,6), ylab = "Barley Yield (bushels/acre)", scales = list(x = list(abbreviate = TRUE, minlength = 5)))
2010 Jul 10
7
Need help on date calculation
Hi all, please see my code: > library(zoo) > a <- as.yearmon("March-2010", "%B-%Y") > b <- as.yearmon("May-2010", "%B-%Y") > > nn <- (b-a)*12 # number of months in between them > nn [1] 2 > as.integer(nn) [1] 1 What is the correct way to find the number of months between "a" and "b", still
2003 May 09
1
OH323 Channel Driver buffer sizes
Hello! Anyone with some insight into the oh323 channel driver please shed some light on the code block below from wrapendpoint.cxx. When enabling trace on the channel driver i get this, for me, strange debug info: WrapH323EndPoint::OpenAudioChannel: Direction => PLAYER, Buffer => 320 WrapH323EndPoint::OpenAudioChannel: FrameSize 8, FrameTime 8, TimeUnits 8
2007 Feb 21
1
Adding difftime objects to POSIXt objects
Hello, ?DateTimeClasses states that "one can add or subtract a number of seconds or a 'difftime' object from a date-time object, but not add two date-time objects." So, is the below expected behavior? > x <- Sys.time() > x [1] "2007-02-21 16:19:56 CST" > x + as.difftime("1","%H") [1] "2007-02-21 16:19:57 CST" Warning
2010 Aug 22
2
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ * DCGL (1.0) Bao-Hong Liu http://crantastic.org/packages/DCGL Functions for basic differential coexpression analyses: gene filtering, link filtering, DCG (Differentially-Coexpressed Gene) identification and DCL (Differentially-Coexpressed Links) identification.Two algorithms,named DCP and DCe, are provided for
2009 Nov 16
0
(Date + difftime) and (POSIXt + difftime) does not use date/time arithmetics (PR#14067)
Full_Name: Suharto Anggono Version: 2.8.1 OS: Windows Submission from: (NULL) (125.165.81.48) There is already PR#13369. But, the problem is not just the warning. C:\Program Files\R\R-2.8.1\bin>R --vanilla R version 2.8.1 (2008-12-22) Copyright (C) 2008 The R Foundation for Statistical Computing ISBN 3-900051-07-0 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome
2010 Apr 07
2
dovecot upgrade problems
Hi list, i made an upgrade from dovecot 1.0RC15 to 1.1.20 the default installation was under /etc/dovecot. The upgrade installation was made under /usr/local/etc. After that i changed all the paths in the /usr/local/etc/dovecot.conf and the dovecot-binary to work with the new installation. Even path-changes were made for /etc/init.d/dovecot to work with the version 1.1.20. Changes in the
2005 Nov 23
3
date/time arithmetic
On the help page "DateTimeClasses {base}" it says: "One can add or subtract a number of seconds or a difftime object from a date-time object, but not add two date-time objects." However, > x<-Sys.time(); y<-Sys.time()+3600 > diff<-y-x > x; y; diff [1] "2005-11-23 19:58:20 GMT" [1] "2005-11-23 20:58:20 GMT" Time difference of 1 hours
2009 Feb 06
1
Operations on difftime (abs, /, c)
Since both comparison and negation are well-defined for time differences, I wonder why abs and division are not defined for class difftime. This behavior is clearly documented on the man page: "limited arithmetic is available on 'difftime' objects"; but why? Both are natural, semantically sound, and useful operations and I see no obvious reason that they should give an error:
2009 Feb 06
1
Operations on difftime (abs, /, c)
Since both comparison and negation are well-defined for time differences, I wonder why abs and division are not defined for class difftime. This behavior is clearly documented on the man page: "limited arithmetic is available on 'difftime' objects"; but why? Both are natural, semantically sound, and useful operations and I see no obvious reason that they should give an error:
2009 Nov 19
0
Wishlist: In documentation, say that `+.Date`(Date, difftime) should be called directly or remove 'or an object of class "difftime"' (PR#14072)
Full_Name: Suharto Anggono Version: 2.8.1 OS: Windows Submission from: (NULL) (125.161.134.206) About PR#14067, now I understand why (Date + difftime) does not use '+.Date'. But, before I understand, it was surprising. The surprise is also reflected in the post "Problem with +(POSIXt, difftime) dispatching -- WAS: How to create sequence of constant time interval" in R-help
2018 Aug 01
1
RFC: make as.difftime more consistent or convenient
Hello! you, Emil Bode <emil.bode at dans.knaw.nl>, wrote on Tuesday, July 31, 2018 1:55 PM: > Some of the changes you're proposing could be made (with effort), but note that you're not > restricted to providing strings with a format. > What you're trying to do can be accomplished with as.difftime(12, units='weeks'), see also > ?as.difftime > > Or if