Displaying 20 results from an estimated 3000 matches similar to: "R4.1: seq.POSIXt, tz="AEST" (PR#9572)"
2002 May 31
2
error in seq.POSIXt?
I am trying to extract only the winters (defined to be 01-Dec through
28-Feb) of daily data from 1948-2002. There are 90 days in each winter
season. I wrote the following code to gather the winter dates into a
single vector:
DJF <- NULL
for(year in 1949:1999) {
temp.begin <- strptime(paste("01/12", year-1, sep="/"), "%d/%m/%Y")
temp.end <-
2010 Apr 29
1
bug in cut.POSIXt(..., breaks = <numeric>) and cut.Date
x <- seq(as.POSIXct("2000-01-01"), by = "days", length = 20)
cut(x, breaks = 3)
# Error in `levels<-.factor`(`*tmp*`, value = character(0)) :
# number of levels differs
cut(as.Date(x), breaks = 3)
# Error in `levels<-.factor`(`*tmp*`, value = character(0)) :
# number of levels differs
Index: base/R/datetime.R
2001 Jul 14
6
how to type long string
Hi, All:
I try to type some long string in R console, whenever
I like to change to a new line, I get error message.
The following is my simple code
--------------------------------------
h3 <- sqlQuery(myConnect, "select * from console where
Error: syntax error
byday = 'dd1'group by by hour")
Error: syntax error
---------------------------------------
Any Hints?
Thanks.
2004 Jul 16
1
highlighting subset of point with xyplot (or Hmisc(xYplot))
Hello all,
I am trying to use xyplot to give a six panel plot and to highlight
only points (in any panel) that meet a certain criterion. With the
plot command I would do something like:
plot.default(filein$Site,filein$circ.conc)
points(filein$Site,filein$circ.conc,type="p",
pch=ifelse(filein$p.value<5e-02,19,21))
I had thought I could just stick in the pch line from above into
2006 Sep 07
4
Install config: lighttpd dead but pid file exists
I''m trying to run rails on RHED (centos 4) by following this tutorial:
http://wiki.rubyonrails.org/rails/pages/RailsOnRHEL
and something is gone a bit astray during the install process that is
not allowing lighttpd \ apache to run rails on the web.
Since i''m running Centos, I should mention I''m NOT running SELinux.
As it is, i''m at a total loss as to why
2007 Aug 10
2
available.packages (PR#9841)
Full_Name: Zivan Karaman
Version: 2.5.1
OS: Windows XP SP2
Submission from: (NULL) (195.6.68.214)
I think that I have encountered a bug in the function "available.packages" when
using a local repository (file://
) on Windows.
Version information:
platform i386-pc-mingw32
arch i386
os mingw32
system
2008 Sep 04
1
Timezone support?
This is a follow-up to the thread ending with:
http://rubyforge.org/pipermail/vpim-talk/2008/000120.html
I too am in search of some ruby parser for icalendar which properly handles
timezones on the datetimes in the icalendar RFC.
As I understand it there are actually three types of times.
1) UTC times with a string form of yyyymmddThhmmssZ
note the trailing Z indicates zulu time aka utc.
2)
2006 Jan 15
1
[LLVMdev] A question about alias analysis
Oh, your meaning is pointers in a aliasset have equal address logically?
But I think that two pointers are alias means they point to a same
memory object, so if pointers "p" and "q" are alias, it seem as p = q,
not &p = &q.
Another question is about "forwarding".
"AliasSet[XXXX, 0] may alias, Mod/Ref forwarding to YYYY" (XXXX != YYYY)
means the
2001 Feb 13
1
pass a string to a function
Hi,
I'd like to pass a string to a function as the value
of the argument.
Here is my code. However, it doesn't work. Please help
me with this.
Thanks,
Yu-Ling Wu
-----------------------------------------------------
library(RODBC)
odbcConnect("console") -> myConnect
fun1 <- function(dd1) {
h3 <- sqlQuery(myConnect, "select * from console where
byday =
2002 Apr 25
2
ssh-rand-helper probs
Hi all
Am i doing this right? Is this the right list to post to? If not, a
quick lesson in ettiquette for me would not hurt. As I am both just
starting to use newsgroups and SSH, I am not entirely familiar with the
processes. I have a question about ssh-rand-helper. First an outline: I
am currently using the SSH packages for Solaris 2.8 available at
sunfreeware.com. The environment is
2009 Dec 21
1
proposal for new axis.Date/axis.POSIXct
Hi R-devel.
I've noticed a couple of quirks in the current time/date axis
functions (axis.Date, axis.POSIXct, and the equivalents in lattice).
Looking at the code, it seems like a fairly ad-hoc approach, often
using pretty() on components of the time. This is not always ideal -
for example a one-hour interval gets cut into 10-minute chunks rather
than the more natural 15-minute chunks (since
2001 Oct 30
2
rsync not copying owner/group on some files
I am trying to use rsync 2.4.6 to try creating a backup using another
locally connected hard disk. Thing copy, but sometimes the group is eith
numeric (valid). Often the owner is not even shown.
This is the command I use for rsync:
rsync-2.4.6/rsync -arxlHpogDt /usr/ /backup/usr/ --delete
I login as root.
Any help would be appreciated.
--
Ian Kettleborough
ian@idk.com
2005 Nov 08
6
Running Xen 3.0, guest OS does not open a window
Dear Xen community,
I have Xen 3.0 installed on RedHat Linux Enterprise RHEL4U2. "xend
install" runs fine with no error messages.
However, when I start "xm cr guest-vmx.conf" I do not get any new window
open for the new guest OS. "xm list" shows that the vmx has started and
seems to be working fine (just for testing, when I type "xterm" an X
window
2018 Oct 02
2
Samba access to trusted domain
Samba share access is not working for trusted domain users. I have updated
krb5.conf with both domains realm and in smb.conf trusted domains default
value not changed. But still share access is not working for trusted domain.
# less lnxbrisglog01.02188394-667794/installed-rpms | grep samba
samba-3.0.33-3.40.el5_10-x86_64 Tue 29 Sep 2015 03:25:42 PM AEST
samba-common-3.0.33-3.40.el5_10-x86_64 Tue
2017 Feb 21
1
Could not login as root or other Linux user account
Ubuntu server 16.04.2samba has upgraded from As per repository (latest version)I was configuring samba as per document from wiki "ActivedirectoryWINbindHowto"After editing the common-account and common-auth I rebooted the server.I could notlogin as root or any Linux user. Server says "Incorrect login" But I tried with all otherLinux user login which
2007 Jan 29
6
RJS problem
Hi,
I''m implementing a "digg-like" page, that once you digg. The score for
each item will dynamically reflect your current action +1 .
I am not sure what''s
In the controller I have an action responsible for increase of the
score.It has a corresponding rjs in view.
--------------------------------------------------------------------------------
def arouse
2002 May 10
2
Help Improve the Shorewall Docs
At Tom Eastep''s request, an informal Shorewall Documentation Support =
Group (DSG) is hoping to relieve some of the writing and editing burdens =
that come with maintaining and improving the Shorewall documentation. =
The DSG welcomes and needs your suggestions and contributions about all =
aspects of the documentation, including structure, content, references, =
style, grammar --
2019 Nov 30
1
Re: virt-df for KVM
On Sat, Nov 30, 2019 at 06:49:29PM +0800, zxs11289 wrote:
> I face a problem on KVM using virt-df。 I have two computer,they
> have installed tools for KVM. The computer(ip 15)has no virtual
> machine and computer(ip 33)has two virtual machines。on the
> computer(ip33), i run the command “virt-df” if on the computer(ip15),
> i run the command “virt-df --connect
2006 Apr 17
9
ruby on rails book, fundamental question
Hi guys,
bought the ROR book. I understand most of it and really like it. There
is just on thing I just dont get.
Lets take this code for example.
def list
@products = paginate :product, :per_page => 10
end
As far as I understand @products should be some kinda hash or array,
with the data of the Database inside.
How can I display this array ?
One solution is to do it like this (like in
2006 Sep 25
3
In place editing an empty field
I am trying to use the Scriptaculous InPlaceEditor and in some cases the
field will be empty. That is, the field currently has no value but the
user wants to enter a value.
The InPlaceEditor appears to not work in this case. Other identical
fields (except wit different ids and some value) do work.
I have tried using a nonbreaking space ( ), and this does cause the
editor to appear,