Displaying 20 results from an estimated 1000 matches similar to: "assign object with loop (translation from SAS to R)"
2013 Mar 18
1
CentOS 6.4 kickstart bonding
Hi all,
Someone played with kickstart bonding with centos 6.4 ?
CentOS 6.4, as upstream now support ifcae bonding in kickstart network section.
I've an issue with configuring a second bonding iface in kicstart on CentOS 6.4. The first bonding (bond0) works as espected but the second is not configured during installation. I've a 6 nic server (two for "puclic" network, two for
2011 Aug 15
1
2 matrix scatter x [a lot]
Hello,
I'm pretty new to R. Basically, how do I speed up the for loop below. Or
better yet, get rid of the for loop all together.
objective: plot two data sets column against column by index. These data
sets have alot NA's. Some columns are all NA's. I need the plots to overlay.
I don't like the plots in matplot(). Needs to be much faster than the code
below...
#simple sample
2006 Oct 16
1
Uneven CPU speed with CentOS 4.4 on a Mac Pro
Hi list,
I've recently managed to install CentOS 4.4 on an Apple Mac Pro.
Functionality-wise everything works great, but when trying to benchmark
the system, I don't get stable runtimes, they differ by more than 30%.
For example a benchmark run with our PDE solving code takes between 500
and 800 s on the completely unloaded machine.
Suspicious kernel output (complete output attached):
2010 Jun 18
2
help with reshape is needed again!
hi, folks:
i need to transpose the following data:
gene tissue patient1 patient2 patient3.....
---------------------------------------------
gene1 breast 10 100 1
gene2 breast 20 200 4
gene3 breast 30 50 5
gene4 breast 40 400 9
................................
to the
2013 Nov 15
3
CentOS 6 : Network Interface Naming
Hello All,
I have one CentOS 6 KVM virtualization server that I built around a year
ago (best I can tell it was in October 2012) at which time I would have
been installing 6.3 [0]. That particular install used the Consistent
Network Device Naming [1] conventions (PCIe NICs are p1p1, p1p2).
I started to build out a new KVM virt server (kickstarting a 6.4 install
now as compared to 6.3 back then)
2010 Oct 24
1
Optimize parameters of ODE Problem which is solved numeric
Hi,
I have a data-matrix:
> PID
sato hrs fim health
214 3 4.376430 6.582958 5
193 6 4.361825 3.138525 6
8441 6 4.205771 3.835886 7
7525 6 4.284489 3.245139 6
6806 7 4.168926 2.821833 7
5682 7 1.788707 1.212653 7
5225 6 1.651463 1.436980 7
4845 6 1.692710 1.267359 4
4552 5 1.686448 1.220539 6
2015 Jul 02
1
UEFI/EFI booting and constantly asking for ldlinux.e64
On 7/2/2015 3:42 AM, Gene Cumm wrote:
> This has me thinking your build system has a negative interaction.
> There should be at least 2 lines of output prior to loading
> ldlinux.e64. gcc less than 4.7 is one problem for the EFI binaries.
This could be my problem. I'm using gcc version 4.4.7 20120313 (Red Hat
4.4.7-11) (GCC). I will attempt from a new version of gcc and report.
2011 May 17
2
reshaping issue
Dear R users,
I have a problem with reshaping data. I know such questions have been asked before, but I can't get it right, neither with the reshape function nor with the melt function.
My dataset has about 407 variables and about 48000 cases.
Each case looks as follows:
V1 v2 v3 v4 v5 v6 v7 x1 y1 x2 y2 .... x200 y200
V1 is unique, v2-v7 are
2017 Dec 09
1
Remove
library(dplyr)
DM <- read.table( text='GR x y
A 25 125
A 23 135
.
.
.
)
DM %>% filter((GR == "A" & (x >= 15) & (x <= 30)) |
(GR == "B" & (x >= 40) & (x <= 50)) |
(GR == "C" & (x >= 60) & (x <= 75)))
On Fri, Dec 8, 2017 at 4:48 PM, Ashta <sewashm at gmail.com>
2007 Sep 27
1
error message in eval
Hello, Listers
I'm trying to run blloean logit model with R.
My code is:
> library(boolean)
> library(foreign)
> pr <- read.dta ("prcore1.dta")
> bp <- boolprep ("(a&b)|c", "cwt", a="O1", b="t", c="DM2
> + ah + md + con + n3 + rel + slo + pyrs
> + sp1 + sp2 + spl3")
> answer <- boolean (bp, link =
2010 May 20
1
ERROR: cannot allocate vector of size?
I've looked through all of the posts about this issue (and there are
plenty!) but I am still unable to solve the error. ERROR: cannot allocate
vector of size 455 Mb
I am using R 2.6.2 - x86_64 on a Linux x86_64 Redhat cluster system. When I
log in, based on the specs I provide [qsub -I -X -l arch=x86_64] I am
randomly assigned to a x86_64 node.
I am using package GenABEL. My data (~ 650,000
2011 Oct 17
1
plotting issues with PCA
Hi Listers,
This has a simple answer but it has been eluding me nonetheless.
I have been building a PCA plot from scratch with the ability to plot
predefined groups in different colors. This has worked fine but when I try
to get a polygon drawn around each of the groups it is not recognising my
colour file correctly and is only printing the first colour in the
file....code is below
2005 Dec 19
2
DELL SC430 + CentOS 4.0 + SATA HDDs
Dear gurus,
Three DELL SC430s were purchased by my company a few months back and
I've been told that when they spoke with the DELL representatives,
they were informed that these servers were fully RHEL 4.0 compatible.
Specs of the servers:-
- Pentium 4 - 2.8 GHz
- 1 GB RAM
- 2x 250GB SATA HDDs
I tried installing CentOS 4.0 on it but it doesn't seem to be able to
detect any hard
2017 Mar 29
0
Mixed bonding and vlan on plain adapter possible?
Hello,
I have a CentOS 7.3 + updates server where my configuration arises from the
need to connect via iSCSI to a Dell PS Series storage array and Dell not
supporting bonding.
So that I need to use 2 nics on the same vlan to connect to iSCSI portal IP
and then use multipath.
Also, the iSCSI lan is on a dedicated vlan
I have only these 2 x 10Gbit adapters and I also need to put other vlans on
them
2013 Apr 03
9
VERY odd HTTP Packet Loss
I''m running Xen 4.1.4 on Fedora 17.
I have some CentOS 6 DomUs - an haproxy machine and some tomcat VMs.
When clients send requests with:
POST /ProposalInterface HTTP/1.1
Content-Type: text/xml
Host: www.myhost.co.uk
Content-Length: 2099
Expect: 100-continue
Connection: Keep-Alive
The "continuation" doesn''t happen. The POST is truncated at 1449 bytes,
and the
2015 Jul 01
2
UEFI/EFI booting and constantly asking for ldlinux.e64
I'm setting up UEFI booting and got to the point of having the system
talk to the dhcpd/tftpd server, grab the first image files
(syslinux.efi) and then continuously request the secondary image file
(ldlinux.e64).
I'm wondering if I'm missing something or if someone can point me in the
right direction of trouble shooting this.
The tftp root has all the files to boot a BIOS type
2018 Aug 04
3
Is this a bug in `[`?
?s 15:51 de 04/08/2018, I?aki ?car escreveu:
> El s?b., 4 ago. 2018 a las 15:32, Rui Barradas
> (<ruipbarradas at sapo.pt>) escribi?:
>>
>> Hello,
>>
>> Maybe I am not understanding how negative indexing works but
>>
>> 1) This is right.
>>
>> (1:10)[-1]
>> #[1] 2 3 4 5 6 7 8 9 10
>>
>> 2) Are these right? They
2018 Aug 05
2
Is this a bug in `[`?
Thanks.
This is exactly the doubt I had.
Rui Barradas
?s 05:26 de 05/08/2018, Kenny Bell escreveu:
> This should more clearly illustrate the issue:
>
> c(1, 2, 3, 4)[-seq_len(4)]
> #> numeric(0)
> c(1, 2, 3, 4)[-seq_len(3)]
> #> [1] 4
> c(1, 2, 3, 4)[-seq_len(2)]
> #> [1] 3 4
> c(1, 2, 3, 4)[-seq_len(1)]
> #> [1] 2 3 4
> c(1, 2, 3, 4)[-seq_len(0)]
2018 Aug 05
2
Is this a bug in `[`?
El dom., 5 ago. 2018 a las 6:27, Kenny Bell (<kmbell56 at gmail.com>) escribi?:
>
> This should more clearly illustrate the issue:
>
> c(1, 2, 3, 4)[-seq_len(4)]
> #> numeric(0)
> c(1, 2, 3, 4)[-seq_len(3)]
> #> [1] 4
> c(1, 2, 3, 4)[-seq_len(2)]
> #> [1] 3 4
> c(1, 2, 3, 4)[-seq_len(1)]
> #> [1] 2 3 4
> c(1, 2, 3, 4)[-seq_len(0)]
> #>
2013 Sep 02
3
Product of certain rows in a matrix
Hi,
You could try:
A<- matrix(unlist(read.table(text="
1 2 3
4 5 6
7 8 9
9 8 7
6 5 4
3 2 1
",sep="",header=FALSE)),ncol=3,byrow=FALSE,dimnames=NULL)
library(matrixStats)
?res1<-t(sapply(split(as.data.frame(A),as.numeric(gl(nrow(A),2,6))),colProds))
?res1
#? [,1] [,2] [,3]
#1??? 4?? 10?? 18
#2?? 63?? 64?? 63
#3?? 18?? 10??? 4