Displaying 20 results from an estimated 3000 matches similar to: "R for copying and pasting selected image files?"
2006 Oct 23
6
nested if/else very slow, more efficient ways?
Hello,
in the data.frame "resultsfuzzy" I would like to replace the
characters in the second column ("5a", "5b", ... "5e") with numbers
from 1 to 5. The data.frame has 39150 entries. I seems to work on
samples that are << nrow(resultsfuzzy) but it takes suspicously long.
Do you have any suggestions how to make the character replacing more
2007 Sep 17
2
removing a specific number of digist from a character string
Hello,
I would like to remove the last 8 digists of character strings in a
vector. Below I added a couple of elements from that vector.
I have a problem defining a pattern to replace the digits using for
example "sub". Removing the ".tif" part works fine using
sub('.tif',"",x), but how do I get rid of the four preceding digits?
Thanks for your help,
Kim
2006 Oct 25
2
update index in "for" statement during calculation
Hello,
I have a time series of data as a data.frame. Occasionally there is
one or more days missing (e.g. data available for days 2, 3, 4, 8, 9,
10 --> missing days between 4 and 8). The experimental time
information can be found in the 2nd column of "data". I would like to
have a continuous time line with one time point per day. Therefore I
try to insert lines for the missing
2007 Mar 02
1
barplot with different color combination for each bar
Hi,
I'd like to construct a somewhat unusual barplot. In "barplot" I use
beside=F as I'd like to have stacked bars. The height of each bar is
always the same. Information in my plot is coded in the color of the
bar. I therefore need to be able so assign a different combination
(or order) of colors to each individual stacked bar.
In the example below, the combination of
2007 Apr 03
1
which points within an ellipsoid? Sorting data in 3d
Hello,
in a three dimensional coordinate system, I'd like to find all my
experimental data points that fall within an ellipsoid around a fixed
coordinate. The fixed point is defined by (x.coord.point,
y.coord.point, z.coord.point). The coordinates of the ellipsoid are
given by the three vectors x,y,z.
In a previous version of my code, I simply used a box instead of an
ellipsoid to sort
2007 Apr 04
1
rgl.postscript generating pdf: floating xlab, font size, transparency
Hello,
I very much enjoy rgl! But when converting the screen output to pdf
using rgl.postscript I have encountered three problems:
(1) I don't seem to have control over font sizes and point sizes (of
added points) in the pdf output. I tried cex from "plot" but that
does not have an effect. Initially I got some plots where fonts and
especially points were far too small. But now
2007 Aug 07
1
lm( ) for log10-transformed data
Dear help-list,
I would like to perform a linear regression on the log10 of the two
vectors ov.mag.min and res.600nm. The slope and intercept of the
regression I use to plot a wider range of ov.mag.min in a double log plot.
For a linear regression on only tow points, wouldn't I expect the
results for two.points.min to match pretty exactly res.600nm? It does
not seem to be the case here.
2006 May 15
0
reproducing scaling used in biplot(pc.biplot=TRUE)
Hello,
I'd like to reproduce the standard biplot with pc.biplot=TRUE using
xyplot in lattice in order to assign different symbols to groupings
of observations (similar to the example in fig. 11.2 on page 285 in
DAAG). In order to reproduce the biplots I need to know how to scale
the observations and variables. In ?biplot.princomp I found that the
variables are scaled by 'lambda ^
2008 May 22
1
AMOVA results from ade4 different than in the reference publication
Hello,
I am trying to run some AMOVA analyses with the amova function in the
package ade4.
When running the example dataset provided in ade4, I noticed a
difference between the published results from the same data (Excoffier
et al. 1992) and what ade4 calculates.
Below are the data for "within sample/population" from ade4 and from the
haplotypic distance matrix in the paper:
2006 Oct 26
1
applying order() in a for loop
Hi,
with the code below I try to organize sections of a data.frame. The
dataframe has 9 data columns. I'd like to order the columns of the
data.frame by the sum of the columns' entries. The sections of the
columns are identified by "i". The order of the columns is given by
the vector "z". Each section of the data.frame is ordered
differently. This can be seen when
2009 Oct 29
1
changing default character size depending on settings for mfcol: How to scale font consistently?
Dear R-users,
I would like to create pdf files with varying paper sizes. The paper
size is determine by the number of plots that I squeeze on a page using
par(mfcol).
I also add text to each of these plots. I observed that depending on the
number of plots per page, the default character size is changing,
leading to differing font sizes in my plot annotations.
I would like to use cex to
2006 Oct 28
2
[LLVMdev] Question about uninstalling LLVM
Hello. Nice to meet you.
My name is Seung Jae Lee, a graduate student in UIUC CEE, who is working in NCSA for the present.
Nowadays I am trying to develop LLVM backend to spit out CHiMPS assembly code. In the process, I installed LLVM codes on my home directory in the host computer. But I don't think it was installed properly. While bootstrapping the LLVM C/C++ Front-End, I met several
2007 Nov 04
1
[LLVMdev] [Bug 1769] Should remove the -cee pass
On 11/4/07, bugzilla-daemon at cs.uiuc.edu <bugzilla-daemon at cs.uiuc.edu> wrote:
> --- Comment #1 from Chris Lattner <sabre at nondot.org> 2007-11-04 11:45:00 ---
> The release notes say "The -cee pass is known to be buggy, and may be removed
> in a future release.". I think we should just do it.
Oops, I should have read the "known problems" section of
2006 Mar 17
2
[LLVMdev] Stupid '-load-vn -licm' question (LLVM 1.6)
On Fri, 17 Mar 2006, Eric Kidd wrote:
>> I'm particularly confused by the rlwinm instructions that keep turning up
>> in PowerPC output, and the double test against 98. I don't have a problem
>> or anything; I'm just trying to figure out what's going on. :-)
>
> Ah! The backend is running -lowerswitch, which does a binary search of the
> case labels
2006 Mar 19
0
[LLVMdev] Stupid '-load-vn -licm' question (LLVM 1.6)
On Mar 17, 2006, at 12:19 PM, Chris Lattner wrote:
> Great. Note that -cee is a beta pass... it has some known bugs and
> isn't planned to be worked on in the immediate future. :(
After a bit of digging, I found one open bug and two failing test
cases, all of which appear to be feature requests:
#217: LLVM needs a generic dominator update mechanism
nullpointer.ll: "a
2009 Jun 24
7
PHP AGI Not Working and Odd Behavior
Hi,
I'm running asterisk 1.4.22 on a debian server.
I have php5 installed and it works correctly command line.
When trying to run a php script via AGI, I get messages such as:
GI Tx >> I>
AGI Rx << #!/usr/bin/php5 -q
AGI Tx >> 510 Invalid or unknown command
The scripts are completely executable and owned by asterisk
-rwxr-xr-x 1 asterisk asterisk
Googling is not helping
2004 Sep 23
1
Alternate MP3 Player
Hi! I am currently working on setting up an Asterisk system, and I was
wondering if anyone has worked on an alternate mp3 player to mpg123.
We have a library of MP3 files that we would like people to be able to select
and play over the phone -- and this will require pause & resume, as well
as fast forward / reverse (jump forward / jump back). It doesn't seem like
mpg123 can do this. Is
2009 Dec 08
1
Printing 'k' levels of factors 'n' times each, but 'n' is unequal for all levels ?
Dear List,
I need to print out each of 'k' levels of a factor 'n' times each, where
'n' is the number of elements belonging to each factor.
I know that this can normally be done using the gl() command,
but in my case, each level 'k' has an unequal number of elements.
Example with code is as below:
vc<-read.table("P:\\Transit\\CORRECT
2006 Jun 19
6
User Loses Ability to Make Outgoing Calls
We've been running an Asterisk-based phone system here in our office for
a year and a half, and it's pretty much been running smoothly.
One employee who works out of the office has a problem that she can't
make outgoing calls on a temporary basis every so often (a few times a day).
No one else has this problem, her settings are fine, and she regains the
capability spontaneously with no
2008 Oct 29
3
Blank Voicemail.Conf after Password Change
Hi,
For a few weeks now, our asterisk server has been experiencing something
very odd.
From time to time, voicemail.conf would go blank. We finally tracked it
down to happening when someone attempts to change their password.
It seems the file is touched, but not written to, and we're left with a
blank voicemail file.
Permissions seem to be fine:
-rw-rw-r-- 1 asterisk asterisk 12707