Displaying 20 results from an estimated 1000 matches similar to: "sub('^', .....) bugs (PR#7742)"
2005 Mar 22
1
sub('^','var',1:3) produces unexpected results
Hi,
According to help(sub), the ^ should match the zero-length string at the
beginning of a string:
sub('^','var',1:3) # "1" "2" "3"
sub('$','var',1:3) # "1var" "2var" "3var"
# This generates what I expected from the first case:
sub('^.','var',11:13) # "var1" "var2"
2009 Nov 16
2
on gsub (simple, but not to me!) sintax
Dear R users,
my problem today deals with my ignorance on regular expressions.
a matter I recently discovered.
Consider the following
foo <-
c("V_7_101110_V", "V_7_101110_V", "V_9_101110_V", "V_9_101110_V",
"V_9_s101110_V", "V_9_101110_V", "V_9_101110_V", "V_11_101110_V",
"V_11_101110_V",
2006 Jun 30
1
lme and SAS Proc mixed
I am trying to use lme to fit a mixed effects model to get the same
results as when using the following SAS code:
proc mixed;
class refseqid probeid probeno end;
model expression=end logpgc / ddfm=satterth;
random probeno probeid / subject=refseqid type=cs;
lsmeans end / diff cl; run;
There are 3 genes (refseqid) which is the large grouping factor, with
2 probeids nested within each refseqid,
2005 May 16
2
a problem sourcing a file using chdir=TRUE
Dear R-users,
I used to give commands such as:
> source(file="~/path/to/file.R", chdir=TRUE)
but with the latest v. 2.1.0 it does not seem to work anymore.
I tried to figure out what it was going on and it seems that the string
for which
> class(file)
[1] "character"
is changed to
> class(file)
[1] "file" "connection"
when the connection is
2011 Apr 16
4
Jabber / facebook chat?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
has anyone managed to establish an XMPP connection to the facebook
Jabber servers?
I'd like to send messages on missed calls vie FB.
- -S
- --
(o_ Stefan Gofferje | SCLT, MCP, CCSA
//\ Reg'd Linux User #247167 | VCP #2263
V_/_ Heckler & Koch - the original point and click interface
-----BEGIN PGP
2004 Mar 30
3
mysql or postgresql?
Hi,
there are something that is using mysql instead postresql?
If I modify the modules.conf, and write load => cdr_mysql.so get this error:
loader.c:240 ast_load_resource: /usr/lib/asterisk/modules/cdr_mysql.so:
cannot open shared object file: No such file or directory
loader.c:359 load_modules: Loading module cdr_mysql.so failed!
Ok, there is no cdr_mysql.so, anybody it's using * with
2012 Jun 06
2
[LLVMdev] llvm-tv
I fixed most of the errors.
There is a weird error I am seeing and seems to be some incompatibility in
expanding macros between FileSystem.h in LLVM and intl.h in wxWidgets. Any
idea how to fix this?
In file included from
/home/arhishee/work/llvm-tv/llvm-tv/tools/llvm-tv/GraphDrawer.cpp:4:
In file included from
/home/arhishee/work/llvm-tv/llvm30/include/llvm/Support/FileUtilities.h:18:
In file
2019 Feb 09
4
firefox-60.5.0-2.el7.centos.x86_64 and Netflix
Hi all,
Since the last upgrade to firefox-60.5.0-2.el7.centos.x86_64 on my
CentOS 7, it is no longer possible to watch Netflix with my Firefox, it
always says that "Firefox is installing components needed to play the
audio or video on this page. Please try again later."
But nothing happens and Netflix is no longer readable with Firefox...
I tried downgrading to
2012 Jun 06
0
[LLVMdev] llvm-tv
I fixed all the other build errors. This is the only one pending.
On Tue, Jun 5, 2012 at 8:33 PM, AbhishekR <abhishekr1982 at gmail.com> wrote:
> I fixed most of the errors.
>
> There is a weird error I am seeing and seems to be some incompatibility in
> expanding macros between FileSystem.h in LLVM and intl.h in wxWidgets. Any
> idea how to fix this?
>
> In file
2004 Aug 27
1
Plotting irregular grid as image or persp
Hi,
I have an array of 2d node locations and an array triangles, and would
like to plot something like a image or persp.
An example of doing it with rgl is:
library(ncdf)
library(rgl)
# wget http://www.maplepark.com/~drf5n/extras/teapot.nc
teapot<-open.ncdf("teapot.nc")
z<-get.var.ncdf(teapot,"tris")
l<-get.var.ncdf(teapot,"locations")
2007 May 04
1
Partitioning a kde2d into equal probability areas
Hi,
I'd like to partition a 2d probability density function into regions of
equal probability. It is straightforward in the 1d case, like
qnorm(seq(0,1,length=5)) but for 2d I'd need more constraints.
Any suggestions for how to approach this? Is seems like a spatial
sampling problem but I'm not sure where to look.
Thanks for your time,
Dave
--
Dr. David Forrest
drf at
2011 Apr 16
4
Jabber / GTalk / hints
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
Are hints not yet implemented in res_jabber?
I have this here:
exten => 3000,hint,gtalk/gtalk_account/mari.xxxxxxx at gmail.com
But the hint doesn't show any difference. It always shows online on the
phone and core show hints always shows that:
6003 at internal : SCCP/6003 State:Unavailable Watchers 0
6002 at internal :
2007 Apr 19
1
Mime Type in Nautilus
Hi All...
Could someone guide me to solve a strange behaviour of Nautilus, when I
want to click on a JPEG file that has a .jpg extension I receive this
message and eod refuses to launch:
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-8<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Cannot open Cactus -'Ot 'N' Sweaty(1972)_back.jpg
The filename "Cactus -'Ot 'N'
2003 Jul 11
3
postscript/eps label clipping
The following code produces an eps file with the tops of each of the ylabs
clipped off.
par(mfrow=c(2,2))
plot(runif(10),
ylab="Function(Lengthy Expression)",xlab="Prediction")
plot(runif(10),
ylab=expression(Delta * Beta^2),xlab="Prediction")
plot(runif(10),
ylab="Function(Lengthy Expression)",xlab="Prediction")
2002 Aug 12
0
help with pseudo-random numbers
Dear People,
I have a vexing problem related to pseudo-random number generation, and
would appreciate any help and advice. This problem is not directly related
to R, and the only reason I am posting it to this list is that my
implementation is using R. Let me describe my problem by giving an
example, that is close to what I am trying to do.
Suppose we are given a stream of pseudo-random numbers,
2001 Jul 13
2
corrupt patch upload
Hi,
after trying to download the newest 2.4.6 patch
(http://www.zip.com.au/~akpm/ext3-2.4-0.9.2-246.gz) I noticed that the
file appears to be corrupt.
gunzip: ext3-2.4-0.9.2-246.gz: unexpected end of file
Tried a few times, on different machines.
( o>
///\
_\V_/_____________________________
[Sam]<mailto:sam@breakfree.com>
http://www.xplo.org/
"finger
1999 Dec 07
1
using weights in lm()
Hello!
When I know the vector of the variance of the disturbances (i.e. the
structure of heteroskedasticity), say Var(u_{i})=v_{i},
what is the weights I should use as argument to lm():
M <- lm(y~x,weigths=1/v)
or
M <- lm(y~x,weights=1/(v^0.5)) ???
In the help pages I did not find a clear answer to this question, so
please could someone help me!
Thanks,
Wolfgang Koller
2005 Jul 02
2
Colored asterisk -R?
Hi folks,
when I start asterisk directly, I get a colored CLI. When connect to a
already running asterisk with asterisk -R, it's never colored, despite
I'm running both from the same console (tty). Is there a way to force
asterisk -R into color mode?
Regards,
Stefan
--
(o_ Stefan Gofferje | Linux Systems Specialist
//\ Reg'd Linux User #247167 | Network Security
2004 Nov 03
1
Newer GnuPG (S)RPMS?
Hi,
Has anyone newer GnuPG (S)RPMs than the one coming with CentOS
(gnupg-1.2.1-10). That one obviously has problems (for example: it
doesn't recognize new signatures on keys when doing 'gpg --import keysfile').
I tried to build new packages from various SRPMs from the Fedora distros.
The builds went oke, however, after installing them (no complaining debs)
this error occurs when
2005 May 23
2
Nautilus / Desktop Icons
Hi,
I've a nautilus problem with CentOS 4. It doesn't show the desktop
items any more (also after dropping all gnome files/dirs from a users
homedir) en the right mouse button menu also doesn't work.
Googling around I've found various items about the problem but until now
not a clear solution. Some people mention some 'browser mode in nautilus
preferences'. But I