similar to: Matrix scalar operation that saves memory?

Displaying 20 results from an estimated 6000 matches similar to: "Matrix scalar operation that saves memory?"

2023 Apr 12
1
Matrix scalar operation that saves memory?
I doubt that R's basic matrix capabilities can handle this, but have a look at the Matrix package, especially if your matrix is some special form. Bert On Tue, Apr 11, 2023, 19:21 Shunran Zhang <szhang at ngs.gen-info.osaka-u.ac.jp> wrote: > Hi all, > > I am currently working with a quite large matrix that takes 300G of > memory. My computer only has 512G of memory. I
2023 Apr 12
1
Matrix scalar operation that saves memory?
One possibility might be to use Rcpp. An R matrix is stored in contiguous memory, which can be considered as a vector. Define a C++ function which operates on a vector in place, as in the following: library(Rcpp) cppFunction( 'void subtractConst(NumericVector x, double c) { for ( int i = 0; i < x.size(); ++i) x[i] = x[i] - c; }') Try this function out on a matrix. Here we
2023 Apr 12
1
Matrix scalar operation that saves memory?
The example given does not leave room for even a single copy of your matrix so, yes, you need alternatives. Your example was fairly trivial as all you wanted to do is subtract each value from 100 and replace it. Obviously something like squaring a matrix has no trivial way to do without multiple copies out there that won't fit. One technique that might work is a nested loop that changes one
2024 Aug 26
6
[Bug 3723] New: sshd failed to close session when client specifies no remote command
https://bugzilla.mindrot.org/show_bug.cgi?id=3723 Bug ID: 3723 Summary: sshd failed to close session when client specifies no remote command Product: Portable OpenSSH Version: 8.0p1 Hardware: amd64 OS: Linux Status: NEW Severity: minor Priority: P5 Component: PAM
2014 Apr 03
1
process asterisk stop
Who can help? I have Asterisk 1.8.3 server on Ubuntu 10.04. Asterisk periodically falls here with this error: [1227952.625701] asterisk [30237]: segfault at 18 ip 00007ff3504579bc sp 00007ff34ddc3ff0 error 4 in libc-2.11.1.so [7ff3503e0000 +17 a000] -- Pavel Chashkov www www.ngs.ru <http://ngs.ru> e-mail p.chashkov at office.ngs.ru <mailto:p.chashkov at office.ngs.ru> ???????
2006 Aug 06
10
editor recommendation
Hello lsit, I''am new to rails (about 2 hours) and after the first lines of code I must say: Great! I love it! Can someone recommend me a editor? I run Ubuntu Dapper. Th?ngs -- Jochen Kaechelin, fvgi242ss, wlanhacking.de http://mail.wlanhacking.de/cgi-bin/mailman/listinfo http://www.gissmoh.de - Mein sonstiges Leben!!
2011 Nov 09
3
R to automate scatter plots
Hi R people! I have a directory of .csv files I would like to make into objects then scatter plots. I have been having varying degrees of progress. I was able make an object of all files, loop through it, and make a pdf of the last file I looped through. I kept renaming the pdf so instead of ending up with 27 pdfs I got one, with the data from the last file I have been tweaking with it
2009 Oct 09
6
disk I/O problems and Solutions
Hey folks, CentOS / PostgreSQL shop over here. I'm hitting 3 of my favorite lists with this, so here's hoping that the BCC trick is the right way to do it :-) We've just discovered thanks to a new Munin plugin http://blogs.amd.co.at/robe/2008/12/graphing-linux-disk-io-statistics-with-munin.html that our production DB is completely maxing out in I/O for about a 3 hour stretch from
2012 Jul 27
1
How to run regressions over increasing time series
Hello, I would like to run a series of regressions on my data (response variable over time): 1) regression from T1 to T2 2) regressions from T1 through T3 3) regression from T1 through T4, etc. I have been struggling to find a way to do this through commands, as opposed to cutting up the data manually (my dataset has over 6000 rows/observations). An illustrative dataset can be created thusly:
2008 Jul 13
2
GoldWave 5.08 doesn't work
GoldWave v 5.08 does not work. It starts, but when try to load any .wav file after pressing "Play" button it plays file endlessly. After pressing "Stop" button, playing loops - it plays endless some final part until program will closed. I had done log with +relay,+seh,+text parameters. It is relative big, so I do not attach it. Instead, I pack it with BZip2 and place to
2010 Jul 28
1
error in f(x,...)
Dear all, I tried once to create one variable called bip such that: bip <- cip + (1/f(cip))*fi(f,cip) And this was working. But now, doing the same thing I did before, the software shows me the following message: Error in f(x, ...) : unused argument(s) (subdivision = 2000) I have the variable cip and the variable bip should be created such that: Fn <- ecdf(cip) f <- function(x) {(1 -
2012 Aug 31
1
reviews for quality control
Hi, It might be a trivial question but I just wonder if you could advise good theoretical tutorials, reviews on NGS (different platforms) quality control like nucleotides quality by cycle, nucleotides frequency by cycle, GC content and distribution, K-mer frequency by cycle as well as quality control after alignment and mapping. Look forward to your reply, Carol [[alternative HTML version
2008 Mar 03
2
handling big data set in R
Hello R users, I'm wondering whether it is possible to manage big data set in R? I have a data set with 3 million rows and 3 columns (X,Y,Z), where X is the group id. For each X, I need to run 2 regression on the submatrix. I used the function "split": datamatrix<-read.csv("datas.csv", header=F, sep=",") dim(datamatrix) # [1] 2980523 3
2007 Apr 18
1
[Bridge] Re: hang on PPC
On Sun, 27 Jun 2004 15:43:30 +0700 <arkady-parabel@ngs.ru> wrote: > Hi. > > I'm using a powerpc-based board (CPU - Motorolla 82855, 50 > Mhz) with 32 Mb of RAM, Big Endian. > Linux kernel - 2.4.22, bridge - statically linked & as a > module > brctl - 0.9.6 > Ethernet - fec (arch/ppc/8xx_io/fec.c) > All this was compiled with gcc version 3.2.2 20030217
2005 Aug 19
1
Summary: Unexpected result of read.dbf
Hi there, This is summary and patch for a bug in read.dbf, demonstrating in Message-Id: <20050818150446.697835cb.stanimura-ngs at umin.ac.jp>. After consulting Rjpwiki, a cyber-community of R user in Japan, the cause was found, and the patch of solution was proposed. Overflowing occurs when we use read.dbf for reading a dbf file having a field of longer signed integer. For example, $
2003 Mar 25
1
Cannot rebuild src.rpm
I use R-1.5.1-1 on VineLinux2.6, which is modified and developed from RedHat7.2. Today I tried version-up R system, but I could not rebuild. Rebuilding R-1.6.2-1.src.rpm failed with the following message. make[5]: Leaving directory `/home/umusus/rpm/BUILD/R-1.6.2/src/library' running code in 'tcltk-Ex.R' ...X11 connection rejected because of wrong authentication. X connection to
2013 Jan 18
8
migrate from physical disk problems in xen
I''ve been trying to migrate a win nt 4 machine to a xen domu for the past few months with no success. However, on my current attempt, the original hardware no longer boots, so I''m trying to resolve the issues with xen properly, or else take a long holiday... Anyway, the physical machine had a 9G drive (OS drive), a 147 G drive (not in use) and a 300G drive (all SCSI Ultra320 on
2004 Jun 17
2
Problem with sending winpopup messages
Hi There, I'm using Mandrakelinux 10.0 Community, kernel version 2.6 I want to send a message to Windows clients from my Samba 3.0.2a box. Clients are w2k and winxp. If i say in CL $> smbclient -M recipient_machine then recieve error message "session request failed". Here the part of debug log: ------------------------------------ [gri@griff gri]$ smbclient -M serv -d5 ... ...
2011 Feb 01
3
centos 4.8 or centos 5.5 for server is great?
hi,i am new guy for linux world i made a server (centos5.5 8g ram 300g*2 sas 15k harddisc ),but some my friend use linux feveral years advise me use centos 4.8,he said it is much good than centos 5.5 it is trouble me ,is it newest is good than older? please give me some advice Thanks all -------------- next part -------------- An HTML attachment was scrubbed... URL:
2012 Jan 02
1
tcp version of toronto - osaka doesn't work
I'm trying to setup a simple tcp sip connection based on the toronto osaka example in the Asterisk book. On the remote box (osaka) (1.8.9.0-rc1): [toronto] type=friend transport=tcp secret=welcome context=toronto_incoming host=dynamic disallow=all allow=ulaw sip show peer toronto * Name : toronto Secret : <Set> MD5Secret : <Not set> Remote Secret: