search for: dollar

Displaying 20 results from an estimated 1029 matches for "dollar".

2010 Nov 23
2
Lattice and Quartz
I ran this script in a source file on my Mac: library(lattice) year <- 1900:2000 dollars <- (year-1899)^2 plot(year,dollars) quartz("year") histogram(~dollars) The first plot appears in Quartz 2. The second quartz window, named year, opens but the histogram doesn't appear. However, when I copy and paste this script directly into the R console, both quartz windows (...
2008 May 11
2
combining bar and column graphs?
...extended either horizontally, vertically, or both. The data that needs to be graphed consists of the relative contributions of a number (6 or 8) of companies (entities, whatever) to a common fund, over the course of a number of years (say, 1990-2008). I'm picturing years on the X-axis, and dollar amounts on the Y-axis (say, $0-$100,000). From a "temporal" perspective, every year will have at least one contributor, starting with dollar zero, but some years will have multiple contributors. From a "company" perspective, some companies will contribute, e.g., dollars $1...
2009 Aug 26
2
find numbers in a line with letters
hi, is there an easy way to extract numbers from a string? for example I have; "this Item costs 3.32 Dollars" is there an easy way to extract the 3.32 as a number? thanks!
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 an...
2004 Nov 30
2
Useradd doesn't accept dollar sign ($) and "add machine script" doesn't work
...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 the user without the dollar sign, then go in and edit /etc/passwd and /etc/shadow and add the dollar sign, but this process is kind of tedious. I have tried the "add machine script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u" line in smb.conf, but that doesn't work. I get an error message...
2006 Aug 31
2
file-attr-restore and dollar signs
...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 signs. You might ask "why would you want to put a dollar sign in a file name?" The answer is you wouldn't, but Java creates these sorts of files when you compile a class that has inner classes (eg files like "outer$inner.class") I created a little bash script that illustrat...
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 da...
2007 May 08
2
Problem calling $ inside a $ method
Hello, I wonder if this will make it through the spam filters given the subject line. I'm seeing the following when trying to call a dollar method inside of a dollar method. setClass("Foo", representation(d="list")) [1] "Foo" f <- new("Foo", d=list(bob=1, alice=2)) ## We can call dollar at this level and it works as expected `$`(f, "bo") [1] 1 `$`(f, &qu...
2006 Jan 06
3
Where to place a global function
Hi all, I have a little function called format_price(price) that simply formats the argument as a dollar sign, dollar amount, dot and penny amount. Then, in a .rhtml file, I could do this: <%= format_price(item.unit_price * item.quantity) %> But where do I put the format_price() function definition? The app couldn''t find it in app/controllers/application.rb. Where do I put it so it&...
2006 May 10
3
NumbersToWords
= numbersToWords - convert your integers and floats to english or japaneese words,or translate it into american currency - This plugin was created from a solution to the ruby quiz (english numbers) by Matthew D Moss. I modified the code to work as a rails plugin and added the to_dollars method. - the to_dollars method will work with integers and floats - the to_english and to_japaneese methods will only work with integers. If you have call these methods on a float, it will be converted to an integer before translating. = Examples 123.to_english == one hundred and twenty-three...
2013 Feb 06
1
How to dynamically replace the text behind dollar sign: '$'
Dear ALL, I need a function that takes character string as argument value and replaces corresponding argument( which is behind dollar sign "$") in function body with its value. For example: function(dataframe, argument="ANYTHING I WANT") { return(dataframe$argument) } Even though I know there must be lots of possible alternative ways to do this, I really want to do the job just lik...
2012 Jul 12
0
HAR-RV-CJ Moedel
...lcv = cv[-length(cv)] Now if I can get the lagged variables correct, how do I run the above regression so it loops over each successive day? thanks, If i am missing any vital info please advise me. thanks the loop for the data that I have used to compute RV and CV to get daily statistics is: dollar <- getdat("eurd") #dollar = dollar[seq(1, nrow(dollar), by =3), ] tim = strptime(dollar[,1], "%d/%m/%Y %H:%M"); dollar$day = format(tim, "%Y-%m-%d"); ##ddx <- row index for each day ddx = split(seq.int(nrow(dollar)), dollar$day); dollarbns = data.frame(day=as.Da...
2006 Jun 08
7
The Agile Book Messageboard?
Hello. Where is there an Agile Messageboard? On the first part of the Depot example, a price field shouldn''t be an integer right? (it should be more of a float since a price has decimals) Dominic Son -- Posted via http://www.ruby-forum.com/.
2015 Apr 28
3
CENTOS not DoD approved
...oduct'. Do you wish to write this? CentOS is not approved for DOD use. In fact, CentOS is not now, nor has it ever been *certified* for anything. Certifications require people to PAY to certify a product. Specifically, EAL4 Certification, a requirement for the DOD, costs up to 2.5 million dollars .. see this link: http://en.wikipedia.org/wiki/Evaluation_Assurance_Level#Impact_on_cost_and_schedule That cost would be for each main version of CentOS (2.1, 3, 4, 5, 6, and 7) .. so the cost to have all 6 previous major versions certified would be: 6 x $2.5 Million = $15 Million dollars. Si...
2006 May 17
5
Convention difference in tseries.maxdrawdown (PR#8872)
Full_Name: Brian K. Boonstra Version: 2.2.1 OS: WinXP, OSX Submission from: (NULL) (63.172.178.137) The maxdrawdown function in tseries defines the maximum drawdown in terms of absolute dollars (or whatever units the input is in). Industry convention is to do this in percentage terms. I have written the code below as maximumdrawdown(), which retains backward compatibility with the current version. It has the flaw that it does not check for zero or negative values. maximumdrawdown &lt...
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....
2019 Jan 25
0
[klibc:update-dash] [PARSER] Handle backslash newlines properly after dollar sign
...081489046ec1dc612597b718a5adee74c 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 backslash newlines properly after dollar sign On Tue, Aug 26, 2014 at 12:34:42PM +0000, Eric Blake wrote: > On 08/26/2014 06:15 AM, Oleg Bulatov wrote: > > Hi! > > > > While playing with sh generators I found that dash and bash have different > > interpretations for <slash><newline> sequence. > &...
2007 May 01
5
Noatun and mp3s
OS: CentOS 5.0 x86. I tried to use Noatun to play back mp3s, but it does not work. Is it normal?
2020 Mar 28
0
[klibc:update-dash] dash: [PARSER] Handle backslash newlines properly after dollar sign
...19cc27bdab4de3f9178b637c7c7 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 backslash newlines properly after dollar sign [ dash commit ef91d3d6a4c39421fd3a391e02cd82f9f3aee4a8 ] On Tue, Aug 26, 2014 at 12:34:42PM +0000, Eric Blake wrote: > On 08/26/2014 06:15 AM, Oleg Bulatov wrote: > > Hi! > > > > While playing with sh generators I found that dash and bash have different > > interpr...
2017 Nov 02
6
modestly priced laptop for C7
...core 1.6 GHz Atom, and a whole 2 gigs of RAM) with something faster but not too large. Sometimes (usually) the netbook is painfully slow. Something like a hi-res 14 (or 15) inch screen (full HD), minimum of 4 gigs RAM, HD of a half terabyte or bigger. I'd like to not have to go over 600-700 dollars, so I know my choices are somewhat limited if I want to avoid the 400-500 dollar windows 10 junk^H^H^H^Hsystems from BJs, etc. Something with a quad-core processor, and all hardware works with C7. I've glanced at Lenovo Thinkpads on amazon where there are several "factory refurbished&qu...