Displaying 20 results from an estimated 30000 matches similar to: "Limitations of R"
2011 Nov 02
3
Error: serialization is too large to store in a raw vector
Dear all,
I have quite large code (with lapply and mclapply)
and I am getting the following error.
Error: serialization is too large to store in a raw vector
Is it possible to ask from R to extend the Error messages with more details?
I would like to see where this problem exists.
B.R
Alex
[[alternative HTML version deleted]]
2011 Apr 20
2
Package Name Not Found Warning
Hello,
I've got a DESCRIPTION file with a the first line:
Package: Repitools
But, when I run R CMD INSTALL Repitools I get:
* installing *source* package Repitools ...
** R
** data
** inst
** preparing package for lazy loading
Warning in FUN(X[[1L]], ...) :
Created a package name, "2011-04-20 09:05:40", when none found
** help
*** installing help indices
** building package
2015 May 10
2
S4 method dispatch sometimes leads to incorrect when object loaded from file?
Loading an S4 object from a file without first loading the library sometimes (?,
the example below and actual example involves a virtual base class and the show
generic) leads to incorrect dispatch (to the base class method).
The attached package reproduces the problem. It has
setClass("A")
setClass("B", contains="A")
setMethod("show", "A",
2015 May 12
1
S4 method dispatch sometimes leads to incorrect when object loaded from file?
>>>>> Martin Morgan <mtmorgan at fredhutch.org>
>>>>> on Mon, 11 May 2015 10:18:07 -0700 writes:
> On 05/10/2015 08:19 AM, Martin Morgan wrote:
>> Loading an S4 object from a file without first loading the library sometimes (?,
>> the example below and actual example involves a virtual base class and the show
>> generic)
2015 Aug 25
3
Issues with libcurl + HTTP status codes (eg. 403, 404)
Hi Martin,
Indeed it does (and I should have confirmed myself with R-patched and
R-devel before posting...)
Thanks, and sorry for the noise.
Kevin
On Tue, Aug 25, 2015, 13:11 Martin Morgan <mtmorgan at fredhutch.org> wrote:
> On 08/25/2015 12:54 PM, Kevin Ushey wrote:
> > Hi all,
> >
> > The following fails for me (on OS X, although I imagine it's the same
>
2011 Apr 20
3
Make as.factor an S3 generic?
as.factor / as.ordered is not written as a generic. This differs from
as.numeric, as.matrix, and other as.*. The following seems to address
this and does not break make check-all.
FWIW, the patch is against r55563, because with r55564 I see
/home/mtmorgan/src/R-devel/src/main/dounzip.c:75:15: error: storage size
of ?dt? isn?t known
/home/mtmorgan/src/R-devel/src/main/dounzip.c:88:5: warning:
2010 Mar 31
1
You are right and the problem is solved. Re: about the possible errors in Rgraphviz Package
Hi Martin,
It is really a 'PATH' problem. After adding C:\Program
Files\Graphviz2.20\bin to the 'PATH' environment variable, the
Rgraphviz package can be loaded without any error messages.
Sorry that I ONLY set my 'PATH' environment variable correctly
for R but not for Graphviz.
Thank you and Duncan so much for your great help.
Howard
On Tue Mar 30 18:12:54
2009 Jul 29
3
Object equality for S4 objects
To test two environments for object equality (Lisp EQ), I can use 'identity':
> e1 <- environment(local(function()x))
> e2 <- environment(local(function()x))
> identical(e1,e2) # compares object identity
[1] FALSE
> identical(as.list(e1),as.list(e2)) # compares values as name->value mapping
[1] TRUE # (is there a
2012 Feb 06
2
mem.limits deprecated
After upgrading my servers to 2.14, log files were filled warnings
that 'mem.limits' has been deprecated and to use gc instead. After
reading the NEWS for R 2.14.0 and PR#14795 I learned that it is
actually deprecated without replacement.
Hereby I just want to voice that this function was actually in use by
at least several users. Among other things, it is a useful to limit
per-session
2010 Dec 23
2
python-like dictionary for R
Hi,
I was wondering if anyone has played around this this package called
"rdict"? It attempts to implement a hash table in R using skip lists. Just
came across it while trying to look for simpler text manipulation methods:
http://userprimary.net/posts/2010/05/29/rdict-skip-list-hash-table-for-R/
Cheers,
Paul
[[alternative HTML version deleted]]
2011 Apr 13
5
for loop performance
Dear list
I am running some simulations in R involving reading in several hundred datasets, performing some statistics and outputting those statistics to file. I have noticed that it seems that the time it takes to process of a dataset (or, say, a set of 100 datasets) seems to take longer as the simulation progresses. Has anyone else noticed this? I am curious to know if this has to do with how R
2015 Jul 07
3
List S3 methods and defining packages
Hi,
from the man page ?methods, I expected to be able to build pairs
(class,package) for a given S3 method, e.g., print, using
attr(methods(print), 'info').
However all the methods, except the ones defined in base or S4
methods, get the 'from' value "registered S3method for print", instead
of the actual package name (see below for the first rows).
Is this normal
2010 Feb 25
1
any limitations running on a Mac?
I have postfix/dovecot/mysql installed using MacPorts on a quad-core 2.8GHz MacPro running Snow Leopard (10.6.2). I moved the base mail directory to a pair of 10k RPM Raptors that are mirrored (/Volumes/email/) and everything seems to be working fine on an unused domain with very little traffic. I used imapsync to pull everything from the current mailserver to this test server to play with.
Our
2009 Dec 23
1
Rgraphviz on mac 10.6.2
Rgraphviz Install works fine (http://www.bioconductor.org/packages/release/bioc/html/Rgraphviz.html)
Latest version of graphviz is installed as well
however I get following error when loading Rgraphviz (on Mac 10.6.2)
Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared library '/Users/jb/Library/R/2.9/library/Rgraphviz/libs/i386/Rgraphviz.so':
2012 Aug 21
1
parLapply fails to detect default cluster?
invoking parLapply without a cluster fails to find a previously
registered cluster
> library(parallel)
> setDefaultCluster(makePSOCKcluster(2))
> parLapply(X=1:2, fun=function(...) {})
Error in cut.default(i, breaks) : invalid number of intervals
This is because in parLapply length(cl) is determined before
defaultCluster(cl) is called. By inspection, this appears to be true of
2010 Oct 24
1
R-devel CMD build fails when vignette present
If I try to build a package with a vignette
R CMD build Biobase
I see
* checking for file 'Biobase/DESCRIPTION' ... OK
* preparing 'Biobase':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* installing the package to re-build vignettes
* creating vignettes ... OK
* cleaning src
Error in setwd(pkgname) : cannot change working directory
Execution halted
This is
2011 Oct 25
1
Windows download.file sometimes pauses / truncates large files
With
C:\Users\User>R --version
R version 2.14.0 RC (2011-10-23 r57410)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-pc-mingw32/x64 (64-bit)
running
download.file('http://www.ebi.ac.uk/microarray-as/ae/files/E-TABM-25/E-TABM-25.raw.1.zip',
tempfile())
sometimes gets 52% (according to the dialog box) of the way through, and
then
2011 Dec 15
1
R CMD check fails to warn about undocumented classes and methods
In
> R.version.string
[1] "R Under development (unstable) (2011-12-15 r57901)"
PkgA promotes 'unique' to a generic and exports that
DESCRIPTION:
Imports: methods
R/f.R:
setGeneric("unique")
NAMESPACE:
export(unique)
and PkgB creates and exports a method on unique
DESCRIPTION
Imports: methods, PkgA
R/f.R:
setClass("B",
2009 May 02
1
integer ranges in R vs C and Java
Hello,
I'm using R-2.9 and have a question about integer ranges. On C, (OS X
platform),
LONG_MIN and LONG_MAX(from limits.h) correspond to -2147483648(-2^31)
and 2147483647 (2^31-1)
In Java(1.4), Integer.MIN_VALUE and Integer.MAX_VALUE have the same values.
On R, as.integer(2^31-1) is the maximum (without returning NA) but the
lowest is -2147483647 (-2^31+1)
> as.integer((-2)^31)
[1] NA
2011 Sep 10
3
Very slow using S4 classes
Hi everybody!
I'm creating an object of a S4 class that has two slots: ListExamples, which
is a list, and idx, which is an integer (as the code below).
Then, I read a data.frame file with 10000 (ten thousands) of lines and 10
columns, do some pre-processing and, basically, I store each line as an
element of a list in the slot ListExamples of the S4 object. However, many
operations after this