Displaying 20 results from an estimated 2000 matches similar to: "trouble installing SparseM"
2004 May 12
1
Problem installing SparseM on Debian stable
I have troubles installing the "SparseM" package on my Debian stable
Linux system.
Debian's version of R is:
platform i386-pc-linux-gnu
arch i386
os linux-gnu
system i386, linux-gnu
status
major 1
minor 5.1
year 2002
month 06
day 17
language R
This is the installation output:
> R CMD INSTALL -l /usr/lib/R/ SparseM_0.36.tar.gz
* Installing
2006 Feb 20
2
Matrix / SparseM conflict (PR#8618)
Full_Name: David Pleydell
Version: 2.2.1
OS: Debian Etch
Submission from: (NULL) (193.55.70.206)
There appears to be a conflict between the chol functions from the Matrix and
the SparseM packages. chol() can only be applied to a matrix of class dspMatrix
if SparseM is not in the path.
with gratitude
David
> library(Matrix)
> sm <- as(as(Matrix(diag(5) + 1), "dsyMatrix"),
2008 Aug 27
1
SparseM
Hello,
I am trying to load the package SparseM. It seems that I have successfully
installed SparseM (version 0.78), but I did not succeed in loading the
SparseM package into R 2.7. Does anybody know a trick for loading
SparseM?
Thanks in advance,
Heike
> library(SparseM,lib.loc=my.lib.loc)
Error in packageDescription(pkg)$Version :
$ operator is invalid for atomic vectors
In addition:
2004 Feb 26
1
Loading SparseM on Win2K
I'm having trouble loading the package SparseM in R 1.8.1, OS = Windows
2000.
Installing appeared to go well; I saw no error messages, html documentation
was installed, and "installed.packages()" lists SparseM among the installed
packages.
When I try to load the library, however, I get the following:
> library(SparseM)
Error in slot(mlist, "argument") : Can't get
2007 Jul 08
1
Problems with e1071 and SparseM
Hello all,
I am trying to use the "svm" method provided by e1071 (Version: 1.5-16)
together with a matrix provided by the SparseM package (Version: 0.73)
but it fails with this message:
> model <- svm(lm, lv, scale = TRUE, type = 'C-classification', kernel =
'linear')
Error in t.default(x) : argument is not a matrix
although lm was created before with
2012 Aug 24
2
SparseM buglet
read.matrix.csr does not close the connection:
> library('SparseM')
Package SparseM (0.96) loaded.
> read.matrix.csr(foo)
...
Warning message:
closing unused connection 3 (foo)
>
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://truepeace.org http://camera.org
http://pmw.org.il http://think-israel.org
2004 Jun 25
2
Matrix: Help with syntax and comparison with SparseM
Hi,
I am writing some basic smoothers in R for cleaning some spectral data.
I wanted to see if I could get close to matlab for speed, so I was
trying to compare SparseM
with Matrix to see which could do the choleski decomposition the
fastest.
Here is the function using SparseM
difsm <- function(y, lambda, d){
# Smoothing with a finite difference penalty
# y: signal to be smoothed
#
2004 Jun 18
1
Initializing SparseM matrix matrix.csc
Hi!
Would like to initialize a huge matrix.csc (Pacakge SparseM) with all elements 0
and afterwards set a few alements nonzero.
The matrix which I like to allocate is so huge that I can not use
A <- matrix(a,n1,p)
before:
A.csr <- as.matrix.csc(A)
because I can not allocate such a huge matrix A.
But I believe that the much more memmory efficient model in case of csc matrix should do it for
2007 Aug 01
1
Predict using SparseM.slm
Hi,
I am trying out the SparseM package and had the a
question. The following piece of code works fine:
...
fit = slm(model, data = trainData, weights = weight)
...
But how do I use the fit object to predict the values
on say a reserved testDataSet? In the regular lm
function I would do something like this:
predict.lm(fit,testDataSet)
Thanks
-Bala
2009 Aug 14
1
large matrices in SparseM
Hi there,
I'm having a problem when trying to create a large matrix (1,000,000 x
1,000,000) of the .csr type (package 'SparseM').
> k <- rep(0,1000000)
> tmp <- length(k)
> tmp2 <- as.matrix.csr(0,tmp,tmp)
Error in if (length(x) == nrow * ncol) x <- matrix(x, nrow, ncol) else { :
missing value where TRUE/FALSE needed
Warning message:
In nrow * ncol : NAs
2010 Jan 11
2
sparseM and kronecker product_R latest version
Dear all,
I just installed the new version of R, 2.10.1, and I am currently
using the package sparseM. (I also use a 64 bit windows version)
I got a problem that I never had: when I try to multiply with a
kronecker product (%x%) two sparse matrixes I get the following
message:
Error in dim(x) <- length(x) : invalid first argument
I never had this problem with previous versions of R.
May
2008 Apr 30
0
[Fwd: Re: openSUSE 11.0 - NUT]
Stanislav Brabec wrote:
> Please note that 2.2.2-pre3 installs hald addons by default to / on
> openSUSE 11.0 beta 2 x86_64. Not a big problem.
Here is a patch, which fixes openSUSE 11.0 beta 2 x86_64:
--- m4/nut_check_libhal.m4
+++ m4/nut_check_libhal.m4
@@ -63,7 +63,7 @@
dnl As per HAL spec, ?5 Callouts and ?2 Device Information Files
dnl - addon install path: $libdir/hal
2007 May 21
0
quantreg and sparseM will not load
I have recently started using R and want to use the quantreg (and
sparseM) packages.
I downloaded the .tar files for each, and placed the subsequent
folders into the library folder in the frameworks/R.framework/
resources/library folder with all the other packages.
When I try to load either package from the package manager window I get:
Loading required package: SparseM
Error in
2013 May 07
0
How to use "SparseM-conversions" to convert a dCgMatrix into a matrix.csr ?
Hi all,
I want to transform a dCgMatrix from package Matrix into a matrix.csr from
package SparseM, and I found out this link :
http://stat.ethz.ch/R-manual/R-devel/library/Matrix/html/SparseM-conv.html
But there's no informaion about usage/description/arguments, so how do I
use this SparseM-conversions method ?? Is it a function ??
By the way I already tried function: as.spam.matrix.csr
2004 Nov 18
1
Method dispatch S3/S4 through optimize()
I have been running into difficulties with dispatching on an S4 class
defined in the SparseM package, when the method calls are inside a
function passed as the f= argument to optimize() in functions in the spdep
package. The S4 methods are typically defined as:
setMethod("det","matrix.csr", function(x, ...) det(chol(x))^2)
that is within setMethod() rather than by name before
2005 Aug 13
1
Compilation failures: mgcv, spatstat, Matrix, cluster
Please cc me when replying to the list.
With Version 2.1.1 (2005-06-20) on Power Mac G5 running Mac OS X
10.4.2 (8C46):
Some compilations work (e.g., MatchIt, RGraphics, Zelig), and some
don't, e.g., mgcv, spatstat, and the following (Matrix, cluster):
trying URL 'http://www.ibiblio.org/pub/languages/R/CRAN/src/contrib/
Matrix_0.98-3.tar.gz'
Content type
2016 Sep 04
6
Adding [[nodiscard]] to Compiler.h
My 2 cents: get rid of LLVM_UNUSED_RESULT, and move to LLVM_NODISCARD.
For compilers that support it, it should be a strict superset of features
and functionality. The standard feature was written directly based on the
clang warn_unused_result stuff.
I would just migrate us onto the spelling and usage pattern that got
standardized. All we have to lose are warnings from compilers other than
Clang
2010 Mar 05
1
make depend fails when building Wine 1.1.40
I am trying to build Wine 1.1.40 in Fedora 12 with wine.spec from src.rpm but I get this error:
configure: Finished. Do 'make' to compile Wine.
+ /usr/bin/make depend
config.status: creating tools/Makefile
make[1]: Entering directory `/home/user/rpmbuild/BUILD/wine-1.1.40/tools'
gcc -c -I. -I. -I../include -I../include -I/usr/include/freetype2 -D__WINESRC__ -Wall -pipe
2016 Sep 02
2
Adding [[nodiscard]] to Compiler.h
Sanjoy Das <sanjoy at playingwithpointers.com> writes:
> Hi Justin,
>
> This SGTM generally, but please make the difference between
> LLVM_NODISCARD and LLVM_UNUSED_RESULT clear in the code. :)
Right, this is where it gets a little weird. LLVM_NODISCARD would be for
types, whereas LLVM_UNUSED_RESULT would be for functions. Depending on
your host compiler, using the wrong one
2006 Oct 12
2
Problem loading SpareM package
Hi,
I have just installed R 2.4.0 and when I try to load SpareseM, I get the following error message
library(SparseM)
Package SparseM (0.71) loaded. To cite, see citation("SparseM")
Error in loadNamespace(package, c(which.lib.loc, lib.loc), keep.source = keep.source) :
in 'SparseM' methods specified for export, but none defined: as.matrix.csr, as.matrix.csc,