similar to: Extracting numbers from somewhere within strings

Displaying 20 results from an estimated 600 matches similar to: "Extracting numbers from somewhere within strings"

2004 Aug 31
7
blockwise sums
I am looking for a function like my.blockwisesum(vector, n) that computes sums of disjoint subsequences of length n from vector and can work with vector lengths that are not a multiple of n. It should give me for instance my.blockwisesum(1:10, 3) == c(6, 15, 24, 10) Is there a builtin function that can do this? One could do it by coercing the vector into a matrix of width n, and then use
2004 Mar 16
3
Terminology and canonical statistical user literature
Brian Ripley wrote (to somebody asking about "effect sizes"): > ... > Given that, I wonder if you are used to standard terminology. Good point. But I think for many of us there is more behind that. I personally belong to an (apparently fairly large) group of R users who may be enthusiastic, but are statistical laymen due to a lack of formal education in the area. The
2006 May 18
1
R CMD check: checking examples: how to (not) pause execution
Hello all, trying to prepare my first package for submission to CRAN I am stumbling over the "checking examples" step of R CMD check. I have some examples that produce more than one plot. I currently separate those plot calls by readline("Press <Return> for a plot including a density plot") or some such to have R wait before producing the next plot. This works OK
2006 May 18
1
R CMD check: "T used instead of TRUE"
Hello everybody, I am just trying to put together my first own CRAN-able package. I have completed the programming and my code works OK. But now when I perform R CMD check agsemisc_1.0-2.tar.gz and R gets to the step * checking examples ... I receive the following error message: > print(bwplot(Species~Sepal.Length, data=iris, panel=panel.bwstrip)) Error in rep(T, length(x)) : T used
2006 Apr 21
1
plot.default 'ylim' error message is wrong (PR#8784)
Full_Name: Lutz Prechelt Version: 2.2.1 OS: WinXP SP2 Submission from: (NULL) (130.133.8.114) This command plot(0, 0, xlim=c(3, 5), ylim=c(0, 10, 17)) should complain about 'ylim' (because it has three elements). However, it does in fact (in my german error message at least) complain about 'xlim' instead: Fehler in plot.window(xlim, ylim, log, asp, ...) : ung?ltiger
2006 May 18
1
Trellis equivalent of par(ask=TRUE)?
(was: AW: [Rd] R CMD check: checking examples: how to (not) pause execution) Paul, Brian, > > I think the more usual way to solve this is to have the user set > > par(ask=TRUE) is they want to be prompted. thank you. Looking back, 'par' would have been a likely candidate for looking. One reason I did NOT look there is that I need the functionality for print.trellis in
2003 Mar 03
1
How to compile all code with the -fPIC flag? (PR#2601)
Full_Name: Michael Ngan Version: R-1.6.2 OS: Red Hat Linux 8.0, Itanium2 Submission from: (NULL) (156.40.36.177) Hi, I trying to compile R-1.6.2 on Red Hat Linux 8.0 running on the Itanium2(IA64) platform and encountered the following message: make[1]: Entering directory `/home/nganm/R-1.6.2/src/modules/lapack' gcc -shared -L/usr/local/lib -o lapack.so Lapack.lo double.lo cmplx.lo
2004 May 03
2
Lattice: finding out xlim within panel function
Dear Lattice bit-meddlers, while within a panel function for xyplot, how can I find out the values of (effectively) xlim and ylim -- no matter whether they have been set explicitly or chosen by Lattice itself? I have just tried for an hour to find out, with no success whatsoever. I looked in Grid for something that would return such data, but got lost. I looked at tracebacks of panel calls,
2003 Oct 12
2
New Processor support..
Hey.. Has anyone played around with Asterisk on the Itanium2, Opteron or Athlon64?? Can Asterisk (or Linux for that matter) actually make good use of a 64bit system?? Later..
2007 Mar 21
1
rbind.data.frame reacts on levels without factor (PR#9578)
Full_Name: Lutz Prechelt Version: 2.4.1 OS: Windows XP Submission from: (NULL) (160.45.111.67) I stack a number of data.frames using rbind. Each of these dataframes has a column 'authorname', which is a factor and a column author = unclass(authorname) as piecewise pseudonyms. When using rbind to stack these dataframes, R warns about invalid factor levels and inserts all NAs in the author
2003 Oct 18
2
Samba 2.2.8a and 3.0.0
Samba Team, How do I create simulated load on a samba server? I wish to use feedback-directed program restructuring on AIX 5.2 to determine if performance can be improved by rearranging the executable generated by the IBM 6.0 compiler. Mostly I'm determining what the upper bound on smbd's is in a multiprogramming environment. I'm currently running about between 800 and 1000
1999 Aug 23
1
Strange 'Unimplemented feature in rep' error (PR#254)
I have a large computation that performs various bootstrap resampling loops over pairs of samples using lapply(). After a few seconds it stops like this > do.summarize.effects(compute.power=T) ... Error: Unimplemented feature in rep > .Traceback [[1]] [1] "rep(no, length = length(ans))" [[2]] [1] "ifelse(t.howto == \"n\", boot.result, l.meanboot.test(onew.x,
2006 Apr 27
1
installing on ia64 machine
Hello! Anybody know if there is a specific source of XEN to ia64 ? Could you pass me the link? I would like to install in a Itanium2. Thank you. (Excuse my bad english) :( _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2003 May 23
0
Problem makeing RPM in Advance Server
Hi, My company just bought a HP Itanium2 Server with Redhat Advance Server 2.1 preinstalled. I have set the Samba server on the server for the file sharing between Windows and Linux platform. The Samba server on this Linux is version 2.2.1a, it does not come with SWAT, therefore I need to add the user through command. After adding user to both Linux and Samba, I was unable to connect to the
2005 Oct 13
6
CentOS-4.2 is Released for i386, x86_64, ia64, s390, s390x and alpha architectures
The CentOS development team is pleased to announce the availability of CentOS-4.2 in the following architectures: i386 - This distribution supports AMD (K6, K7, Thunderbird, Athlon, Athlon XP, Sempron), Pentium (Classic, Pro, II, III, 4, Celeron, M, Xeon), VIA (C3, Eden, Luke, C7) processors. x86_64 - This distribution supports AMD (Athlon 64, Opteron) and Intel Pentium (Xeon EM64T) processors.
2005 Oct 13
6
CentOS-4.2 is Released for i386, x86_64, ia64, s390, s390x and alpha architectures
The CentOS development team is pleased to announce the availability of CentOS-4.2 in the following architectures: i386 - This distribution supports AMD (K6, K7, Thunderbird, Athlon, Athlon XP, Sempron), Pentium (Classic, Pro, II, III, 4, Celeron, M, Xeon), VIA (C3, Eden, Luke, C7) processors. x86_64 - This distribution supports AMD (Athlon 64, Opteron) and Intel Pentium (Xeon EM64T) processors.
2007 May 14
0
(PR#9666) 'aggregate' should preserve level ordering of
On Tue, 8 May 2007, prechelt at inf.fu-berlin.de wrote: > Full_Name: Lutz Prechelt > Version: 2.4.1 > OS: Windows XP > Submission from: (NULL) (160.45.111.67) > > > aggregate (from package stats) should preserve the > ordering of levels of factors it works on and also their > 'ordered' attribute if present. > But it does not. In fact it treats all grouping
2004 May 14
2
request: allow inline functions in R
Hi, R core developers, I work in the Swiss Institute of Bioinformatics. We have two clusters of Intel Itanium2 clusters for bioinformaticians to crank their data. One piece of software they use heavily is R and BioConductors. I ported the R codes and R packages to this platform already, and am working on optimizing their performance. I'm using Intel C/C++ compiler on this platform running
2007 Mar 29
0
(PR#9578) rbind.data.frame reacts on levels without
In your data frames, 'y' is a category and the following comment in the code makes clear this is deliberate. if( !is.null(levels(xj)) ) { all.levs[[j]] <- levels(xj) facCol[j] <- TRUE # turn categories into factors } else facCol[j] <- is.factor(xj) The behaviour is compatible with S apart from the comment in the R help
2007 Mar 29
0
(PR#9589) 'union' does not handle factors while 'intersect'
This is not a bug, nor is the subject line true: both do accept factors but what they do with factors is undocumented. From the help (not 'man') page Performs *set* union, intersection, (asymmetric!) difference, equality and membership on two vectors. ^^^^^^^ so it is not said to work on factors. I disagree that what intersect() for