similar to: zero-offset matrices

Displaying 20 results from an estimated 1100 matches similar to: "zero-offset matrices"

2011 Aug 04
3
persp()
Hello I am trying to draw a basic black and white map of two European countries. After searching some key words in google and reading many pages I arrived to the conclusion that persp() could be used to draw that map. I have prepared three small example files, which are supposed to be the files required for running that function. xvector is a vector with the longitudes yvector is a vector with
2007 Jul 20
1
Column-mean-values for targeted rows
Hi all, I'm handling massive data.frames and matrices in R (30000 x 400). In the 1st column, say, I have 0s and 1s indicating rows that matter; other columns have probability values. One simple task I would like to do would be to get the column mean values for signaled rows (the ones with 1) As a very fresh "programmer" I have build a simple function in R which should not be very
2008 Jul 16
1
Problem with mpi.close.Rslaves()
I am running R 2.7.0 on a Suse 9.1 linux cluster with a job scheduler dispatching jobs and openmpi-1.0.1. I have tried running one of the examples at http://ace.acadiau.ca/math/ACMMaC/Rmpi/examples.html in Rmpi and they seem to be working, except mpi.close.Rslaves() hangs. The slaves are closed, but the master doesn't finish its script. Below is the example script and the call to R. The job is
2008 Nov 07
1
Rmpi task-pull
Hi, I'm testing the efficiency of the Rmpi package regarding parallelization using a cluster. I've found and tried the task pull programming method, but even if it is described as the best method, it seems to cause deadlock, anyone could help me in using this method? here is the code I've found and tried: # Initialize MPI library("Rmpi") # Notice we just say "give us
2017 Mar 20
1
outer not applying a constant function
> Or is this a bad idea? I don't like the proposal. I have seen code like the following (in fact, I have written such code, where I had forgotten a function was not vectorized) where the error would have been discovered much later if outer() didn't catch it. > outer(1:3, 11:13, sum) Error in outer(1:3, 11:13, sum) : dims [product 9] do not match the length of object [1]
2019 Sep 10
1
[Intel-gfx] [PATCH v6 08/17] drm/ttm: use gem vma_node
On Sat, Sep 07, 2019 at 09:58:46PM -0400, Ilia Mirkin wrote: > On Wed, Aug 21, 2019 at 7:55 AM Thierry Reding <thierry.reding at gmail.com> wrote: > > > > On Wed, Aug 21, 2019 at 04:33:58PM +1000, Ben Skeggs wrote: > > > On Wed, 14 Aug 2019 at 20:14, Gerd Hoffmann <kraxel at redhat.com> wrote: > > > > > > > > Hi, > > > >
1999 Mar 02
0
[R] zero-offset matrices (PR#132)
Prof Brian Ripley <ripley@stats.ox.ac.uk> writes: > "[<-.zoffset" <- function(x, i, j, value) > { > if(!missing(i) && is.numeric(i)) i <- i+1 > if(!missing(j) && is.numeric(j)) j <- j+1 > NextMethod("[<-") > } > works in S but not in R. (Which I think is a bug.) I next tried Yup, there's a bug in there
2009 Feb 06
2
Rmpi Segmentation fault
Dear all, I have used the Rmpi package many times before however this time I've installed it as I always do with openMPI tar.gz file direct from the website. I'm installing on my ubuntu 8.10. Linux 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux All i get is: > library(Rmpi) Segmentation fault :~$ Which dumps me back into the shell, and doens't give me much
2004 Mar 23
1
Why does my cwrsync try to load ssh?
Just installed cwrsync 1.2.1 and I am getting this: C:\cwrsync>rsync -n -v -r /cygdrive/c/robj/pickmeup speedball3:/cygdrive/d/robj/pickmeup Failed to exec ssh : No such file or directory rsync error: error in IPC code (code 14) at pipe.c(81) rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(189) Why in heaven's
2009 May 19
1
panel question (plm)
Hello, I am working on a data set (already as a plm.data object) located here: http://econsteve.com/arch/plmWithDensity.Robj With the following R session: > library(plm) ... >load("plmWithDensity.Robj") >model <- plm(RATE ~ density08, data=plmWithDensity) Error: subscript out of bounds I am not understanding the "subscript out of bounds" error, as this is a
2001 Oct 11
2
Where's MVA?
Hi All: Package TSERIES is stated to depend on MVA. However, there is no MVA package to be found under the list of package sources. Best wishes, ANDREW tseries: Package for time series analysis Package for time series analysis with emphasis on non-linear and non-stationary modelling Version: 0.7-6 Depends: ts, mva, quadprog Date: 2001-08-27 Author: Compiled by Adrian
2012 Nov 08
1
sweave xtable and driver RweaveHTML
Hi, So far I used Sweave to create pdf reports. I used xtable to create some tables in the report. But now I would like to use the same snw file to generate an HTML version. The xtable output breaks the RweaveHTML driver. library(R2HTML) Sweave('analyseLFQ.Snw', driver = RweaveHTML) Error in match.arg(options$results, c("Robj", "html", "hide")) :
2020 Sep 15
1
[PATCH v2 12/21] drm/radeon: Introduce GEM object functions
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in radeon. v2: * move object-function instance to radeon_gem.c (Christian) * set callbacks in radeon_gem_object_create() (Christian) Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de> ---
2007 Apr 19
2
Using "mean" if two values are identical
Hello, I have got a question. I've got a matrix (mail end) with the colnames x, y, z. In this matrix are different measurements. x and y are risign coordinates. My question. Always, if the "x" AND "y" coordinates are the same, I want to get the mean of their z values. e.q. " x" AND "y" in line1 and line8 are identical: 29 4.5 --> mean of
2010 Jan 15
2
optional package dependency
I have a package that can use rmpi, but works fine without it. None of the automatic test code invokes rmpi functionality. (One test file illustrates how to use it, but has quit() as its first command.) What's the best way to handle this? In particular, what is the appropriate form for upload to CRAN? When I omitted rmpi from the DESCRITPION file R CMD check gave <quote> * checking
2008 Mar 04
1
making array of lists
Dear R Users, Given two vectors, say a = seq(2) and b = seq(3), I want to make an 2*3 array, where (i,j) element is list(a=a[i], b=b[j]). I tried the outer() function but it generates an error message that I don't understand, see below. What do I do wrong? The expan.grid function is not good enough since I need a solution that works when a and b are not atomic, say a=list(list(x=1,
2011 Nov 13
1
New PLYR issue
Issue with PLYR. Now using R 2.14 and this data and plyr command line worked with 2.13 I am also loading the same saved data that worked previously, but now some issue. > library(plyr) > UNESCO <- dget('C:/Carbon-GJ/BZE_ecosys.robj') > df2 <- ddply(df, "UNESCO", summarise, total_ha = sum(Ha)) *Error in if (empty(.data)) return(.data) : missing value where
2008 Oct 06
1
Bioconductor installation on 64 bit R problem
Hello, I am attempting to install Bioconductor on 64 bit R. The installation of some bioconductor packages fails with the errors below. I would be very grateful for any help on how to resolve the issue. Best regards, Octavio Espinosa --------------------- Most of the bioconductor packages won't install, for examples 'Biobase' errors with: ** building package indices ...
2024 Aug 21
1
[PATCH v2 78/86] drm/radeon: Run DRM default client setup
Rework fbdev probing to support fbdev_probe in struct drm_driver and remove the old fb_probe callback. Provide an initializer macro for struct drm_driver that sets the callback according to the kernel configuration. Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The
2014 May 14
0
[RFC PATCH v1 14/16] drm/radeon: use rcu waits in some ioctls
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com> --- drivers/gpu/drm/radeon/radeon_gem.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_gem.c b/drivers/gpu/drm/radeon/radeon_gem.c index d09650c1d720..7ba883843668 100644 --- a/drivers/gpu/drm/radeon/radeon_gem.c +++