similar to: Getting at the "default Windows short date"

Displaying 20 results from an estimated 4000 matches similar to: "Getting at the "default Windows short date""

2010 Aug 25
4
Secant Method Convergence (Method to replicate Excel XIRR/IRR)
Hi, I am new to R, and as a first exercise, I decided to try to implement an XIRR function using the secant method. I did a quick search and saw another posting that used the Bisection method but wanted to see if it was possible using the secant method. I would input a Cash Flow and Date vector as well as an initial guess. I hardcoded today's initial date so I could do checks in Excel.
2009 Dec 18
1
How to define new operators
Dear R community I try to create a new operator to build a special sum of two CashFlows. (my S4 Class) I tried the following but this is actually not what I want. setGeneric("++",function(e1,e2)standardGeneric("++")) setMethod("+",signature=list("CashFlow","CashFlow"),function(e1,e2){ print("+") })
2013 Apr 29
2
Adding elements in data.frame subsets and also subtracting an element from the rest elements in data.frame
Dear R forum I have a data.frame as cashflow_df = data.frame(instrument = c("ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC", "ABC", "PQR", "PQR",
2010 Aug 20
1
Shifting of Principal amount while calculating Present Value
Dear R Helpers I have following data - cash_flow = c(7, 7, 107)  # 107 = Principle 100 + interest of 7% t = c(1,2,3) and zero rate table as rating         year1           year2           year3 AAA            3.60            4.17              4.73 AA              3.65            4.22              4.78 A                 3.72           4.32              4.93 BBB            4.10           
2007 Jun 07
1
Cashflow 101 crashes if WINEDEBUG=+all not set. (Slackware 11/Wine 0.9.38)
Hello! I'm not sure if I should have posted this to wine-devel or add bug in Bugzilla, so I'm posting this here. I've got following problem: I've upgraded Wine to 0.9.38, and Kiyosaki's Cashflow 101(http://appdb.winehq.org/appview.php?iAppId=2216) stopped working. Game crashes "in windows way" - with a Message box "Unhandled Exception: c0000005 At address:
2008 Apr 25
9
Can wine change short date format?
Since I updated to Ubuntu 8.04 yesterday I have lost the UK short date format DDMMYYYY and am having a real problem setting it system wide. (I now have the US MMDDYYYY format.) Ubuntu 8.04 appears to ignore the LANG="en_GB.UTF-8" line in etc/environment which fixed the issue in 7.10. The apps I run on wine all use the short date format so here is my question. Is it possible to make wine
2014 Apr 03
2
How to store interim print results
Dear R forum, Following is an customized extract of a code I am working on. settlement = as.Date("2013-11-25") maturity   = as.Date("2015-10-01") coupon     = 0.066 yield      = 0.1040 basis      = 1   frequency = 2 redemption = 100 # __________________________________________________________________ add.months = function(date, n)  {   nC <- seq(date, by=paste (n,
2008 May 13
0
xirr...
Hello. A few weeks ago, I need to calculate the Internal Rate of Return for irregular intervals. There is the package 'financial', with the function 'cashflow', calculating irr for regular intervals. So I developed xirr, managing irregular intervals, that's accepting a vector of dates as xirr Excel function. You can find the code at
2012 Dec 15
3
Cannot build custom locale with utf-8 charset
I am trying, without success, to compile a custom locale for the utf-8 character set. I have issued this command: localedef --no-archive -f UTF-8 -i /usr/share/i18n/locales/en_CA at yyyy-mmm-dd en_CA at yyyy-mmm-dd.utf8 which produces the requisite files without reporting an error but which none-the-less insists on using the iso-8859-1 charset: LC_ALL=en_CA at yyyy-mm-dd locale charmap
2020 Jul 14
6
internal DNS not forwarding
Hello, I am trying to setup a samba4 AD dc in my network using smb-tool. Everything seems to work except DNS forwarding. If I query for the dc root at dc:~# nslookup dc.local.domain.it I get the correct answer: root at dc:~# nslookup dc Server:???????? aaa.bbb.ccc.ddd Address:??????? aaa.bbb.ccc.ddd#53 Name:?? dc.xxxx.yyyy.it Address: aaa.bbb.ccc.ddd but if I query for an external domain: root
2009 Feb 23
2
rsync incremental backup
Hi, Presently I have the latest full backup in a 'current' directory and 30 day incrementals in 'YYYY-MM-DD' format directories. Without changing that directory structure I'd like the 'YYYY-DD-MM' directories to contain the full system hardlinked (when applicable) to 'current'. What rsync command-line options could provide me with this? Thanks,
2009 Dec 30
9
Oracle adapter problem? How to fix this?
Hi, My setup is: Ruby 1.8.6 Rails 2.3.5 activerecord-oracle-adapter (1.0.0.9250) I upgraded Rails and the adapter recently and I just went through hell trying to find a problem while inserting a record in a table. Rails was giving me this error: OCIError (ORA-02289: sequence does not exist): stmt.c:539:in oci8lib.so c:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:753:in `exec''
2002 Aug 30
2
Help with Multi stream files
Hello All, I am having a problem with samba's ability to interpret certain files with windows 2k clients. Setup Details: Linux ( RedHat 7.3 ) File Server Win 2k Clients Samba v2.2.3a Kernel 2.4.18 statically compiled. Problem Description: When copying jpegs from a Win2k client which is displaying the JPEGS in thumbnail mode, to the Linux / Samba file server, 3 files are copied as
2011 Jul 08
2
Excel export date format
Hi folks, I have been tormented for some time by Excel's habit of exporting dates to CSV files as mm/dd/yyyy format even if the dates are formatted dd/mm/yyyy in the display. What's worse, if there are dates that are of ambiguous (6/6/2011) and unambiguous (16/6/2011) format in the same column, Excel reformats the unambiguous dates and leaves the ambiguous ones as they were! Yesterday
2005 May 10
5
converting an ASCII file to a matrix
Dear R-WinEdit users, I got a simple question, but somehow I cannot find the answer, although I have tried a lot! I got an ASCII-file and I want to import it into R, so that every character is defined by [i;j]. The rows are not of the same length. the file looks like the following shortened abstract example: name: xxxxx xxxx age: 9.9.99 record number: 999 title: xxxxx xxxx xxx keywords: xxx xx
2010 Jul 29
4
reading dates in Excel into R
I am reading dates in Excel2007 into R. Here are the functions I used: library(RODBC) channel<-odbcConnectExcel2007("myfile.xlsx") tmp<-sqlFetch(channel,"1",as.is=T) The dates in myfile.xlsx are all in this format: mm/dd/yyyy. But when I read it to R, some columns look like "yyyy-mm-dd 00:00:00", some columns look like "yyyy-mm-dd", and some
2004 Jun 16
3
Aggregating on Water Year Rather Than Calendar Year
The US water year extends from 01 October yyyy-1 through 30 September yyyy and is referenced by the year starting on the included 01 January yyyy. I'd like to be able to find the annual means for the water year. To do so I've taken the input date-time, which is in the usual format "1991-10-07 10:35:00" changed it by: w$d<-as.POSIXct(w$date.time) Now I can add an
2010 Feb 15
4
Separating columns, and sorting by rows
Dear anyone who knows more about R than me (so everyone). I have been bashing my head on the keyboard all day trying to do something with my table. I have some data, like so: yyyy-mm Rainfall(mm) 1 1977-02 17.4 2 1977-03 34.0 3 1977-04 26.2 4 1977-05 42.6 5 1977-06 58.6 6 1977-07 23.2 7 1977-08 26.8 8 1977-09 48.4 9
2016 Aug 20
4
What is broken with fail2ban
Hello List, with CentOS 7.2 it is not longer possible to run fail2ban on a Server ? I install a new CentOS 7.2 and the EPEL directory yum install fail2ban I don't change anything only I create a jail.local to enable the Filters [sshd] enabled = true .... ..... When I start afterward fail2ban systemctl status fail2ban is clean But systemctl status firewalld is broken ? firewalld.service -
2008 Jun 08
20
how to parse a "dd/mm/yyyy" formatted date string???
Hi, I''m stuck. How do you parse a "dd/mm/yyyy" formatted date string??? I get a date format error. Thanks in advance Greg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to