Displaying 20 results from an estimated 4000 matches similar to: "an S idiom for ordering matrix by columns?"
2008 Sep 11
2
database table merging tips with R
I have not devoted time to setting up ROracle since binaries are not available and it seems to require some effort to compile (see http://cran.r-project.org/web/packages/ROracle/index.html). On the other hand, RODBC worked more or less magically once I set up the data sources.
What is your success using ROracle and why would it be preferable to RODBC ?
-Avram
On Thursday, September 11,
2005 Jan 05
5
Converting integers to chars i.e 1 to "01"
Hello!
I am producing a set of images and I would like them to be sorted by names
I give. I was able to produce my names and add integer to them. That is
easy. But my problem lies in sort of file from this process:
figure_10.png
figure_11.png
figure_12.png
...
figure_1.png
figure_20.png
...
So I would like to convert integers to something like 01 if upper limit for
this conert is 10 or 001
2011 Mar 14
3
ideas on sorting
Hi, I have a character vector as below:
a<-c('10','3R','4','4R','5','5R','6','6R','7','8','9','7R','1','10R','11'
2009 Nov 09
1
adding zero to a number vector
Hi !
I'd like to create
a vector
that has this kind of numeration
001
002
003
.
.
.
099
I have looked at format help page but couldn't get
any hint on how to do it.
Thanks
Anna
Anna Freni Sterrantino
Ph.D Student
Department of Statistics
University of Bologna, Italy
via Belle Arti 41, 40124 BO.
[[alternative HTML version deleted]]
2008 Aug 18
1
lmer syntax, matrix of (grouped) covariates?
I have a fairly large model:
> length(Y)
[1] 3051
> dim(covariates)
[1] 3051 211
All of these 211 covariates need to be nested hierarchically within a
grouping "class", of which there are 8. I have an accessory vector, "
cov2class" that specifies the mapping between covariates and the 8 classes.
Now, I understand I can break all this information up into individual
2013 Dec 07
1
combine glmnet and coxph (and survfit) with strata()
Dear All,
I want to generate survival curve with cox model but I want to estimate the
coefficients using glmnet. However, I also want to include a strata() term
in the model. Could anyone please tell me how to have this strata() effect
in the model in glmnet? I tried converting a formula with strata() to a
design matrix and feeding to glmnet, but glmnet just treats the strata()
term with one
2004 Dec 08
1
Wrong Foldername
Hi,
I'm using samba 3.0.6. I see computer_name folders created in homedir.
This never happened before I switch from Domain to ADS. Could someone
please give me a few pointers?
Regards,
Norman Zhang
[global]
workgroup = ARKONDOMAIN
realm = HQ.ARKONNETWORKS.COM
server string = Samba Server %v
security = ADS
obey pam restrictions = Yes
2020 Feb 26
1
Re: *** buffer overflow detected *** accessing invalid FD in libguestfs
On Wednesday, 26 February 2020 10:43:27 CET Richard W.M. Jones wrote:
> On Wed, Feb 26, 2020 at 11:21:18AM +0200, Veselin Kozhuharski wrote:
> > Hallo Rich,
> >
> > Here is the fd list and total number just before collectd application
> > crashes. Before that the number of used fd's is constantly increasing. It
> > looks like a fd leak inside libguestfs to me.
2012 Apr 19
2
Dependency-aware scripting tools for R
There are numerous tools like scons, make, ruffus, ant, rake, etc.
that can be used to build complex pipelines based on task
dependencies. These tools are written in a variety of languages, but
I have not seen such a thing for R. Is anyone aware of a package
available? The goal is to be able to develop robust bioinformatic
pipelines driven by scripts written in R.
Thanks,
Sean
2009 Nov 25
1
Eliminating 'Unprintable ASCII' characters
Hi all,
I have a csv file containing words with *UNPRINTABLE ASCII* characters
(described in the following table).
Are there any viable method in eliminating these characters?
I realise that *EXTENDED ASCII* characters (i.e , ¡, ¢, £, ¤ etc) can be
removed or replaced via *"gsub"* or *"gregexpr"* functions. But am not
certain with the *UNPRINTABLE ASCII* characters.
Your
2020 Feb 24
3
*** buffer overflow detected *** accessing invalid FD in libguestfs
We have extended collectd virt plugin to extract info about disk usage from
a libvirt domain using libguestfs. In addition to my previous mail I am
attaching some more infomration about the problem.
Currently the collectd plugin works fine and retrieves the required
statistics. The problem that I face happens after certain number of cycles
(getting disk usage statistics). Collectd is terminated
2013 Mar 04
4
enabling reproducible research & R package management & install.package.version & BiocLite
Hi,
In support of reproducible research at my Institute, I seek an approach to re-creating the R environments in which an analysis has been conducted.
By which I mean, the exact version of R and the exact version of all packages used in a particular R session.
I am seeking comments/criticism of this as a goal, and of the following outline of an approach:
=== When all the steps to an workflow
2003 Jun 12
3
unionfs related patch
G'day ...
David Schultz, in his spare time, has been working through some of the
issues I've been able to 'tweak' in the unionfs code ... as he is
currently working on forward-patching it to -CURRENT right now, he can't
commit the code to the -STABLE tree ... in order to allow others using
unionfs to test the patch (I've been running it a few weeks now on a very
heavily
2004 Nov 30
3
Cisco Asterisk Integration
Hello All,
I have managed to get my cisco and asterisk able to talk to one another I
think. But cannot make a call from a phone behind call manager to the
asterisk server.
I have followed the cisco asterisk integration on the wiki.
I have also setup a number 3000 for dialing for current local time and date
on asterisk. I can call from a sip phone behind asterisk, no problems. The
problem
2010 May 03
1
How to generate Mackey-Glass time series with "ddesolve" package?
I could use some help generating a time series for the Mackey-Glass equation: dx/dt = 0.2 x(t-tau)/(1 + x(t-tau)^10) - 0.1 x(t) for the case there tau = 17. I tried the "ddesolve" package but the dde(...) function seems to hang, not producing anything. Can someone show me the R script how to do this?
- Mike Beddo
[[alternative HTML version deleted]]
2004 Apr 27
3
reading a "sparse" matrix into R
I have a 47k x 47k adjacency matrix that is very sparse (at most 30
entries per row); my textual representation therefore is simply an
adjacency list of connections between nodes for each row, e.g.
node connections
A B C D E
B A C D
C A E
D A
E A F
F E
G
H
I'd like to import this into a dataframe of node/connection
(character/vector-of-characters) pairs. I've experimented with
2012 Sep 22
4
Class, Module, Object
>> reload!
Reloading...
=> true
>> puts Class < Module
true
=> nil
>> puts Module < Class
false
=> nil
>> puts Module < Object
true
=> nil
>> puts Object < Module
false
=> nil
>> Object.parent
=> Object
The above indicates that the Class object instance inherits from the
Module object instance and the Module object instance
2004 Jul 07
1
lost messages
I've posted a message twice to this list, and never seen it appear yet
... perhaps this one will go through ... ?
--
Aaron J. Mackey, Ph.D.
Dept. of Biology, Goddard 212
University of Pennsylvania email: amackey at pcbi.upenn.edu
415 S. University Avenue office: 215-898-1205
Philadelphia, PA 19104-6017 fax: 215-746-6697
2002 Nov 12
2
How to get a degree sign into a lattice factor level?
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 6.1
year 2002
month 11
day 01
language R
I notice that expressions can be used in legends, but as far as I can
tell, cannot be used as levels for
2004 Aug 05
1
Using pipe for input data
Hi.
I have asked this question before and Aaron J. Mackey and Tony Plate gave me
some great insight but I still can't figure out how to do what I am trying
to accomplish. So let me ask again...
What I am trying to do is to make R read data from pipe (stdin).
Say I have following files on my directory
my.dat
apple 1
orange 2
grape 3
my.R
d <- read.table(