Displaying 20 results from an estimated 300 matches similar to: "Dashes in node names"
2010 Sep 03
1
[PATCH] New '-o' option to configure server or hosts from command line
Options given on the command line have precedence over configuration
from files.
This can be useful, for example, for a roaming node, for which
'ConnectTo' and <host>.Address depends on its location.
---
This patch is against stable branch. Merging this patch to the 1.1
branch is trivial.
I use this patch on my Debian for several weeks.
Here is the ifupdown script I use (some
2006 Oct 24
1
test env. differs from development env, tests breaking
I just got a new PC at work. My project files were copied from my old
drive. Just to be sure, though, I have erased them and pulled them back
down from source control.
My development database server is MySQL
My test database server is sqlite3
I am having a confusing issue: tests are failing and errors are
happening that weren''t happening before. Furthermore, they aren''t
2007 Oct 12
1
use 'lapply' to creat 2 new columns based on old ones in a data frame
There is a dataset 'm', which has 3 columns: 'index', 'old1' and 'old2';
I want to create 2 new columns: 'new1' and 'new2' on this condition:
if 'index'==i, then 'new1'='old1'+add[i].
'add' is a vector of numbers to be added to old columns, e.g. add=c(10,20,30
...)
Like this:
index old1 old2 new1
2010 Jun 01
1
loop
Can any one help it will be very kind, loop statements
I have this table and some more records, I want to reshape it
V1 V2 V3 V4 V5 V6 V7 V8 V9 V10
TP53 Dis1 Dis2 Dis3 Dis4 Dis5 Dis6
DCI New1 New2 New3 New4
FDI Hi2 H3 H4
GHD I1 I3 I4 I5 I6 I7 I8
I want my new table or matrix to be some thing like this
V1 V2 V3
Tp53 Dis1 Dis2
Tp53 Dis1 Dis3
Tp53 Dis1 Dis4
Tp53 Dis1 Dis5
Tp53 Dis1 Dis6
Tp53 Dis2
2003 Jun 06
0
Problems building RELENG_4_8
On a 4.8-PRERELEASE, I have cvsup'ed my sources to the latest RELENG_4_8.
While doing buildworld, I get this:
cc -c -O -pipe -fexceptions -DIN_GCC -D_PTHREADS -DGTHREAD_USE_WEAK
-I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config
-I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. -DL_pure -o _pure.o
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc2.c
c++ -c -O -pipe -fexceptions
2011 Sep 23
4
replace multiple string
Hi
I would like to use a bash script that searches files and
subdirectories name in a directory /var/ww/html/web
for a specific string, and when it finds the search string, replaces
the string (old1) with new string (new1), and so on
old2 with new2 ....oldn with newn.
replace_string.sh
#!/bin/bash
for db in $(find /var/www/html/web -name * -exec)
do
sed -e "s/old1/new1/" \
sed
2009 Jul 01
4
mbox format and UIDVALIDITY
My base concern may be illustrated with the help of that simple telnet
session:
# telnet 127.0.0.1 imap
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
AUTH=PLAIN] Dovecot ready.
a1 login testuser ******
a1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID
ENABLE SORT
2008 Jun 10
2
convert characters into integers in a matrix
Hello,
I will appreciate any suggestion for this simple problem. I have a matrix of
characters "A", "P", "M".
I want to convert those characters to integers 0,1, 1 respectively. I am
using the following R statements:
exprs.new<-gsub("P",1,exprs)
exprs.new1 <- gsub("A",0,exprs.new)
exprs.new2 <-
2008 Jul 25
0
nlminb--lower bound for parameters are dependent on each others
Hello
I'm trying to solve two sets of equations (each set has four equations and
all of them share common parameters) with nlminb procedure. I
minimize one set and use their parameters as initial values of other set,
repeating this until their parameters become very close to each other.
I have several parameters (say,param1, param2) and their constraints are
given as inequality and depend
2011 Feb 07
1
Seeking help to define s4 method for 'print'
I have got another question on defining a method for print() function for my
s4 class. Here is my class definition as well as what I have done till now:
> setClass("Me", representation(x1 = "numeric", x2 = "numeric", y1 =
"character"))
[1] "Me"
> setMethod("print", "Me", definition=function(x) {
+ cat("Values
2010 Apr 14
1
Problem trying to plot Vennerable object
Hi,
I'm new to the list so apologies if this has been asked before. I
couldn't find any refs in google.
I recently installed the Vennerable library from Rforge, this required
an upgrade of R to 2.10.0 by the 'pylr' dependency.
However, a very simple command fails:
Vcomb <- Venn(SetNames= c("EOCT", "EOCM"), Weight=c(0, 11841, 24084, 24660))
plot(Vcomb)
2017 Dec 20
1
utils::unzip ignores overwrite argument, effectively
It does give a warning, but then it overwrites the files, anyway.
Reproducible example below.
This is R 3.4.3, but it does not seem to be fixed in R-devel:
https://github.com/wch/r-source/blob/4a9ca3e5ac6b19d7faa7c9290374f7604bf0ef64/src/main/dounzip.c#L171-L174
FYI,
G?bor
dir.create(tmp <- tempfile())
setwd(tmp)
cat("old1\n", file = "file1")
cat("old2\n", file
2008 May 15
2
How to remove autocorrelation from a time series?
Dear R users,
someone knows how to remove auto-correlation from a frequencies time series?
I've tried by differencing (lag 1) the cumulative series (in order to have only positive numbers) , but I can't remove all auto-correlation.
If it's useful I can send my db.
x <- # autocorrelated series
new1<-cumsum(x)
new2<-diff(new1,lag=1,differences = 1)
acf(new2) #
2006 Mar 10
2
trimming a factor
Hi,
I have the following dataframe. The County Column has many empty spaces
at the end.
I want to cut out the empty space and put them back into the dataframe.
How can this be done?
> head(DailyCounty)
Date County GFCPer GFCEquip Acre nFires
Date2
1 2001-01-04 00:00:00 Appling 1 1 0.20 1
2001-01-04
2 2001-01-05 00:00:00 Appling
2014 Aug 25
1
tinc 1.1 - Improve Hostname Support
Currently, the tinc application which is part of tinc 1.1 does not support
the ability to handle `Name = $HOST` lines in tinc.conf. This set of
patches refactors get_name in order to be able to support this
configuration option in the tinc binary.
After having read through the codebase, it seems like we could really do
for a heavy refactoring as there is a lot of poorly coupled and duplicated
2001 Apr 09
5
predict problem
Windows 98
R : Copyright 2001, The R Development Core Team
Version 1.2.1 (2001-01-15)
Dear friends.
How comes this works and produce a single prediction:
x <- rnorm(15)
y <- x + rnorm(15)
predict(lm(y ~ x))
new <- data.frame(x = seq(-3, 3, 0.5))
predict(lm(y ~ x), new, se.fit = TRUE)
pred.w.plim <- predict(lm(y ~ x), new, interval="confidence")
new1 <- data.frame(x=3)
2007 Mar 14
0
cannot delete the last column of a dataframe using "[<-" (PR#9565)
Hi,
If df is a dataframe, its last column can't be deleted using "[<-", but
other columns can be deleted this way.
Example:
> (df <- df0 <- data.frame(x = 1:3, y = 4:6, z = 7:9))
x y z
1 1 4 7
2 2 5 8
3 3 6 9
> df[, "z"] <- NULL
Error in x[[jj]] : subscript out of bounds
> df[, 3] <- NULL
Error in x[[jj]] : subscript out of bounds
>
2012 Feb 09
2
fill an array by rows
I've dug around but not been able to find anything, am probably missing
something obvious.
How can I fill a three-dimensional (or higher dimension) array by rows
instead of columns.
eg
new1 <- array(c(1:125), c(5,5,5))
works fine for me but fills it by columns and
new2 <- array(c(1:125), c(5,5,5), byrow=TRUE)
throws an error.
Am I missing something obvious? I also tried
2015 Feb 17
0
Virtual File System modules not running
Following are the steps we performed to run vfs and error encountered. Also
attached vfs_demo.c file to look into.
http://nnc3.com/LJ2013/LJ/220/11262.html
Steps are followed from link above.
[global]
log file = /var/log/samba/%m.log
log level = 10
max log size = 1000
level2 oplocks = true
passwd chat = *Enter\snew\s*\spassword:* %n\n
*Retype\snew\s*\spassword:* %n\n
2012 Mar 03
1
Problem running stepAIC within a function.
Hi
I need to a function that automatically fits a regression to data, using the
stepAIC. I've ran the code manually and it works fine. However, when I run
the function on the same data, the following error occurs:
Problem in regimp(fullsim = simt, fullsim1 = simt1,..: Length of (weights)
(variable 4) is 4271 != length of others (4278)
I got the function to output the length of the dataset