Displaying 20 results from an estimated 100 matches similar to: "sparse matrix tools"
2009 Feb 22
2
[SoC09-Info] An IPopt interface for R
There have been several messages on R-devel mentioning the interior
point optimization software Ipopt, https://projects.coin-op/Ipopt/.
This C++ library is released under a license called the Common Public
License.
I have two questions that readers of R-devel may be able to answer.
1) Would creating an Ipopt interface for R be duplicating existing
efforts? That is, has someone already done so
2004 Jan 29
3
Developmental version of Matrix package for R-1.9.0
I recently uploaded a developmental version of the Matrix package,
Matrix_0.6-1.tar.gz, to CRAN where it is in the
src/contrib/1.9.0/Other directory. It requires some of the packages
that will appear in R-1.9.0.
This version marks a major redesign of the Matrix package to use S4
classes and methods and to incorporate sparse matrix manipulations
using routines from TAUCS
2006 Jan 11
2
Problem with making Matrix
Hi R-help citizens,
I'm having trouble making version 0.99-6 of Matrix on FreeBSD 6.0.
The error message is:
* Installing *source* package 'Matrix' ...
** libs
gcc -I/usr/local/lib/R/include -I/usr/local/include -D__NO_MATH_INLINES -fPIC -g -O2 -c Csparse.c -o Csparse.o
... numerous lines deleted ...
gcc -I/usr/local/lib/R/include -I/usr/local/include -D__NO_MATH_INLINES
2005 Aug 19
0
Form.Element.getValue for checkboxes and radios?
I notice that Form.Element.getValue() takes a single element or id and
returns the element name and value. How does one handle getting the
values of checkboxes and/or radios which share the same control name,
save getting them one at a time?
<fieldset>
<legend>Medical History</legend>
<input name="history_illness"
type="checkbox"
1999 Jun 29
3
S v. 5
Does R, or will R, be integrating the changes to the Chambers/Lucent S
language under their version 5.0? If not already, then when?
John Thaden
Little Rock, Arkansas, USA
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
2000 May 18
2
Pb with 2.0.6/2.0.7 and browsing
Hello,
When my Samba is the local master browser, it doesn't appear in the
Network Neighborhood of the client. There is only the client itself.
When the client (Windows NT 4 Workstation) is the local master, the
Network Neighborhood shows the only two nodes that I have on my test
network, ie the Samba server and the NT 4 Workstation.
For the browsing, I use the default
2002 Nov 21
1
Out of connection structures
Hi,
I still have the problem of "Out of connection structures" with Samba
2.2.6 or 2.2.7 and TSE clients.
This problem was encountered by Richard van Beers :
> From: richard van beers
> To: jra@samba.org (Jeremy Allison), Gunther Hess
> Subject: Re: Samba and Out Of Connection Structures from Terminal Servers (was on Solaris)
> Cc:
2006 Feb 02
4
ajax insertion into a form
After an ajax insertion in the dom, it seems the browser don''t
refresh its knowledge of the page.
The source of the page is identical after the insertion, whereas the
display is correct.
The ajax insertion is used to add an input field. The added fields
are ignored by the submission of the form.
Isn''t it possible to do that, or maybe there''s a problem in my code
2007 Mar 04
1
Scoping issue?
Hello, The code below is supposed to be a wrapper for matplot to
do columnwise visible comparison of several matrices, but I'm
doing something wrong because I can't access an argument called
'colnum'. I'd be most grateful for some insight.
Thanks,
John Thaden
Little Rock, AR
################################
# mmatplot is a matplot wrapper to compare the same column of
#
2008 May 22
15
Pros and Cons of R
Hi,
I am doing a very informal presentation for my office about R capabilities to deal with and analyze spatial data, display data and maps, and connections with GIS. I've used in my presentation info from the CRAN, the spatial Task view, and the more striking graphics examples from http://addictedtor.free.fr/graphiques/thumbs.php and NCEAS
2006 Jul 09
1
package:Matrix handling of data with identical indices
In the Matrix package v. 0.995-11 I see that the dgTMatrix
Class for compressed, sparse, triplet-form matrices handles
Identically indexed data instances by summing their values,
e.g.,
library(Matrix)
(Mt <- new("dgTMatrix",
i = as.integer(c(0,0,1,1,4)),
j = as.integer(c(0,1,2,2,4)),
x = as.double(1:5),
Dim = as.integer(c(5,5))))
## 5 x 5 sparse Matrix of class
2006 Jul 09
1
package:Matrix handling of data with identical indices
In the Matrix package v. 0.995-11 I see that the dgTMatrix
Class for compressed, sparse, triplet-form matrices handles
Identically indexed data instances by summing their values,
e.g.,
library(Matrix)
(Mt <- new("dgTMatrix",
i = as.integer(c(0,0,1,1,4)),
j = as.integer(c(0,1,2,2,4)),
x = as.double(1:5),
Dim = as.integer(c(5,5))))
## 5 x 5 sparse Matrix of class
2007 Feb 20
1
baseline fitters
I am pretty pleased with baselines I fit to chromatograms using the
runquantile() function in caTools(v1.6) when its probs parameter is
set to 0.2 and its k parameter to ~1/20th of n (e.g., k ~ 225 for n ~
4500, where n is time series length). This ignores occasional low-
side outliers, and, after baseline subtraction, I can re-adjust any
negative values to zero.
But runquantile's
2003 Oct 01
4
Solving a tridiagonal system
I need to find solutions to a tridiagonal system. By
this I mean a set of linear equations Ax = d where A
is a square matrix containing elements A[i,i-1],
A[i,i] and A[i,i+1] for i in 1:nrow, and zero
elsewhere. R is probably not the ideal way to do this,
but this is part of a larger problem that requires R.
In my application it is much easier (and much faster)
to generate the diagonal and
2006 Sep 21
2
AEC in WB mode fixed yet ?
> Today's Topics:
>
> 1. AEC with WB mode (Jean-Christophe.Berge@etu.enseeiht.fr)
> 2. Multiple frame encode and decode (Reza Fatahillah)
> 3. cant link speex_echo.h (jesus)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 20 Sep 2006 08:46:03 +0200 (CEST)
> From:
2006 Jul 28
1
order() 'decreasing =' argument must be typed in full
## While in R v. 2.3.1 (the mid-July patch for Windows)
## on a Windows XP machine, this call to order() works fine...
order(1:10,decreasing = TRUE)
## [1] 10 9 8 7 6 5 4 3 2 1
## ...however, the argument name 'decreasing'
## must be typed in toto (note the missing 'g'
## in the following):
> order(1:10,decreasin = TRUE)
## Error in order(na.last, decreasing, ...) :
2006 Sep 04
1
Coercing elements of a matrix from integer to double
Ive been converting elements of matrices and arrays, e.g., from
Integers to double-precision, by vectorizing the matrix and then
remaking it. Alternatively, I can redefine one element as double
which then redefines them all. Both methods are quick, so I guess
I shouldn't complain, but I would have thought there'd be something
more obvious. Have I missed it?
Here's my redimensioning
2008 Jul 10
2
Position in a vector of the last value > n
This shouldn't be hard, but it's just not
coming to me:
Given a vector, e.g.,
v <- c(20, 134, 45, 20, 24, 500, 20, 20, 20)
how can I get the index of the last value in
the vector having a value greater than n, in
this case, greater than 20? I'm looking for
an efficient function I can use on very large
matrices, as the FUN argument in the apply()
command.
Confidentiality
2008 Oct 07
3
vectorized sub, gsub, grep, etc.
R pattern-matching and replacement functions are
vectorized: they can operate on vectors of targets.
However, they can only use one pattern and replacement.
Here is code to apply a different pattern and replacement
for every target. My question: can it be done better?
sub2 <- function(pattern, replacement, x) {
len <- length(x)
if (length(pattern) == 1)
pattern <-
2012 Aug 28
4
predict.lm(...,type="terms") question
Hello all,
How do I actually use the output of predict.lm(..., type="terms") to
predict new term values from new response values?
I'm a chromatographer trying to use R (2.15.1) for one of the most
common calculations in that business:
- Given several chromatographic peak areas measured for control
samples containing a molecule at known (increasing) concentrations,
first