Displaying 20 results from an estimated 10000 matches similar to: "How to dynamically replace the text behind dollar sign: '$'"
2004 Nov 30
2
Useradd doesn't accept dollar sign ($) and "add machine script" doesn't work
Hi,
I have set up a Fedora Core 3 machine with Samba 3.0.9 to act as a PDC file and print server. Everything works fine but I am having problems adding new machine accounts. When I try to add them manually using "/usr/sbin/useradd -g machines -d /dev/null -c "Spruce" -s /bin/false SPRUCE$", I get the error message: "invalid user name 'SPRUCE$'". I can add
2019 Jan 25
0
[klibc:update-dash] [PARSER] Handle backslash newlines properly after dollar sign
Commit-ID: e168c38081489046ec1dc612597b718a5adee74c
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=e168c38081489046ec1dc612597b718a5adee74c
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Mon, 29 Sep 2014 22:52:41 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 25 Jan 2019 02:57:21 +0000
[klibc] [PARSER] Handle
2020 Mar 28
0
[klibc:update-dash] dash: [PARSER] Handle backslash newlines properly after dollar sign
Commit-ID: 0b425be3b607419cc27bdab4de3f9178b637c7c7
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=0b425be3b607419cc27bdab4de3f9178b637c7c7
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Mon, 29 Sep 2014 22:52:41 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:54 +0000
[klibc] dash: [PARSER] Handle
2006 Aug 31
2
file-attr-restore and dollar signs
Hi All,
I've been using the great file-attr-restore script with rsync to get around
problems with uid's on a portable hard drive... It's the perfect solution
for me.
(for those that haven't seen it,you can get it here:
http://samba.org/ftp/unpacked/rsync/support/file-attr-restore
)
Anyway, I found a small bug in the script. file-attr-restore fails for file
names with dollar
2009 Nov 13
1
need help formating plot axis to standard dollar formats
I create a lot of plots with a dollar amount as the y-axis. How do I change the formatting so comma and $ are in place. Like $1000,000 or to use common dollar abbreviations like 100K?
Chris Anderson
Data Analyst
Medical Affairs
wk: 925-677-4870
cell: 707-315-8486
Fax:925-677-4670
This electronic message transmission, including any attachments, contains
information which may be confidential,
2006 Jul 21
1
Problems accessing shares with dollar signs
I'm having various problems accessing shares with dollar signs in
their names (e.g., \\server\c$); however, there doesn't seem to be
much consistency to the types of problems.
Details:
>From my CentOS 4.3 box running Samba 3.0.21b, mounting \\server\data$
(a Windows Server 2003 DC) or \\domain\data$ (the same share, shared
over DFS) using mount.cifs doesn't give any errors, and I
2012 Apr 10
7
How to remove $ (Dollar sign) from string
How do I remove a "$" character from a string sub() and gsub() with "$" or
"\$" as pattern do not work.
> sub("$","","ABC$DEF")
[1] "ABC$DEF"
> sub("\$","","ABC$DEF")
Error: '\$' is an unrecognized escape in character string starting "\$"
>
2005 Oct 10
1
text(x,y,greek character)
Dear list,
I would like to plot points with two types of labels, one at the data
point (the name of the point) and another offset a bit with another
factor which is either of the two greek characters alpha or beta. I have
tried to get the routine to plot a greek character with expression() or
with substitute() and have not yet had any success. The following only
plots the word in english in
2003 Apr 20
0
Your own Online Dollar Store in 15 mins or less
Open a Dollar Store Today!
For the first time ever, you can start you own ONLINE DOLLAR STORE in just minutes. Here is what you get:
- Your Own Dollar Store Web Site
- Access to a Variety of Products
- Earn Monthly Commissions
- Internet Marketing Guide
- FREE Marketing Consultation
- Make Money 24 hours a day
Click the link below to begin. If you can't click on it, copy and paste it into
2011 Aug 10
2
using if then statements in a dataframe
I used this service several months ago and was very pleased with the response.
I have a dataframe with several thousand lines and to each line I need to apply a series of "if else" statements. For each row I need either a value or a blank/NA. Below is the series of if else statements I have been trying without success to integrate into a function such as "apply".
if
2013 Mar 28
4
How to replace '$' sign?
Hello again,
I want to remove "$" sign and replace with nothing in my text.
Therefore I used following code:
> gsub("$|,", "", "$232,685.35436")
[1] "$232685.35436"
However I could not remove '$' sign.
Can somebody help me why is it so?
Thanks and regards
2011 Sep 02
2
conditional replacement of character strings in vectors
Hello, I have a dataframe that looks like this:
a b NA Honduras China NA NA Sudan Japan NA NA Mexico NA Mexico
I would like to replace the NA values in column b with the non-NA values in
column a. I have tried a number of techniques, (if, ifelse) but I must have
the logic wrong.
Thanks
--
Josh
[[alternative HTML version deleted]]
2011 May 16
2
conditional rowsums in sapply
Hi all
I have a data frame with duplicate columns and i want to remove duplicates
by adding rows in each group of duplicates, but have lots of NA's.
Data:
dfrm <- data.frame(a = 1:4, b= 1:4, cc= 1:4, dd=1:10, ee=1:4)
names(dfrm) <- c("a", "a", "b", "b", "b")
dfrm[3,2:3]<-NA
dfrm
a a b b b
1 1 1 1 1 1
2 2 2 2 2 2
3
2010 May 05
4
Converting dollar value (factors) to numeric
Hi,
I'm trying to read in a bunch of CSV files into R where many columns are
coded like $111.11. When reading them in they are treated as factors.
I'm wondering if there is an easy way to convert them into numeric in R
(as I don't want to modify the source data)? I've done some searches
and can't seem to find an easy way to do this.
I apologise if this is a trivial
2011 Jan 31
2
From data frame to list object
Dear all, let say I have following data frame:
> data.frame(x=rnorm(18), y=rep(c("a", "b", "c"), each=6))
x y
1 -1.072152537 a
2 0.382985265 a
3 0.058877377 a
4 -0.006911939 a
5 -2.355269051 a
6 -0.303095553 a
7 0.484038422 b
8 0.733928931 b
9 -1.136014346 b
10 0.503552090 b
11 1.708609658 b
12 -0.294599403 b
13
2011 Jan 31
2
Missing at random
R users:
Thanks in advance
How to generate missing at random (MAR)?
assaedi76@yahoo.com
Thanks
[[alternative HTML version deleted]]
2013 Mar 06
2
Fwd: How to conditionally remove dataframe rows?
Hi,
I have a data frame with two columns. I need to remove duplicated rows in
first column, but I need to do it conditionally to values of the second
column.
Example:
Point_counts Psi_Sp
1 A 0
2 A 1
3 B 1
4 B 2
5 B 0
2011 Jul 15
3
summarized data set - how to use an "occurs" field
I have a data set with 22 fields and several thousand records in which
one field (count) indicates the number of times that each specific
combination of the other 21 fields occurred in a bigger and largely
unavailable data set.
So each record is unique in its combination of field values and has a
field that identifies how many multiples of this record actually
occurred.
Without resorting to
2012 Mar 18
3
Extracting numbers from a character variable of different types
Hello,
I have a file which contains a column with age, which is represented in the
two following patterns
1. "007/A" or ''007/a" or ''7 /a" ..... In this case A or a means year and I
would like to extract only the numeric values eg 7 in the above case if this
pattern exits in a line of file.
2. "004/M" or "004/m" where M or m means month
2012 Nov 08
2
Comparing nonlinear, non-nested models
Dear R users,
Could somebody please help me to find a way of comparing nonlinear, non-nested
models in R, where the number of parameters is not necessarily different? Here
is a sample (growth rates, y, as a function of internal substrate
concentration, x):
x <- c(0.52, 1.21, 1.45, 1.64, 1.89, 2.14, 2.47, 3.20, 4.47, 5.31, 6.48)
y <- c(0.00, 0.35, 0.41, 0.49, 0.58, 0.61, 0.71, 0.83, 0.98,