Displaying 20 results from an estimated 500 matches similar to: "Possible bug in class 'POSIXlt' when including microseconds?"
2013 Apr 24
1
Floating point precision causing undesireable behaviour when printing as.POSIXlt times with microseconds?
Dear list,
When using as.POSIXlt with times measured down to microseconds the default format.POSIXlt seems to cause some possibly undesirable behaviour:
According to the code in format.POSIXlt the maximum accuracy of printing fractional seconds is 1 microsecond, but if I do;
options( digits.secs = 6 )
as.POSIXlt( 1.000002 , tz="", origin="1970-01-01")
as.POSIXlt( 1.999998 ,
2006 Mar 01
4
Delayed input posting
Dear all,
I''d like to post input field a short delay after last key press (similar
like a delay in autocomplete field). Is there anything already done
somewhere, maybe some kind of a streched-down autocomplete field just
for such purpose? If no, have anyone an idea how can I do that (as a not
very knowledgeable in JavaScript)?
Thanks for any help
Janko
2011 Jun 03
2
Bug or feature: using "ANY" as a generic field class (was: '[R] Is there a (virtual) class that all R objects inherit from?)
Dear list,
I was wondering if you could help me out in clarifying something:
Is it possible to use class "ANY" in slots/fields of formal classes if you
a) do not want to restrict valid classes of that field and
b) if you are making explicit use of class inheritance?
It seems to work in simple scenarios but produces errors when class
inheritance comes into play. So I was
2010 Aug 17
4
Problems building own package (Error: "package has been build before R-2.10.0")
Dear List,
I’m doing my first baby steps towards developing own R Packages and ran into
the following problem:
R CMD check mypackage works fine (no errors, no warnings)
R CMD build mypackage works fine (no errors, no warnings)
R CMD INSTALL –library=”C:\R\R-2.11.1\library”
“something\mypackage\mypackage_1.0.tar.gz” works fine (no errors, no
warnings)
However, when I try loading the
2010 Aug 17
4
Problems building own package (Error: "package has been build before R-2.10.0")
Dear List,
I’m doing my first baby steps towards developing own R Packages and ran into
the following problem:
R CMD check mypackage works fine (no errors, no warnings)
R CMD build mypackage works fine (no errors, no warnings)
R CMD INSTALL –library=”C:\R\R-2.11.1\library”
“something\mypackage\mypackage_1.0.tar.gz” works fine (no errors, no
warnings)
However, when I try loading the
2014 Dec 15
3
Significant memory leak when using XML on Windows
Thanks a lot for answering. Before I get into it, please note that
everything below bears the big capture "Thanks for trying to help me at
all".
1) Yeah, those examples - quite hard to satisfy everyone's needs ;-) While
the one side complained that my past examples regarding this issue were not
informative enough, others didn't like the more elaborated version (as
seems to be
2014 Nov 27
2
Feature request: mixing `...` (three dots) with other formal arguments in S4 methods
Hi Gabriel,
and thanks for answering. I'm basically just trying to find a way to use
the power of `...` in more complex scenarios and I'm well aware that this
might not be the best approach ;-)
Regarding your actual question:
"Are you suggesting methods be dispatched based on the *contents* of ...
[...]?"
Yes, I guess currently I kind of do - but not on the argument *names*
2010 Sep 03
2
Stats not loaded? Method for as.ts() results in error
Dear list,
I've got the following problem:
In a package I'm trying to build, there exists a method for the function
"as.ts()". When checking the package, R always throws the error that it
cannot find a function called "as.ts". To me it seems that the package
"stats" (home of "as.ts()") is not loaded during the checking process even
though
2014 Dec 11
3
Significant memory leak when using XML on Windows
Dear list,
I'm sorry to keep coming back with this time and time again, but this bug
is still not fixed even though the root cause of the issue has been around
for 2-3 years now. And as the number of packages that depend on XML grows,
I thought maybe this deserves some wider attention.
I did my best to make reproduction of the issue as easy as possible:
2014 Nov 27
2
Feature request: mixing `...` (three dots) with other formal arguments in S4 methods
Dear List,
I'm currently investigating if the argument dispatch mechanism based on
`...` could somehow be "generalized" to scenarios that involve `r`
recipients located across `c` calling stack layers *and* combined with the
S4 method mechanism (for those interested see
2009 Aug 21
1
Function "nsl()" missing in package utils
Dear list,
today I stumbled across the function ?nsl()? for the first time in order to
perform a hostname lookup. According to the R Reference Index (Version
2.9.1, page 1522), the function should be part of the "utils" package.
However, I cannot find it in the utils package of my installation(s). I've
tried the R-versions 2.8.1, 2.9.0 and 2.9.1.
I'd be very thankful if
2010 Oct 14
2
Including data in packages
Dear List,
I would like to include a couple of objects in a package I am developing and
I don't really get it yet. The objects should be available after package
load as some functions depend on it.
I tried the following:
1) Bundling all objects that I need in the file '/R/sysdata.rda' as
described in the "Writing R Extensions" manual on page 7
2)
2014 Nov 28
1
Feature request: mixing `...` (three dots) with other formal arguments in S4 methods
Well, the benefit lies in the ability to pass along arguments via `...` to
more than one recipient that use *identical argument names* and/or when
these recipients are not necessarily located on the same calling stack
layer.
I'm *not* after a *general* change in the way arguments are
dispatched/functions are called as I'm actually a big friend of keepings
things quite explicit (thus
2007 Feb 18
11
Tabulation with ENTER key
Dear all,
I think this can be interesting for others too. For a while I tried to
solve that problem - how to tabulate with ENTER/RETURN key too and not
only with TAB.
You know the problem - you are entering a lot of numbers from numeric
keypad but you need to go far left to press TAB. This prevents one-hand
data entry and prohibits web apps to be used by accountants, for instance.
Here is a
2010 Nov 17
2
Reference classes: accessor functions via 'getRefClass(...)$accessors(...)'
Hi there,
I''d like to choose between an "static" and "dynamic" access of a reference
class field, say ''a''.
myObj <- getRefClass("Blabla")$new()
Static: myObj$a
Dynamic: myObj$a.get() where the function retrieves the data
from a database (or some other location), stores it to a buffer and
2011 Feb 16
2
Avoiding name clashes: opinion on best practice naming conventions
Dear List,
I'm trying to figure out some best practice way with respect to the naming
conventions when building own packages.
I'd like to minimize the risk of choosing function names that might
interfere with those of other packages (both available ones and those yet to
come).
I came up with following alternatives
1. Prefixing the actual names (e.g. myPkgfoo() instead of foo()): pretty
2010 Nov 21
1
reference classes: question on inheritance
Dear list,
I have a reference class which should act as a "generic" superclass for
other classes. I've read the respective section at ?setRefClass and put the
name of the superclass to the 'contains' argument of an example subclass
(see class defs below). Classnames are set in a way that shouldn't result in
collation issues (virtual def sourced before superclass def
2010 Nov 04
2
Roxygen: @example tag does not work for me
Dear list,
somehow I can't get the Roxygen tag "@example" to work for me.
My "Roxygen-Header" of a script containing, say, a function looks like this:
#' My header
#'
#' My description
#'
#' @param a Blabla.
#' @param b Blabla.
#' @return \code{TRUE}.
#' @callGraphPrimitives
#' @references
#'
2006 Jan 14
3
In place editing and external control
Dear all,
First I''d like to thank authors for so nice Scriptaculous and Prototype
libraries, which helped me already a lot!
I have question regarding externalControl parameter in InPlaceEditor. If
I understand correctly, I can use that to have one image as a trigger to
enter edit mode? I tried with below code but without success:
<span id="id1">My text</span>
2011 Mar 07
1
WG: Reference classes: error with missing arguments in method calls
Dear list,
a while ago I posted this at r-devel but got no answers. Hope it?s okay to
give it a shot again by cross-posting it here.
TIA for any comments,
Janko
Von: Janko Thyson [mailto:janko.thyson.rstuff at googlemail.com]
Gesendet: Montag, 21. Februar 2011 00:58
An: r-devel at r-project. org (r-devel at r-project.org)
Betreff: Reference classes: error with missing arguments in method calls