Displaying 20 results from an estimated 6000 matches similar to: "list.files() find files beginning with a ."
2009 Nov 13
6
replace a whole word with sub()
Dear all,
I cannot figure out how to solve a small problem (well, not for me), surely somebody can help me in few seconds.
I have a series of strings in a vector X of the type "xxx", "yyy", "zzz", "IgA", "IgG", "kkk", "IgM", "aaa".
I want to substitute every ENTIRE string beginning with "Ig" with
2011 Jul 13
7
Error when writing to Excel files using the packages xlsx and xlsx2
Dear group,
I am working on a rather big project where the output data frames have
dimensions of 3000 x 15 or greater. We are using xlsx and xlsx2 to write the
data.frames to Excel sheets.
Since recently we get the following error, when trying to write the data
frames to the excel sheets:
Error in ls(envir = envir, all.names = private) :
invalid 'envir' argument
We figured out that
2008 Oct 21
3
OT: Setting a CentOS to gateway a private IP address
This is mildly off topic since it has more to do with TCP/IP networking
than with CentOS per se. However, at the risk of ruffling a few feathers
I would like some advice on how to resolve the following routing problem:
Given:
dual homed host running CentOS-5.2 with
eth0 = 2xx.yyy.zzz.23
eth1 = 192.168.219.1
and a Cisco gateway at 2xx.1xx.y7y.1 with the following networks:
interface
2007 Mar 08
1
Searching and deleting elements of list
Hi,
I have a problem. Please, look at example and try to help me!!
> A<-c("aaa","bbb","ccc","ddd","eee")
> B<-c("vvv","ooo","aaa","eee","zzz","bbb")
> C<-c("sss","jjj","ppp","ddd")
> D<-c("bbb","ccc")
2007 Mar 08
1
R: Searching and deleting elements of list
you could try mapply
mydata2<-mapply("[", mydata, lapply(mydata, function(x) !x %in% A))
mydata2[[1]]<-A #to replace the obviously deleted elements of "A"
mydata2
mydata2[[1]]
mydata2[[2]]
mydata2[[3]]
mydata2[[4]]
Stefano
-----Messaggio originale-----
Da: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch]Per conto di jastar
2017 Jan 06
3
Issue with handling of 480 DND
Hi List,
we're calling a sip phone from our Asterisk Server, and try to add logic
depending on the dialstatus
Stripped down example;
exten = 494XXXXXXXXX,n,Dial(SIP/4120089,15,w)
exten = 494XXXXXXXXX,n,Goto(98-${DIALSTATUS},1)
exten = 494XXXXXXXXX,n,Hangup()
.....
exten = 98-BUSY,1,NoOp(Busy)
exten = 98-BUSY,n,ExecIf($["${Voicemail}" =
2010 Jun 10
1
Re :help to aggregate data
Dear All,
I have the data some thing like this, I am showing here three days data
only:
> dummy.data <- read.table(file='dummy.txt',sep='', header=TRUE)
> dummy.data
StDate Domaindesc Logins
1 05/01/10 xxx 10
2 05/01/10 xxx 45
3 05/01/10 xxx 2
4 05/01/10 yyy 45
5 05/01/10 yyy 20
6 05/01/10 yyy
2005 Nov 22
1
Iproute2 src mangling problems
Hi,
I''m having an issue with changing the source address of packets
origininating from a specific user using a combination of iptables and
iproute2. We want to change packets originating from a specific
service so that they originate from that service''s IP address, so that
we can move it to a different physical server and have the packets
appear to come from the same
2005 Mar 29
4
slide show with R
Trying to use R to build an interactive "slide show", to be displayed on a
projector. The purpose of the presentation is to show how one could
construct a simple graph using R. It is meant as a general overview rather
than as detailed instruction.
For example, something like the following sequence of commands. At
lecture time, I want the interpreter to read these commands one at a
2009 Aug 10
2
strsplit a matrix
Dear all,
I am trying to split a matrix into 2 as efficiently as possible.
It is a character matrix:
1 2 3
1 "2-271" "2-367" "1-79"
2 "2-282" "2-378" "1-90"
3 "2-281" "2-377" "1-89"
I want to make 2 matrices from this, as succinctly and efficiently as
possible.
I've tried such
2011 Jan 05
1
Asterisk replying to wrong port for NOTIFY messages
See the following SIP trace.
Where in the world does Asterisk get port 1025 to respond to?
This is asterisk 1.6.x.
Thanks.
-- James
<--- SIP read from zzz.zzz.zzz.44:9363 --->
NOTIFY sip:pbx1.mydomain.com SIP/2.0^M
Via: SIP/2.0/UDP 192.168.1.140:9363;branch=z9hG4bK-b9a860d3^M
From: "xxx-xxx-xxxx" <sip:xxxxxxxxxx at pbx1.mydomain.com>;tag=467525dd6fac949do0^M
To:
2005 Aug 29
1
Belkin and newhidups
Hi Peter,
I got all your patches and applied them, and I wanted to say kudos for a
great job done.
This is the output of upsc that I'm getting right now.
I had the same issue when using any cvs version (from two weeks ago)
that made my UPS go into a state where it wasn't functioning normally
(checking the kernel log shows that it cannot be connected and I had
around a page of DEVFS_USB
2013 Jul 10
2
Replacing part of delimited string with R's regex
I have the following list of strings:
name <- c("hsa-miR-555p","hsa-miR-519b-3p","hsa-let-7a")
What I want to do is for each of the above strings
replace the text after second delimiter with "zzz".
Yielding:
hsa-miR-zzz
hsa-miR-zzz
hsa-let-zzz
What's the way to do it?
[[alternative HTML version deleted]]
2012 Jul 25
3
creating Pivot
Hi Friends,
I'm new to R.I have a data frame :
xxx having columns color name values
R XXX 10
G YYY 4
Y ZZZ 5
G XXX 2
2006 Feb 01
1
Unable to Register to Asterisk through Proxy
Hi,
Has anybody come across a situation where they were unable to register with Asterisk through a SIP stateless proxy server?
I'm getting an error:
"403 Authentication user name does not match account name"
As far as I can tell the requests reaching Asterisk with and without the proxy are identical excepting the IP address the REGISTER request is coming from and the Via header
2010 Apr 01
4
Printer Admin Difficulties
I have been trying to setup a new print server on Fedora 12 based around
samba-3.4.7-58.fc12.x86_64 and cups-1.4.2-28.fc12.x86_64. All looks
good except for the ability for printer administrators to manage
printers. Whether I specify users in a system group using the
deprecated printer admin option, or specifically using net rpc rights
and the SePrinterOperatorPrivilege, it does not matter.
2019 Dec 23
1
Trouble using reverse dsync backup (log in successful but almost nothing happens)
I am migrating an old dovecot 2.2.30 (macOS High SIerra, macO S Server) to a new server with dovecot 2.3.7 (macOS Mojave, macports).
To get the data over, I?m trying to do a reverse backup with doveadm between an old and a new mail server, but failing to do so. I?m trying (from the new server, the old server is 192.168.2.67):
doveadm -Dv \
-o imapc_host=192.168.2.67 \
-o imapc_user=gerben \
2019 Sep 05
3
DNS question
This does not look bad, pretty ok.
But im do have a question here.
> ipaddress: 10.103.1.6 X.X.103.1
This indicated that the primary interface is eno2
> 2: eno2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
> ??? inet 10.103.1.6/24 brd 10.103.1.255 scope global eno2
> 3: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
> ??? inet
2013 Mar 05
1
different colors for two wireframe spheres
Dear List,
I have the code below adapted from the lattice-package examples to draw two spheres. I would now like to give
both different surface colors, e.g. one red and one blue.
## 3-D surface parametrized on a 2-D grid
n <- 10
tx <- matrix(seq(-pi, pi, length.out = 2*n), 2*n, n)
ty <- matrix(seq(-pi, pi, length.out = n) / 2, 2*n, n, byrow = T)
xx <-
2012 Feb 13
2
Deleting rows and columns containing NA's and "" only
Hello,
I use read.xls from the gdata package to read in xlsx files. Sometimes these
data.frames contain NA columns
and rows only. I know how to get rid of those ones but here is the R output
of a test data set read in with read.xls
> t1
A B X D X.1 X.2
1 test 1 NA NA
2 <NA> asd NA