Displaying 20 results from an estimated 200 matches similar to: "performance of vector subscripting via character index"
2008 Feb 29
1
Problems initializing an extended S4 class
Hi all,
I am having trouble extending S4 classes in cases where I'm using both
validity and initialize methods. I've read as much S4 information as I
can find, but I've yet to have that "a-ha" moment.
In my application, I am using validity methods to guard against
inappropriate input data that my code has no way of handling, and
initialize methods to detect and deal
2008 Apr 15
0
obstacles to using vectors with attributes
Hi all,
I am working on an application in which we'd like to use attributes to
attach simple metadata to arbitrary R objects. It is essential that all
functions that will work on the original object will also work on the
object after metadata attributes have been added. However, this is not
always the case for vectors: functions such as barplot, diffinv, and rle
use is.vector, which (as
2005 Aug 23
0
NAs by integer overflow in Spearman's test p-value (PR#8087)
Full_Name: Jan T. Kim
Version: 2.1.0 (and better)
OS: Linux
Submission from: (NULL) (139.222.3.229)
The p value in Spearman's test is NA if the length of x exceeds 46340, due to
an integer overflow, occurring if length(n) > sqrt(2^31):
> n <- 46341;
> set.seed(1);
> x <- runif(n);
> y <- runif(n);
> cor.test(x, y, method =
2005 Aug 23
0
(PR#8087) NAs by integer overflow in Spearman's test p-value
There is an even simpler way: someone wrote n*(n^2-1) as n*(n-1)*(n+1)
and caused the problem.
Your superfluous semicolons do definitely make your code harder to read.
On Tue, 23 Aug 2005 jtk at cmp.uea.ac.uk wrote:
> Full_Name: Jan T. Kim
> Version: 2.1.0 (and better)
> OS: Linux
> Submission from: (NULL) (139.222.3.229)
>
>
> The p value in Spearman's test is NA if
2014 Nov 06
1
limit of cmdscale function
Hi
We have a few questions regarding the use of the "isoMDS" function.
When we run "isoMDS" function using 60,000 x 60,000 data matrix,
we get the following error message:
------------------------------------
cmdscale(d, k) : invalid value of 'n'
Calls: isoMDS -> cmdscale
------------------------------------
We checked the source code of "cmdscale" and
2005 Apr 29
0
Anscombe-Glynn, Bonett-Seier, D'Agostino
Dear useRs,
I was searching CRAN for implementation of kurtosis and skewness tests,
and found that there is some kind of lack on it.
So, I have written three functions:
1. Anscombe-Glynn test for kurtosis
2. Bonett-Seier test based on Geary's kurtosis (which is not widely
known, but I was inspired by original paper describing it, found
coincidentally in Elsevier database)
3.
2012 May 27
0
path analysis and diagram (structural model)
Hi R- USER,
I have been struggling to compute path analysis in R. I installed package "sem" and I tried to run the analysis but could not get a diagram.
I have very big data set, here I just copied a sample of my data and I wanted to see how I can do the path analysis and get the patch diagram (with r2 in each path).
I have two tables; 1: num. of species - which is the depended
2008 Aug 19
4
converting coordinates from utm to longitude / latitude
Hi,
is there a function in R to convert data read with read.shape and which is originally in UTM coordinates into longitude / latitude coordinates?
I found the convUL() function from the PBSmapping package but I have no idea how I could apply that to the read.shape object.
Many thanks,
Werner
__________________________________________________
Do
sragenden Schutz gegen Massenmails.
2020 Sep 07
3
[IR] Modelling of GlobalIFunc
I was working on https://reviews.llvm.org/D81911 to try and fix
https://bugs.llvm.org/show_bug.cgi?id=46340 . Through the review
process we happened upon a design limitation or perhaps a potential
mis-modelling of GlobalIFunc in the IR object hierarchy, which leads
to some problems in LTO flows.
To summarize, as it currently stands (and in the hopes of faithfully
representing the conclusions of
2011 Feb 06
2
Fortran and long integers
Hi all,
I'm hoping someone more knowledgeable in Fortran than I can chime in
with opinion.
I'm the maintainer of the flashClust package that implements fast
hierarchical clustering. The fortran code fails when the number of
clustered objects is larger than about 46300. My guess is that this is
because the code uses the following construct:
IOFFSET=J+(I-1)*N-(I*(I+1))/2
where N is the
2011 Jul 28
1
Re: Problem with save files during game
Business Kid wrote:
> On 27 July 2011 21:23, crazy_dave <wineforum-user at winehq.org> wrote:
> Unimplemented is usually a bug. Some routine is missing from a dll. That's a
> time to use the native dll. If you have stamina, file a bug.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
2005 Feb 21
0
Thank You Note
Guys.. in the past couple of days I have been asking A LOT of questions and
I just want to take a minute to thank everybody that has helped me and will
continue to help newbies on their understand of Asterisk.
Also, I hope Asterisk's makers are reading this.. I want to congratulate you
on an excellent piece of software!! I LOVE ASTERISK!
Hope you will have the support and stamina to
2014 Nov 23
0
R string comparisons may vary with platform (plain text)
> On 23 Nov 2014, at 01:05 , Henrik Bengtsson <hb at biostat.ucsf.edu> wrote:
>
> On Sat, Nov 22, 2014 at 12:42 PM, Duncan Murdoch
> <murdoch.duncan at gmail.com> wrote:
>> On 22/11/2014, 2:59 PM, Stuart Ambler wrote:
>>> A colleague?s R program behaved differently when I ran it, and we thought
>>> we traced it probably to different results from
2010 Nov 14
0
[ANNOUNCE] xorg-server 1.9.2.901 (1.9.3 RC1)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This is the first release candidate for xorg-server-1.9.3, the third
maintenance release of the xorg-server-1.9.x series. Inside, you'll
find many buildfixes and bugfixes to be thankful for this coming holiday.
Aaron Plattner (2):
Revert "Set DamageSetReportAfterOp to true for the damage extension" (#30260)
os: Fix BigReq
2009 Apr 29
2
Re moving unwanted double values in list
I have a procedure that goes sorts out some numbers based on specidifed
criteria and for some reason the list contains double values in some of the
rows such as:
TAZs <-
[[84]]
[1] 638
[[85]]
[1] 643
[[86]]
[1] 644 732
[[87]]
[1] 651 801
i would like to check list TAZs for double values and remove any if present.
I have tried
if (length(TAZDs==2))
rm(TAZDs[2])
but no luck. I cant
2014 Nov 23
0
R string comparisons may vary with platform (plain text)
For many scientific applications one is really dealing with ASCII characters and
LC_COLLATE="C", even if the user is running in non-C locales. What robust
approaches (if any?) are available to write code that sorts in a
locale-independent way? The Note in ?Sys.setlocale is not overly optimistic
about setting the locale within a session.
Martin Morgan
On 11/23/2014 03:44 AM, Prof
2002 Aug 30
1
Thoughts about Cygwin ?
Let me preface this email by saying that I am very grateful for the
existing Windows version of R. It does an excellent job by providing
a pain- and flawless installation, and a look-and-fell most Windows
users feel comfortable with. For me, Windows in its different
flavours is not something I know, or care, a lot about -- but like
others am forced to work with. The old need-bread-on-the-table
2020 Sep 10
2
[IR] Modelling of GlobalIFunc
> * Calling getBaseObject() on a GlobalIFunc returns its resolver function.
I still don't understand how it can happen looking to the code (
https://github.com/llvm/llvm-project/blob/master/llvm/lib/IR/Globals.cpp#L430).
I believe it should return nullptr (the same as if you call it from
GlobalAlias that refers to GlobalIFunc).
I don't have a strong opinion here because deriving
2010 Dec 13
0
[ANNOUNCE] xorg-server 1.9.3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
xorg-server-1.9.3 is the third maintenance release of the 1.9 branch of the X11
server from X.org. It includes numerous bug fixes to address performance,
stability, and correctness. This version is functionally equivalent to the
second release candidate. The list below summarizes all changes since 1.9.2.
Aaron Plattner (3):
Revert "Set
2017 Mar 06
0
R 3.3.3 is released
The build system rolled up R-3.3.3.tar.gz (codename "Another Canoe") this morning.
The list below details the changes in this release.
You can get the source code from
http://cran.r-project.org/src/base/R-3/R-3.3.3.tar.gz
or wait for it to be mirrored at a CRAN site nearer to you.
Binaries for various platforms will appear in due course.
For the R Core Team,
Peter Dalgaard