Displaying 20 results from an estimated 4000 matches similar to: "Optimization algorithm to be applied to S4 classes - specifically sparse matrices"
2009 Jun 17
3
Matrix inversion-different answers from LAPACK and LINPACK
Hello.
I am trying to invert a matrix, and I am finding that I can get different
answers depending on whether I set LAPACK true or false using "qr". I had
understood that LAPACK is, in general more robust and faster than LINPACK,
so I am confused as to why I am getting what seems to be invalid answers.
The matrix is ostensibly the Hessian for a function I am optimizing. I want
to get
2013 May 28
3
R-3.0.1 - "transient" make check failure in splines-EX.r
Hello.
I seem to be having the same problem that Paul had in the thread titled "[Rd] R 2.15.2 make check failure on 32-bit --with-blas="-lgoto2"" from October of last year <https://stat.ethz.ch/pipermail/r-devel/2012-October/065103.html> Unfortunately, that thread ended without an answer to his last question.
Briefly, I am trying to compile an Rblas for Windows NT 32bit
2006 Dec 19
1
preserving sparse matrices (Matrix)
Hi,
I have sparse (tridiagonal) matrices, and I use the Matrix package for
handling them. For certain computations, I need to either set the
first row to zero, or double the last row. I find that neither
operation preserves sparsity, eg
> m <- Diagonal(5)
> m
5 x 5 diagonal matrix of class "ddiMatrix"
[,1] [,2] [,3] [,4] [,5]
[1,] 1 . . . .
[2,] . 1
2016 Apr 19
2
Matrix: How create a _row-oriented_ sparse Matrix (=dgRMatrix)?
Using the Matrix package, how can I create a row-oriented sparse
Matrix from scratch populated with some data? By default a
column-oriented one is created and I'm aware of the note that the
package is optimized for column-oriented ones, but I'm only interested
in using it for holding my sparse row-oriented data and doing basic
subsetting by rows (even using drop=FALSE).
Here is what I
2016 Apr 20
0
Matrix: How create a _row-oriented_ sparse Matrix (=dgRMatrix)?
>>>>> Henrik Bengtsson <henrik.bengtsson at gmail.com>
>>>>> on Tue, 19 Apr 2016 14:04:11 -0700 writes:
> Using the Matrix package, how can I create a row-oriented sparse
> Matrix from scratch populated with some data? By default a
> column-oriented one is created and I'm aware of the note that the
> package is optimized for
2009 Jan 20
1
Creating a Sparse Matrix from a Sparse Vector
Hello,
I am working with a sparse matrix that is approx. 13,900 by 14,100. My
goal is to select a row out of the matrix and create a new matrix with that
row repeated 13,900 times without having to do any looping. Example:
Starting Matrix:
exampleMatrix
3 x 4 sparse Matrix of class "dgCMatrix"
[1,] 1 . . .
[2,] . 1 . 0.5
[3,] . . 1 ..
New Matrix:..
newExampleMatrix
3 x 4 sparse
2015 Mar 11
2
Notes on building a gcc toolchain for Rtools (but not multilib)
On Wed, Mar 11, 2015 at 1:40 AM, Hsiu-Khuern Tang <tangoh at gmail.com> wrote:
> On Tue, Mar 10, 2015 at 8:54 PM, Avraham Adler <avraham.adler at gmail.com> wrote:
>>
>> I successfully rebuilt R-devel_2015-03-09 with the most recent version
>> of Rtools tonight, building both ICU_531 and this time libcurl (7.39)
>> as well (and OpenBLAS, of course). The
2015 Mar 11
1
Notes on building a gcc toolchain for Rtools (but not multilib)
On Wed, Mar 11, 2015 at 1:23 PM, Hsiu-Khuern Tang <tangoh at gmail.com> wrote:
> On Tue, Mar 10, 2015 at 10:47 PM, Avraham Adler <avraham.adler at gmail.com> wrote:
>> On Wed, Mar 11, 2015 at 1:40 AM, Hsiu-Khuern Tang <tangoh at gmail.com> wrote:
>>> On Tue, Mar 10, 2015 at 8:54 PM, Avraham Adler <avraham.adler at gmail.com> wrote:
>>>>
2017 Jan 31
3
Unexpected EOF in R-patched_2017-01-30
On Tue, Jan 31, 2017 at 3:30 PM, peter dalgaard <pdalgd at gmail.com> wrote:
>
>> On 31 Jan 2017, at 18:56 , Avraham Adler <avraham.adler at gmail.com> wrote:
>>
>> Hello.
>>
>> When trying to unpack today's version of R-patched,
>
> From which source? The files from cran.r-project.org seems OK, both those in src/base-prerelease and those from
2015 Mar 19
6
RFC: Matrix package: Matrix products (%*%, crossprod, tcrossprod) involving "nsparseMatrix" aka sparse pattern matrices
This is a Request For Comment, also BCCed to 390 package maintainers
of reverse dependencies of the Matrix package.
Most users and package authors working with our 'Matrix' package will
be using it for numerical computations, and so will be using
"dMatrix" (d : double precision) matrix objects M, and indirectly, e.g., for
M >= c will also use "lMatrix" (l:
2015 Sep 01
2
Has the changelog for R-devel and R-patched moved?
On Tue, Sep 1, 2015 at 10:57 AM, peter dalgaard <pdalgd at gmail.com> wrote:
>
> On 01 Sep 2015, at 16:21 , Avraham Adler <avraham.adler at gmail.com> wrote:
>
>> Hello.
>>
>> There used to be changelog of sorts for R-devel [1] and R-release [2].
>> Neither have been updated since 2015-07-24. Have these moved
>> elsewhere, or are they no longer
2015 Sep 01
3
Has the changelog for R-devel and R-patched moved?
Hello.
There used to be changelog of sorts for R-devel [1] and R-release [2].
Neither have been updated since 2015-07-24. Have these moved
elsewhere, or are they no longer being updated?
Thank you,
Avi
[1] <http://developer.r-project.org/blosxom.cgi/R-devel/NEWS>
[2] <http://developer.r-project.org/blosxom.cgi/R-3-2-branch/NEWS>
2017 Jun 06
2
Philosophy behind converting Fortran to C for use in R
Hello.
This is not a question about a bug or even best practices; rather I'm
trying to understand the philosophy or theory as to why certain
portions of the R codebase are written as they are. If this question
is better posed elsewhere, please point me in the proper direction.
In the thread about the issues with the Tukey line, Martin said [1]:
> when this topic came up last (for me) in
2017 Jan 31
2
Unexpected EOF in R-patched_2017-01-30
Hello.
When trying to unpack today's version of R-patched, I get the following error:
C:\R>tar -xf R-patched_2017-01-30.tar.gz
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
I got the same error for R-patched_2017-01-30.tar.gz but not for R-3.3.2.tar.gz.
Thank you,
Avi
2010 Aug 19
1
Converting sparse matrix to data.frame in Matrix package
I am able to create a coordinate list sparse matrix this way:
r = c(1,2,2,3,3)
c = c(4,1,2,3,5)
v = c(1,2,1,3,1)
a = sparseMatrix(i=r,j=c,x=v)
However, this results in an object that looks like this:
a
3 x 5 sparse Matrix of class "dgCMatrix"
[1,] . . . 1 .
[2,] 2 1 . . .
[3,] . . 3 . 1
How do I convert this object into a data.frame that would look like this:
2015 Mar 11
2
Notes on building a gcc toolchain for Rtools (but not multilib)
On Tue, Mar 10, 2015 at 3:17 PM, Duncan Murdoch
<murdoch.duncan at gmail.com> wrote:
>
> That's a bug. I haven't tracked down what's going wrong with our
> regular code. If I can't find that and fix it soon, I'll make Internet2
> the default. For now, you can do it yourself using the instructions on
> ?setInternet2.
>
> Duncan Murdoch
I
2019 Apr 28
2
Inno Setup 6.0.2 fails before creating exe file on Windows (R-3.6.0)
I am working on compiling R-3.6.0 for Windows 10 64bit using rtools40
(beta 11). I had also installed the most recent update of Inno setup,
which is now 6.0.2.With that version, `make risntaller` fails at the
call to ""C:/R/Inno/iscc" R.iss > R-3.6.0.log 2>&1" and just exits,
pointing to line 175 of the makefile which is:
$(RPREFIX)-win.exe: R.iss
2019 Feb 28
3
Problem with compiling OpenBLAS to work with R
I believe that repo just follows the directions on my blog. Without seeing
Dr. Hodges?s code, my initial concern is the many references to Cygwin. My
method specifically does not use Cygwin but MSYS2 and Mingw64/Rtools35.
That will likely change to solely Rtools40 once R3.6 is released due to the
Msys system being built in to it.
There may be some library conflicts between Cygwin and
2015 Sep 16
2
R-devel_2015-09-14 throws an error in reg-packages test
Hello.
I have successfully built R on windows scores of times, and have never
come across this problem. For this build, I am using the current 4.6.3
prerelease version of Rtools, Windows7 64 bit, and
R-devel_2015-09-14.tar.gz
When running make check, I get the following error:
running code in 'reg-packages.R' ...make[3]: *** [reg-packages.Rout] Error 1
make[2]: *** [test-Reg] Error 2
2013 Sep 30
2
R-3.0.2 - Win7_64 - alone_decoder.c: Permission denied error
Hello.
When trying to compile R-3.0.2 on Windows 7 64bit, I get an error relating to "alone_decoder.c: Permission denied." The entire error code is copied below.
gcc -std=gnu99 -m64 -shared -o Riconv.dll Riconv.def win_iconv.o
touch stamp
gcc -std=gnu99 -m64 -I../../include -I. -Iapi -DLZMA_API_STATIC -DHAVE_CONFIG_H
-DWIN32 -O3 -Wall -pedantic -march=core-avx-i -O3 --param