Displaying 6 results from an estimated 6 matches for "currentyear".
2006 Apr 10
1
Bizzare Date, DateTime, date_select issues
I''ve been banging my head against this wall for several hours, and it
hurts now so I''ll stop and ask someone.
In one of my forms I had been using a statement to extract the current
year for use with some form field calculations.
<% currentyear = DateTime.now.year %>
And then further down several date_selects like the following,
<%= date_select "member", "last_medical_date", :id =>
"member_last_medical_date", :order => [:year, :month, :day], :start_year
=> (currentyear - 5), :end_year =...
2011 Feb 28
0
MultiDimensional arrays
...h366 <- c(0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335,
366)
Lyear <- isLeapYear(2000:2009) # returns boolean vector TRUE FALSE for
years in sequence
start_year<- 1999 # we process 11 years with 265 daily data records in
a 287 x 405 row x column map.
for(t in 1:11) {
currentYear = start_year + t
leapYear <- isLeapYear(currentYear:currentYear) # returns boolean
vector TRUE FALSE for years in sequence
#print(leapYear)
Days<-DaysToMonth365
if(leapYear){
Days<-DaysToMonth366
}
#print(Days)
data <- array(data,...
2011 Mar 26
0
NetCDF - rolling means and StdDev
...ee line 50
processMonth<-function(x){
print(x)
}
start_year<- 1999
# initiates 1 year before to capture December of correct year, next line
uses the for loop to run thru
# the number of years. Here 3 is used to limit the number used in a testing
mode.
for(t in 1:3) {
currentYear = start_year + t
leapYear <- isLeapYear(currentYear:currentYear) # returns boolean vector
TRUE FALSE for years in sequence
#print(leapYear)
Days<-DaysToMonth365
if(leapYear){
Days<-DaysToMonth366
}
print(Days)
data <- array(data,...
2008 Mar 23
2
Can not install fCalendar package under R 2.6.2
...Unit
RUnit 0.4.17 loaded.
Loading required package: spatial
Loading required package: tcltk
Loading Tcl/Tk interface ... done
Loading required package: zoo
Error in .Internal(putenv(x)) : no internal function "putenv"
Calls: <Anonymous> ... sys.source -> eval -> eval -> .currentYear ->
Sys.setenv
Execution halted
ERROR: lazy loading failed for package 'fCalendar'
** Removing '/usr/local/lib/R/site-library/fCalendar'
by the way, my system is Ubuntu 7.04,
platform i486-pc-linux-gnu
arch i486
os linux-gnu
system i486, linux...
2007 Dec 11
0
holidayNYSE missing some
...onday in May
> # * Independence Day, July 4th (moved to Monday if Sunday)
> # * Labor Day, first Monday in September
> # * Thanksgiving Day, fourth Thursday in November
> # * Christmas, December 25th (moved to Monday if Sunday)
>
> holidayNERC<-function (year =
> currentYear,West=F,FinCenter='America/NewYork')
> {
> holidays = NULL
> for (y in year) {
> holidays = c(holidays, as.character(USNewYearsDay(y)))
> holidays = c(holidays, as.character(USIndependenceDay(y)))
> holidays = c(holidays, as.character(USThanksgivin...
1997 Oct 20
1
Disappearing clients in WINS list
On Mon, 20 Oct 1997, Dieter Rothacker wrote:
> Luke Kenneth Casson Leighton wrote:
>
> > > Here is the smb.conf of the disappeared samba box:
>
> ^^^^^^^^^^^
> I do not think THIS computer should become local master !?
> (see below)
>
> > > wins support = no
> > > workgroup = WORKGROUP
> > >