Displaying 20 results from an estimated 900 matches similar to: "Help Converting Calendars"
2017 Nov 08
0
Help Converting Calendars
How about
> p_dates <- paste0(p.dates[[3]], "-", p.dates[[2]], "-", p.dates[[1]])
> myData$p_dates <- p_dates
> print(myData, right=FALSE)
dates p_dates
1 2017-10-01 1396-7-9
2 2017-10-02 1396-7-10
3 2017-10-03 1396-7-11
> str(myData)
'data.frame': 3 obs. of 2 variables:
$ dates : Date, format: "2017-10-01"
2009 Jan 07
2
Function to recognise convert dates between gregorian and other calendars (e.g. Persian)?
Dear list,
I will shortly have some data that contains numeric dates in the Persian /
Jalali calendar format, which I would like to convert to gregorian. At the
moment there doesn't seem to be a function for this in R, but it would be
great if someone could come up with same - I would attempt it but the
algorithm is very complex and this is also way beyond my fairly rudimentary
knowledge of
2012 Jan 15
1
Correct Localized Numbers on Plots, related to glibc!
Dear R Helpers,
I want to localize my plots, i.e. the numbers by x & y axis be
Persian, using Persian numerals and Persian decimal separator. I
change the locale to fa_IR.utf8, but nothing on plots change. I can
change the numerals shaping to Persian ones (???? instead of 1234)
using some non-standard fonts but the decimal point is a problem. I
asked about that in Persian-Computing mailing
2009 Jan 09
0
ConvCalendars
A new package ConvCalendars is on CRAN, in response to requests earlier this week.
It performs conversions between the Gregorian calendar and other calendars including the Persian (Jalali) calendar used in Iran and Afghanistan and the Hebrew calendar used in Israel.
All the heavy lifting is done by C code from http://www.projectpluto.com.
-thomas
Thomas Lumley Assoc. Professor,
2009 Jan 09
0
ConvCalendars
A new package ConvCalendars is on CRAN, in response to requests earlier this week.
It performs conversions between the Gregorian calendar and other calendars including the Persian (Jalali) calendar used in Iran and Afghanistan and the Hebrew calendar used in Israel.
All the heavy lifting is done by C code from http://www.projectpluto.com.
-thomas
Thomas Lumley Assoc. Professor,
2006 Jun 17
5
Having trouble listing tiers of categories
I have categories and sub-categories in a table called "categories".
Every row has a "parent" field to note if the entry is the sub-category
of another (never goes deeper than 1 level).
So there might be something like this:
id | name | parent
1 Dog 0
2 Pug 1
3 Siamese 5
4 Shih Tzu 1
5 Cat 0
6 Wiener Dog 1
7 Persian
2018 Aug 28
3
build package with unicode (farsi) strings
Hi,
I have a R script file with Persian letters in it defined as a variable:
#' @export
letters_fa <- c('???','?','?','?','?','?','?','?','?','?','?','?')
I have specified the encoding field in my DESCRIPTION file of my package.
...
Encoding: UTF-8
...
I also included
2007 Apr 08
10
Ferret and non latin characters support
I''ve successfully installed ferret and acts_as_ferret and have no
problem with utf-8 for accented characters. It returns correct results
fot e.g. fran?ais. My problem is with non latin characters (Persian
indeed). I have tested different locales with no success both on Debian
and Mac. Any idea?
(ferret 0.11.4, acts_as_ferret 0.4.0, rails 1.1.6)
--
Posted via http://www.ruby-forum.com/.
2012 Mar 26
1
Arabic Wiki - resend because of bounce back
Hi, my name is Steve Mustafa, my username is SteveMustafa and I'd like
the privilege to edit and translate the wiki into Arabic,
http://wiki.centos.org/ar (does not exist).
So I'm asking for the privilege to create and edit these pages as well
as for the creation of a new RTL template for RTL languages including
Arabic, Hebrew, Persian and Urdu.
(like the subject says, this is a resend
2023 May 16
3
Recombining Mon and Year values
R Help
I have a data.frame where I've broken out the year <dbl> and an ordered
month <ord> values. But I need to recombine them so I can graph mon-year in
order but when I recombine I lose the month order and the results are
plotted alphabetical.
Year month mon_year
<dbl> <ord>
2021 Mar Mar-2021
2021 Jan
2020 Apr 19
0
Free Persian Asterisk Book and COVID-19 Pandemic
In the context of the COVID-19 pandemic, Nasim Telecom decided to publish
the first six-captures of Persian Asterisk book that was written by me and
Mr Najafi, published in 2017.
Also it was introduced by Mr. David Duffett in AstriCon 2017 on Florida.
It would be useful for all people which understand Persian language, Also
all other people could use it by going code commands on it and examples.
2018 Apr 12
3
Bivariate Normal Distribution Plots
R-Help
I am attempting to create a series of bivariate normal distributions. So using the mvtnorm library I have created the following code ...
# Standard deviations and correlation
sig_x <- 1
sig_y <- 1
rho_xy <- 0.0
# Covariance between X and Y
sig_xy <- rho_xy * sig_x *sig_y
# Covariance matrix
Sigma_xy <- matrix(c(sig_x ^ 2, sig_xy, sig_xy, sig_y ^ 2), nrow = 2, ncol = 2)
2006 Oct 19
3
Time conversion from Win32 64bit FILETIME?
Windows-32 has a time structure called FILETIME, a 64-bit value
representing the number of 100-nanosecond intervals since January 1,
1601 (UTC). That is not a typo, the year is 1601.
Does anyone have a clue(or algorhithm)for how this is converted to
something a little more POSIX-like ?
Thank you,
Derek
--
Derek N. Eder
Gothenburg University
VINKLA - Vigilance and Neurocognition
2004 Apr 22
6
wondershaper, host *exclusion*?
Hi,
I really like the wondershaper script, it works very well for me. My
question is this. Is there a way to get certain remote hosts to be
excluded from the shaping? I ask because I don''t have my box connected
directly through the net. It sits behind a nat device, and has ports
forwarded in for services. I''d like to limit the ports and services, but
only to things going outside
2023 May 16
1
Recombining Mon and Year values
?s 21:29 de 16/05/2023, Jeff Reichman escreveu:
> R Help
>
>
>
> I have a data.frame where I've broken out the year <dbl> and an ordered
> month <ord> values. But I need to recombine them so I can graph mon-year in
> order but when I recombine I lose the month order and the results are
> plotted alphabetical.
>
>
>
> Year month
2018 Mar 13
2
Understanding TS objects
R Help Community
I'm trying to understand time series (TS) objects. Thought I understood but recently have run into a series of error messages that I'm not sure how to handle. I have 15 years of quarterly data and I typically create a TS object via something like...
data.ts <- ts(mydata, start = 2002, frequency = 4)
this create a matric as opposed to a vector object as I receive a
2018 May 05
1
Discovering patterns in textual strings
"Does that help?"
No. I am not your private consultant. You need to reply to the list, which
I have cc'ed here, not just me.
I am still somewhat confused by your specifications, but others may not be.
Part of my confusion stems from your failure to provide a reproducible
example (see e.g. the posting guide linked below). For example, I cannot
tell from your text whether the Abc
2020 Oct 01
4
summarize_all Function
r-help Forum
I'm using the dplyr:: summarize_all(funs(sum)) function and am receiving a
warning message that the `funs()` is deprecated as of dplyr 0.8.0. Ok what
should I be using to summarize all columns by sum?
Jeff
[[alternative HTML version deleted]]
2016 Jun 16
0
Wine release 1.8.3
The Wine maintenance release 1.8.3 is now available.
What's new in this release (see below for details):
- Various bug fixes.
- A lot of NVidia cards added to the GPU description table.
- Updates to the National Language Support files.
The source is available from the following locations:
http://dl.winehq.org/wine/source/1.8/wine-1.8.3.tar.bz2
2009 Mar 10
1
?as.POSIXct (PR#13587)
Full_Name: Luca Braglia
Version: 2.8
OS: Windows
Submission from: (NULL) (85.18.136.110)
>From ?as.POSIXct
## SPSS dates (R-help 2006-02-17)
z <- c(10485849600, 10477641600, 10561104000, 10562745600)
as.Date(as.POSIXct(z, origin="1582-10-14", tz="GMT"))
^^
It should be 15 (Gregorian calendar adoption day, when