similar to: removing a specific number of digist from a character string

Displaying 20 results from an estimated 100 matches similar to: "removing a specific number of digist from a character string"

2007 Mar 12
4
R for copying and pasting selected image files?
Hello, I would like to use R to process a list of text strings. The text strings are filenames, encoding experimental settings. Based on the information in there I'd like to select certain files and copy only the selected files to another directory. The files are images and there is no need, actually no desire, to open them. Is there a way to use R for copying and pasting files with any
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
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.
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 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 ^
2006 Apr 19
1
Hmisc + summarize + quantile: Why only quantiles for first variable in data frame?
Hi, I'm working on a data set that contains a couple of factors and a number of dependent variables. From all of these dependent variables I would like to calculate mean, standard deviation and quantiles. With the function FUN I get all the means and stdev that I want but quantiles are only calculated for the first of the dependent variables (column 8 in the summarize command). What do I
2008 May 21
1
split character string in matrix into character vector and numeric vector
Hello, I've got a matrix consisting of one column with n rows. Each field in the matrix is filled with a character vector. I would like to convert this matrix into a character vector containing the B03_MAH-type entries from the beginning of each row and a data.frame that contains the numeric data, but I am stuck. I have tried to use textConnection with sep = " " but since
2004 Sep 20
2
CallerID in Queue
How can I bring the Caller ID when the calls enter call queue and answer by X- lite or kphone? I've tried many configuration but no luck that it only shows the AgentLogin's exten.. Thanks! R Wong The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission,
2014 Dec 08
3
[LLVMdev] Incorrect loop optimization when building the Linux kernel
I was trying to build the Linux kernel with clang and observed a crash due to incorrect loop optimization: drivers/base/firmware_class.c extern struct builtin_fw __start_builtin_fw[]; extern struct builtin_fw __end_builtin_fw[]; static bool fw_get_builtin_firmware(struct firmware *fw, const char *name) { struct builtin_fw *b_fw; for (b_fw = __start_builtin_fw; b_fw != __end_builtin_fw;
2005 May 02
2
Nonparametric Tukey-type multiple comparisons "Nemenyi" test
I am trying to do a Nonparametric Tukey-type multiple comparison post-hoc test to determine which groups are significantly different. I have read the dialogue on this topic from the R-help, and am still not clear why no statistical packages include this test as an option? Is it not an appropriate test to conduct on non-normally distributed data? Is the only option to calculate it by hand
2005 Feb 24
0
Question of SER to Asterisk to PSTN
Dear ALL: My scenario lists below: Assume: UA1 with sip id "1011" And dial number to PSTN is "0939749xxx" There is no modification rule at my CISCO. (It will not change any dialed number) UA1 ==> SER ==> UA2 (SIP to SIP) UA1 ==> SER ==> Asterisk ==> CISCO 5300 ==>
2014 Oct 30
1
CentOS 6.6 Bacula-SELinux issue
I updated my backup server to CentOS 6.6 this morning. As usual, I unmounted the current (nightly) tape from the changer before the reboot. Now Bacula complains it cannot access the changer: 3301 Issuing autochanger "loaded? drive 0" command. 3991 Bad autochanger "loaded? drive 0" command: ERR=Child exited with code 1. Results=cannot open SCSI device '/dev/changer' -
2016 Apr 23
2
CRAN package check results tabulated ... wasRe: Number of package in Ubuntu
> On Apr 23, 2016, at 6:56 AM, David Winsemius <dwinsemius at comcast.net> wrote: > > >> On Apr 22, 2016, at 11:51 AM, mylisttech at gmail.com wrote: >> >> Dear Experts , >> >> I am using R with Spark on Windows and now there is a need to move to Ubuntu. I wanted to know if most of the packages that are available on windows , would they be available
2016 Apr 23
0
Number of package in Ubuntu
> On Apr 22, 2016, at 11:51 AM, mylisttech at gmail.com wrote: > > Dear Experts , > > I am using R with Spark on Windows and now there is a need to move to Ubuntu. I wanted to know if most of the packages that are available on windows , would they be available on Ubuntu/Linux? If not can I compile the source code of those package ? Has any one of you used the packages on Ubuntu ?