Displaying 20 results from an estimated 4000 matches similar to: "Significant memory leak when using XML on Windows"
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 Dec 15
0
Significant memory leak when using XML on Windows
Sorry guys, didn't see your responses before sending mine.
Thanks jeroen!! I'll test your version today and get back to you.
Gesendet von meinem Smartphone
Am 15.12.2014 12:12 schrieb "Janko Thyson" <janko.thyson at gmail.com>:
> Thanks a lot for answering. Before I get into it, please note that
> everything below bears the big capture "Thanks for trying to
2014 Dec 15
1
Significant memory leak when using XML on Windows
Janko and I have been in touch.
This is, I believe, a Windows specific issue and a compilation issue.
I could be wrong, but that is my impression from other reports.
When I have time (?! :-)), I will deal with it. Hopefully this will
be very soon.
Thanks Janko.
D.
On 12/14/14, 7:54 PM, Jeroen Ooms wrote:
> On Thu, Dec 11, 2014 at 12:13 PM, Janko Thyson
> <janko.thyson at gmail.com
2014 Dec 15
0
Significant memory leak when using XML on Windows
On Thu, Dec 11, 2014 at 12:13 PM, Janko Thyson <janko.thyson at gmail.com>
wrote:
>
> I'd so much appreciate if someone could have a look at this. If I can be of
> any help whatsoever, please let me know!
>
Your current code uses various functions from XML and rvest so it is not a
*minimal* reproducible example. Even if you are unfamiliar with C, you
should be able to
2010 Mar 15
1
XML: Slower parsing over time with htmlTreeParse()
Sorry, I listed the wrong package in the header of my previous post!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Dear List,
has anyone of you experienced a significant increase in the time it takes to
parse an URL via "htmlTreeParse()" when this function is called
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
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
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
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 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
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 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
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
#'
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 Sep 17
3
How to set up an own package repository
Dear List,
I'd like to set up a package repository so I can use install.packages() on
it for home-grown packages. I set up an AMPP infrastructure on a windows box
already, but I'm pretty lost with respect to what to do next as I didn't do
any web-programming/admin yet. Could anyone recommend some r-specific
tutorials or has a couple of suggestions for me? I've had a look at the
2012 Jun 18
1
S4 Reference Classes: declaring public and private methods
Dear list,
is there a way to declare public and private methods in S4 Reference
Classes? If not, are there plans to add such a feature?
You'll find a small code example of what I mean at Stackoverflow:
http://stackoverflow.com/questions/11073253/oop-with-r-is-there-a-way-to-declare-public-and-private-methods-s4-reference-c
Thanks a lot,
Janko Thyson
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