Displaying 20 results from an estimated 2000 matches similar to: "Method for $"
2007 Jan 15
2
Whine in dual core Windows PC if R uses full CPU capacity
Dear R-developers,
the following may seem a weird question for R-devel – I try anyway, because it
does seem to be related to usage of R and R's way of interacting with the
hardware.
When running R (2.4.0) on my new dual core Windows XP system (Intel Core 2 Duo
E6600, Mainboard ASUS P5B, BeQuiet Power Unit), I observe various types of
sounds (not related to fans) when running at full
2006 Mar 14
1
R CMD check: problems possibly from mapply?
Dear expeRts,
I am trying to wrap up a package "utilities" (for my internal use). After
adding a function datNAtreat that uses mapply, R CMD check gives WARNINGs
for "S3 generic/method consistency", "checking replacement functions"
and?"checking foreign function calls", all of which are accompanied by the
following error message:
Error in .try_quietly
2007 Mar 23
1
Bug in str or issue with class management in my package?
Dear developeRs,
with R 2.4.1 (and also 2.4.0), the function str() fails on objects of class
relimplmbooteval, if there are unused slots, which is very often the case. I
am not sure whether this is a bug in str() or a correct behavior of str()
that unmasks some sloppiness in my usage of S4 classes (that I am not aware
of)?
Reproducible example (package relaimpo needed):
The program
2008 Jul 09
1
Question regarding lu in package Matrix
Dear R-helpers,
I have a question regarding LU-decomposition with function lu in package
Matrix. The following simple example confuses me: Why is as.matrix(elu$U)
not an upper triangular matrix?
u3 <-
matrix(c(1,1,1,1,1,1,-1,1,0,0,0,0,0,-1,1,0,0,0,-1,0,1,0,0,0,0,0,-1,1,0,0),5,6,byrow=T)
elu <- expand(lu(Matrix(u3,sparse=F)))
as.matrix(elu$U)
I only have very limited experience with the
2009 Jul 24
1
Wishlist: install.packages to look for the newest version of a package (PR#13851)
Full_Name: Ulrike Groemping
Version: 2.9.0 (and older)
OS: Windows
Submission from: (NULL) (84.190.173.190)
When using an older version of R, packages are not found although they are
available for newer versions of R and do work when installed with the old
version. For example, installing DoE.base on R 2.8.1 installs version 0.2, while
CRAN is at version 0.4-1 currently. It would be nice if the
2006 Mar 16
2
hierarchical partitioning
Hello,
I would like to know what it means, when the hier.part's output has a data
frame of a negative independent contribution for variables (?IJ) and how
this can be caused.
Thank you very much.
Yours sincerely
M. Heuner
2012 Jul 12
4
Two R sessions on multicore computer seem to inhibit each other ?
Dear R-helpers,
I am puzzled by the following observation:
On my home dual core Windows desktop computer, I am used to running two R
sessions in parallel. These do very well in using the full CPU of the
computer (half each) and don't seem to slow each other down.
Today I have started some large computation effort in one of our university
labs, and I intended to go for two R sessions per
2013 Feb 24
2
Issues with TMPDIR/TEMP/TMP? Failure of R CMD check under Windows 7
Dear helpeRs,
on my Windows 7 laptop, I have problems getting R CMD check to work. I
believe it did work completely before, but I am not sure.
Yesterday it almost worked, except for the tests: These were aborted
because of a complaint that the temporary directory wasn't available. I
played with windows environment variables for the temporary directory,
but that didn't solve it.
2009 Aug 25
1
Problem with correct usage of formula environment
Dear all,
I am working on a function formula.design that should automatically generate
reasonable lm formulae for a number of different designs. All works well as
long as all variables used are columns of the design data frame. For one
function, I would like to incorporate a dummy variable for center points
that is not a column of the design. Without this function, it would work
like this (at
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,
2012 Nov 21
3
Sourcing files with Umlaut in path no longer works
Dear helpeRs,
on my new machine - Windows 7 64Bit, R 2.15-2, I can no longer source
files for which the path contains the o-Umlaut (?). As a historical
burden, my username is Gr?mping and contains that Umlaut (I wouldn't
have chosen it now, but decided to keep it for easy transfer). I have
had the difficulty that I couldn't use the R CMD tools on files with
Umlauts in the path (and
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
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,
2009 Jul 24
1
Wishlist: install.packages to look for the newest version (PR#13852)
Ulrike,
if you install from source, you always get the most recent version of
the package given it does not depend on a newer version of R.
If you want a binary package, you also get the newest version - that was
newest at the time we stopped building binaries for that version of R.
We (or better I if we only talk about Windows, but similar for all other
platforms) cannot build for each R
2009 Oct 26
2
Cannot activate chm help in R 2.10
Dear all,
I just tried to be fast for once, installed R 2.10 and also newly installed
all previously-installed packages. However, now all my help files are text
only, which is of course a pity with the new possibilities of links between
help pages. What can I do to re-activate chm-help? chm-help does not work
for anything, not even base functionality.
My system is Windows XP, German locale
2005 Dec 12
2
Time delay function or plot animation
Dear R-help crowd,
is it possible to specify a time delay for plotting the points in a curve? I
would like to make the plotting process slow enough to show the development
of the graph, and therefore I am looking either for the possibility within
the plot function to specify a plotting speed or (if that doesn't exist) for
a function like "pause" or "wait" that allows
2009 Mar 24
4
Error in FrF2 example on Mac OS
Dear all,
I just noticed that the 0.9 update for FrF2 did not work out for Mac OS due
to an error in an example that ran without error on all other platforms. I
do not find any reason for this. In the past, umlauts or tab characters have
sometimes been an issue, but I didn't find any of these. The function
definition is
FrF2(nruns = NULL, nfactors = NULL, factor.names = if
2017 Jun 06
2
surprisingly, S4 classes with a "dim" or "dimnames" slot are final (in the Java sense)
Hi,
It's nice to be able to define S4 classes with slots that correspond
to standard attributes:
setClass("A1", slots=c(names="character"))
setClass("A2", slots=c(dim="integer"))
setClass("A3", slots=c(dimnames="list"))
By doing this, one gets a few methods for free:
a1 <- new("A1", names=letters[1:3])
2006 Oct 20
1
Problem tracking down an R CMD check syntax error
Dear all,
I am stuck with tracking down an error I get from R CMD check (Windows, R 2.4.0, same error for R 2.2.1): when running R CMD check over a modified version of package relaimpo, I get the following output in install.out:
preparing package relaimpo for lazy loading
Loading required package: MASS
Loading required package: boot
Error in parse(file, n, text, prompt) : syntax error at
2193:
2008 Jun 07
1
slot(obj, "nosuch") documentation question
Using slot() on object (or "@") and using a nonexistent
slotname returns an error (see example code).
R> setClass("foobar", representation=list(a="numeric"))
[1] "foobar"
R> foobar <- new("foobar", a=5)
R> foobar at a
[1] 5
R> foobar at b
Error: no slot of name "b" for this object of class "foobar"
The details