similar to: < 0 x 0 matrix >

Displaying 20 results from an estimated 1000 matches similar to: "< 0 x 0 matrix >"

2012 Oct 12
3
Loss of dimensions in subsetting arrays
Hi all, I've been wondering for a long time why R drops the dimensions of an array/matrix when you try to take a subset of one column. I mean this: dim(A) [1] 2 5 2 B=A[1,,] dim(B) 5 2 # so now dim(B)[3] doesn't work C=B[2,] dim(C) NULL # so now nrow(C) doesn't work Typically, you can get rid of this by writing as.matrix, as.array(...) but that generates extra lines of code.
2007 Apr 16
2
Matrix manipulation
Hi, This is a very basic question, but apparently I am too stupid for it. I have a large matrix A, and I need to avoid for loops. How could I apply a function f(a,r,c) on each element of A, using the subscript (row and column) of a as the other arguments? Thanks in advance, Markku Karhunen National Public Health Institute, Finland
2008 Jan 22
1
ODE's in R
Dear all, Has anybody tried numerical solving of ODE's and/or transport equations in R? (Don't ask how we ended up in using R for this job, in the first place!) More precisely, does anybody know any technical issue that could make the work insecure in the sense of propagation of errors? Is there any track of evidence that R is, in this kind of task, less reliable than e.g. MatLab?
2012 Mar 11
1
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ * EffectStars (1.0) Maintainer: Unknown Author(s): Gunther Schauberger License: GPL-2 http://crantastic.org/packages/EffectStars The package provides functions to visualize regression models with categorical response. The effects of the covariates are plotted with star plots in order to allow for an optical
2005 Apr 02
2
Building new graphic device drivers with g++
Dear Group, I'm trying to build a set of new graphic device drivers. I use the devNull example a a beginning point: $ R CMD SHLIB devNull.c gcc -shared -L/usr/local/lib -o devNull.so devNull.o (everything works OK) $ R CMD SHLIB devNull.cpp g++ -shared -L/usr/local/lib -o devNull.so devNull.o (everything works OK) The difficulties start when trying to compile manually. I compile the
2009 Sep 07
2
Andrews plot
Dear all Colleague of mine ask me if R is capable of Andrews plot like andrewsplot(x) in Matlab. Quick search did not reveal anything but before I start to write any routine I would like to ask this ingenious audience if there is any implementation of Andrews plots somewhere. I know about parallel coordinate plots in lattice (although I do not use them as I am not sure what the plot tells
2005 Dec 24
8
Prototype OOP example
Hi, Here is what I want to do: Labour = Class.create(); Labour.prototype = { initialize:function(name){ this.name = name; } } What I want to do is create a class called "Worker" which will inherit from "Labour", and the signature of "initialize" is "function(name, position)". May I ask what should do? Thank you all very much for the
2005 Aug 17
2
About R variable references
Hello Group, I could use an advice on how SEXP handles work. My aim is to implement a system where I initially set a few global variables that are used for communication between C and R code. Then I do some work with R code and periodically call a function of my own that will update the system state. Such a design is useful for many purposes (for GUIs to name one). I am not entirely sure that R
2005 Mar 24
1
Robust multivariate regression with rlm
Dear Group, I am having trouble with using rlm on multivariate data sets. When I call rlm I get Error in lm.wfit(x, y, w, method = "qr") : incompatible dimensions lm on the same data sets seem to work well (see code example). Am I doing something wrong? I have already browsed through the forums and google but could not find any related discussions. I use Windows XP and R
2009 Sep 04
3
Load a package without installing it
Hi all, When developing a package, it's often useful to be able to reload it, without re-installing, re-starting R and re-loading. To do this I've written a little script that inspects the package description and loads dependencies, data and code - http://gist.github.com/180883. It's obviously not very general (being tailored to my description files) and won't work for packages
2006 May 14
3
send_file and locking files after download?
Hello, I''m working on a download service which grants users a one-time-download access to files. The idea is to write an entry to a database table after a successful download that "locks" the download link for the user. After doing some quick tests with send_file I noticed that send_file does not block until the user has downloaded the full file, but proceeds with the
2012 Jan 17
1
A little confused with video drivers
Hello, I have an HP Pavilion g series laptop with an ATI vision A6 video chipset. I tried elrepos ati driver but found that the laptop would freeze intermittently and frequently. So I unloaded that driver and am running with nomodeset argument just to get a desktop. I went to the ATI site but am not sure what to try. Would anyone know which driver I could use that would work? Thanks in
2013 Jan 17
1
Configure can't find SDL (Sort of OT)
One last issue: I ran ./configure and got this: checking for Mix_OpenAudio in -lSDL_mixer... no *** SDL_mixer not found. Configuring without audio support. config.log says: configure:3145: checking for sdl-config configure:3180: checking for SDL - version >= 1.0.1 configure:3265: gcc -o conftest -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT conftest.c -lSDL -lpthread 1>&5
2016 Aug 10
1
Regarding using CentOS on Commercial Appliance
Thanks for the reply. I had already visited the links mentioned by you. The link? https://www.centos.org/legal/trademarks/ talks about non-usage of trademarks in commercial software which is taken care. The link https://www.centos.org/legal/ talks very less about legal terms and condition. Is there some other link which mentions about the License model used by CentOS. Infact, no where it is
2017 Apr 04
2
M.2 PCI-E card
On 04/03/2017 06:17 PM, Chris Adams wrote: > Once upon a time, Alice Wonder <alice at domblogger.net> said: >> I need a low profile PCI-E card that allows for up to 2 M.2 SSD >> drives that is known to work with the stock kernel in CentOS 7. >> >> Can anyone recommend one? > > I can't recommend a specific one, but any adapter card should work. >
2018 Nov 16
1
RHEL 8 Public Beta Released
On 11/15/18 8:12 PM, Simon Matter wrote: >> >> >> Its upstreams decision to not support lists anymore. >> >> The Customer Portal is part of the substitution > Thanks, that's exactly what I was afraid to hear. > > Simon > > _______________________________________________ > CentOS mailing list > CentOS at centos.org >
2009 Sep 03
2
Calling R from a Perl script: much slower?
Hello list, I use R for microarray analysis. One procedure I use takes a large matrix, and loops through it looking for specific rows, does an operation with them, and outputs a result (single row) as a row of another matrix. The loop goes on about 25000 times. When I run the loop directly from the R console itself, it takes about 3 minutes in my computer. I'm ok with that. Now,
2016 Aug 13
3
XDC2016
Hi everybody, I saw that some more appeared on the list of Attendees, so it might be a good time to ask how we want to organize the stay and if we plan to book at the same place like we did on fosdem (well more or less). Also how does everybody plans to stay? I was thinking about Tuesday to Sunday, but if everybody comes at Monday already, I might change my plans ;) PS: if discussing that in
2007 Dec 20
2
Multicore computation in Windows network: How to set up Rmpi
R-users, My question is related to earlier posts about benefits of quadcore over dualcore computers; I am trying to setup a cluster of windows xp computers so that eventually I could make use of 10-20 cpu:s, but for learning how to do this, I am playing around with two laptops. I thought that the package snow would come handy in this situation, but to use snow, I would probably need to install
2019 Apr 14
7
Outliner
I would love to find an old-fashioned outliner, like the ones that used to exist prior to the modern GUIs. It would make writing structured documents, or organizing thoughts in general, so much more convenient, productive and faster. Ideally it should allow saving files in txt, OO and markdown formats... Does anything like this exist that can run in a terminal window under Centos??