Displaying 20 results from an estimated 10000 matches similar to: "row.names(data.frame(matrixWithDimnames)) depends on first (PR#13244)"
2008 Oct 30
1
row.names(data.frame(matrixWithDimnames)) depends on first rowname being "" or not. (PR#13230)
Full_Name: Bill Dunlap
Version: R version 2.9.0 Under development (unstable) (2008-10-29 r46795)
OS: Linux
Submission from: (NULL) (76.28.245.14)
When data.frame() is given a matrix with rownames, then the type of the output
row names depends on whether the first element of the input row names is "" or
not. The other elements of the input row names don't affect things. E.g.,
2002 Aug 28
2
NA rownames in dataframes
Hey everyone!
I am seeing strange behavior with NA in the rownames of dataframes:
> a <- data.frame(1:3, row.names = c("r1", NA, "r3"))
> cbind(a)
X1.3
r1 1
<NA> 2
r3 3
Everything works. The peculiar thing is that when the NA is in the first
row, things no longer work as I would have expected:
> b <- data.frame(1:3, row.names
2009 Sep 18
0
Error: length(f1) == length(f2) is not TRUE (fwd)
---------- Forwarded Message ----------
Date: 18 September 2009 19:24 +0100
From: A Singh <bzwas at bristol.ac.uk>
To: William Dunlap <wdunlap at tibco.com>
Subject: RE: [R] Error: length(f1) == length(f2) is not TRUE
Yup, they are all factors- and its still doesn't work.
Getting to the stage where I can use 'summary()' is the problem- the error
stalls the process before a
2019 Feb 20
0
code for sum function
Someone said it used a possibly platform-dependent
higher-than-double-precision type.
By the way, in my example involving rep(1/3, n) I neglected to include the
most precise
way to calculate the sum: n%/%3 + (n%%3)/3.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Wed, Feb 20, 2019 at 2:45 PM Rampal Etienne <rampaletienne at gmail.com>
wrote:
> Dear Will,
>
> This is exactly
2011 May 16
0
Fwd: Re: rbind with partially overlapping column names
I had meant to copy the list on this; must have hit 'Reply'
instead of 'Reply All'.
P Ehlers
-------- Original Message --------
Subject: Re: [R] rbind with partially overlapping column names
Date: Mon, 16 May 2011 11:14:11 -0600
From: Peter Ehlers <ehlers at ucalgary.ca>
To: Jonathan Flowers <jonathanmflowers at gmail.com>
On 2011-05-16 08:56, Jonathan Flowers wrote:
2008 Nov 12
0
Splus-specific entries in pkg/DESCRIPTION files
In the past few years we have been working on making
it possible to use packages in both R and Spotfire S+
(previously officially called S-PLUS). One problem was
that certain lines in the DESCRIPTION file of a package
needed to be specific to R or Spotfire S+. E.g., if
your package used the xyplot() function then the package
would depend upon lattice in R and trellis in Spotfire S+,
or a package
2009 Sep 18
1
what should names(x) be padded with when length(x) is increased?
R version 2.10.0 Under development (unstable) (2009-09-08 r49628)
Here are two somewhat related questions.
First, when we attach a too short names vector to a vector
the names vector is padded with NA's to the length of the
main vector: E.g.,
> x<-1:3
> names(x)<-c("One","Two")
> str(x)
Named int [1:3] 1 2 3
- attr(*, "names")=
2010 Mar 12
1
symbol name caching bug: attributes get tied to symbol names
In R versions 2.10.1 and "2.11.0 Under development
(unstable) (2010-03-07 r51225)" on Windows I get the
following if I type the commands at the start of
the session. Note how the attribute attached to
the name "Response" by the initial call to structure()
seems to get tied to that name for the remainder of
the session:
> z <- structure(quote(Response),
2012 Feb 02
0
inconsistency with names on call object
With most sorts of objects the following three expression
have the same value:
names(obj)
attr(obj, "names")
attributes(obj)$names
However, for call objects the last gives NULL, whether there
are names or not.
> obj <- quote(func(one=1))
> obj
func(one = 1)
> names(obj)
[1] "" "one"
> attr(obj, "names")
2019 Feb 20
0
code for sum function
Dear Will,
This is exactly what I find.
My point is thus that the sum function in R is not a naive sum nor a
Kahansum (in all cases), but what algorithm is it using then?
Cheers, Rampal
On Tue, Feb 19, 2019, 19:08 William Dunlap <wdunlap at tibco.com wrote:
> The algorithm does make a differece. You can use Kahan's summation
> algorithm
2016 Jan 14
0
as.data.frame and illegal row.names argument (bug in package:DoE.wrapper?)
Hi Bill,
The thing is that is happening here is the specific instance of
as.data.frame that is being run, which in this instance switch between
as.data.frame.matrix() and as.data.frame.matrix(). I attached the
dataframe.R code, which you can find the src/library/base/R folder of the
source code. Though if you use data.frame() it will give a more expected
result.
For instance the first runs
2009 Jun 03
1
Still can't find missing data - How do I get NA in xtabs with factors?
The problem here is Table doesn't seem to have a way to weigh the data.
> ToyData
Data1 Data2 Data3 Weight
101 Sam Red Banana 1.1
102 Sam Green Banana 2.1
103 Sam Blue Orange 2.1
104 Fred Red Orange 2.1
105 Fred Green Guava 2.1
106 Fred Blue Guava 2.1
107 <NA> Red Pear 50.1
108 <NA> Green Pear 50.1
109 <NA> Blue
2009 Jun 12
0
.doTrace problem with eval.parent(substitute(expr)) vs. lazy evaluation of expr
Here are a couple of problems with the use of
eval.parent(substitute(expr))
instead of just lazily evaluating expr in the .doTrace function used by
trace.
(a) In S+ I sometimes use trace() to see how long a function takes
to run with a tracer expression the saves the start time and calls
on.exit to report the difference between the start and end times
when the trace function ends. E.g.,
>
2010 Mar 09
0
TIBCO Spotfire 3.1 announced, featuring integration with R & S+
TIBCO Software Inc. today launched TIBCO Spotfire 3.1, the latest
version of its in-memory analytics platform, making predictive analytics
based on R & S+ accessible within Spotfire's visual user experience.
With this release, R & S+ users will be able to share and deploy their
scripts through the Spotfire platform, making advanced analytics
accessible to Business Analysts.
While R
2016 Dec 11
2
TableGen - Help to implement a form of gather/scatter operations for Mips MSA
Hello.
Will, thanks a lot for pointing me to the MaskedGatherSDNode and mgatherv4i32. I have
to say that the definition of the "multiclass avx512_gather" from
lib/Target/X86/X86InstrAVX512.td is difficult to follow and I prefer not to use it.
I currently have some serious problems with TableGen - it gives an assertion failure:
2018 Jan 28
0
Newbie wants to compare 2 huge RDSs row by row.
Cool, looks like that'd do it, almost as if converting an entire record to a character string and comparing strings.
-- M. B. Hardy, statistician
work: Applied Research Associates, S. E. Div.
8537 Six Forks Rd., # 6000 / Raleigh, NC 27615-2963
(919) 582-3329, fax: 582-3301
home: 1020 W. South St. / Raleigh, NC 27603-2162
(919) 834-1245
2012 Jan 03
0
TIBCO looking for an Analytics Consultant
ANALYTICS CONSULTANT
Hiring Manager: Michael O'Connell
Location: East Coast US
TIBCO is a rapidly growing software company with more than 3000 employees worldwide and approx. $900MM annual revenue in 2011. TIBCO provides a comprehensive software platform that allows customers to perform in-depth analysis on their data, while injecting predictive and complex statistics in the analysis. TIBCO
2013 Jul 10
0
TIBCO is hiring Data Scientists and R Experts in Europe
DATA SCIENTIST
Location: EU
TIBCO is a rapidly growing software company with more than 3000 employees worldwide and more than$1B annual revenue in 2012. TIBCO provides a comprehensive software platform that allows customers to perform in-depth analysis on their data, while injecting predictive and complex statistics in the analysis. TIBCO Spotfire is an interactive, visual environment with
2013 Jul 10
0
TIBCO is hiring Data Scientists and R experts in the US
DATA SCIENTIST
Hiring Manager: Michael O???Connell
Location: US
TIBCO is a rapidly growing software company with more than 3000 employees worldwide and more than$1B annual revenue in 2012. TIBCO provides a comprehensive software platform that allows customers to perform in-depth analysis on their data, while injecting predictive and complex statistics in the analysis. TIBCO Spotfire is an
2011 Feb 03
0
TIBCO looking for Analytics Consultants
We are looking for two Analytics Consultants (PhD in Statistics with
significant R programming skills preferred) to join our rapidly growing
TIBCO Analytic Solutions team. The successful candidates will work
closely with our TIBCO / Spotfire implementation and development teams
to provide analytics expertise for customer pilots and implementations,
methodology/training and product/code