Displaying 20 results from an estimated 7000 matches similar to: "axis command and excel time format"
2006 Nov 29
4
String question
Hi to all
I would to determinate whether bits is a binary code and I would to find
out the which bit is set to 1
bits <-"00110110"
I found to detect whether there are only numbers
all.digits(bits)
but is there any function to detect whether there are only 0 and 1 in
the string
And how could I get the f.e the third "bit" from the right hand side
With regards Carmen
2006 Nov 30
3
writing function with ,... )
Hi to all
I did not found the right hints for functions with the dot-dot-dot argument.
Is it possible to write own functions with the tree dots and if yes
what's wrong with the following example?
test <- function(x, ...)
{
print (x)
if (exists("y"))print(y)
if (exists("z"))print(z)
}
test(4,y=2)
With regards Carmen
2006 Dec 15
2
ks.test "greater" and "less"
Hello r-group
I have a question to the ks.test.
I would expect different values for less and greater between data1 and
data2.
Does anybody could explain my point of misunderstanding the function?
data1<-c(8,12,43,70)
data2<- c(70,43,12,8)
ks.test(data1,"pnorm")
ks.test(data1,"pnorm",alternative ="less") #expected < 0.001
2007 Jun 08
2
pnorm how to decide lower-tail true or false
Hi to all,
maybe the last question was not clear enough.
I did not found any hints how to decide whether it should use lower.tail
or not.
As it is an extra R-feature ( written in
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/66250.html )
I do not find anything about it in any statistical books of me.
Regards Carmen
2010 Aug 01
1
aggregating a daily zoo object to a weekly zoo object
Dear R People:
I'm trying to convert a daily zoo object to a weekly zoo object:
xdate <- seq(as.Date("2002-01-01"),as.Date("2010-07-10"),by="day")
library(zoo)
length(xdate)
xt <- zoo(rnorm(3113),order=xdate)
xdat2 <- seq(index(xt)[1],index(xt)[3113],by="week")
xt.w <- aggregate(xt,by=xdat2,mean)
Error: length(time(x)) ==
2004 Jul 07
1
question about seq.dates from chron vs. as.POSIXct
Dear R People:
Here is an interesting question:
>library(chron)
>xt <- seq.dates(from="01/01/2004",by="days",length=5)
>xt
[1] 01/01/04 01/02/04 01/03/04 01/04/04 01/05/04
>
#Fine so far
>as.POSIXct(xt)
[1] "2003-12-31 18:00:00 Central Standard Time"
[2] "2004-01-01 18:00:00 Central Standard Time"
[3] "2004-01-02 18:00:00 Central
2007 Jun 06
6
p-value from GEE
Hi to all,
I found in the R-help archive how to calculate the p-value for a gee result:
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/74150.html
but there are two questions (I am afraid they are basic questions ...)
1. why is the result multiplicated with 2
2. how could I decide between lower.tail =TRUE and FALSE:
example:
2007 Apr 18
10
customizing global request handler
what is the cleanest way to do something for every request of a particular type (Verb, and Content-Type header)? i''m trying to figure out if shipping a custom camping.rb is avoidable, and if, how i should structure a patch
my app http://whats-your.name/yard/ uses exclusively JSON based messaging between server and client. this means POST bodies are JSON, and not querystring.. camping
2006 Aug 18
11
#<Errno::EMFILE: Too many open files
My application runs a backgrond process and after running for a while I
get this error in my logs:
#<Errno::EMFILE: Too many open files
Lasty, the ONLY code I have that does anything with files is:
File.open(image_path, "wb") do |file|
file.puts file_content
end
Any idea what this means?
--
Posted via http://www.ruby-forum.com/.
2011 Apr 20
8
Bug in PCI Passthrough
Hello all
I tried to enable PCI Passthrough in my Debian Squeeze installation.
Unfortunately, it didnt work. The following bug showed up (excerpt from
dmesg):
[ 10.148612] uhci_hcd 0000:00:14.2: PCI INT D -> Link[LNKD] -> GSI 11
(level, low) -> IRQ 11
[ 4.678352] Failed to setup GSI :11, err_code:-22
[ 4.678480] dmfe 0000:00:0e.0: PCI INT A -> Link[LNKB] -> GSI 11 (level,
low)
2006 Jun 23
5
create session only for logged-in
i was wondering how a blog db has grown by about 15 mb in a week or two. it turns out its the sessions table..
so ive tried this:
class ApplicationController..
session :off
end
class AccountController
session :only, :login
end
and now, its impossible to login, and nothing ever appears in the session table. is this the right approach? i dont want to weed out the sessions with cron, i just
2003 Sep 03
8
Asterisk Jitters
Hi,
Every time I dial into my asterisk box i hear nothing but asterisk
jittering.
The following is an example of what I get on the asterisk CLI
Thanks
*CLI> DEBUG[81926]: File chan_sip.c, Line 3826 (check_user): Setting NAT
on RTP
to 0
DEBUG[81926]: File chan_sip.c, Line 4807 (handle_request): Check for res
DEBUG[81926]: File chan_sip.c, Line 952 (find_user): Call from user
2008 Apr 03
1
rtc issue
Hi all,
I have installed centos 5.1 x86_64. 2.6.18-53.1.14.el5
Everything seems to be working fine except that the rtc module is not
working.
cat /proc/interrupts shows:
CPU0 CPU1
0: 129 0 XT-PIC-XT timer
1: 330797 0 XT-PIC-XT i8042
2: 0 0 XT-PIC-XT cascade
3: 4 0
2009 Jun 16
2
tdm loosing interrupts and latency
Hi
I have come across a problem, with my tdp410 and soekris board
(basically pc on a chip amd geode cpu).
I am using the box as a firewall/asterisk box. The problem occurs when I
drop ppp and I get dead loop dectiotn going, I seem to lose interrupts
and get lots of messages in syslog from wctdm24xx saying missed
interrupt increasing latency
its out lined here
2005 Mar 22
6
IRQ headaches
Excuse my ignorance here, but I am desperately trying to isolate the IRQ for
my TE110P card (shown below as t1xxp) Ive gone into my bios and disabled all
usb , parallel, serial and some other devices, those that I needed to keep,
I have moved off of IRQ 10 and onto IRQ 5, but everytime I boot up, I get
usb-uhci and ehci_hcd using IRQ 10 as well as my Digium card. Does anybody
know what these are
2000 Mar 22
4
R-release dynamic load problem on HPUX10.20
Hello,
I just pulled the patched release:
R-release Version 1.0.0 Patched (March 19, 2000), on HPUX10.2
I am having dynamic library load problems. I configured with:
./configure --prefix=/home/absd00t/local --with-readline --with-x
After changing etc/Makeconf to take -lblas out of libs (the blas
library provided by the system is not a shared library), system was
built without any interruptions.
2004 May 03
2
Number of Digium cards in one box...
I know, I know, check the archives but I can't find an answer since the
new cards are well, NEW!
I understand the whole issue of expandability and flexibility of using a
T1 card and an Adtran 750. FXO or FXS, you mix and match.
With the new card offerings from Digium I can easily put a 4CO by 8
Station system together.
Barring the extra interrupts, extra CPU Cycles of extra interfaces, is
2006 May 10
4
ethernet interface shares interrupts with tdm card
Hello.
I have a MinITX motherboard with only one pci slot and one onboard ethernet
interface, I have a TDM04B card plugged into that motherboard and the
/proc/interrupts:
CPU0
0: 169626332 XT-PIC timer
1: 1270 XT-PIC i8042
2: 0 XT-PIC cascade
8: 4 XT-PIC rtc
12: 170166219 XT-PIC eth0, wctdm
14:
2005 Jul 24
1
Do I have to worry about interrupt sharing here?
Hello
I am using a Junghanns QuadBRI ISDN card - the module name is qozap. If I like at my interrupt assignment, qozap is sharing interrupt 10 with libata and uhci_hcd.
I think libata is the IDE hard drive module and uhci_hcd is a USB module.
linux:~ # modprobe qozap
linux:~ # cat /proc/interrupts
CPU0
0: 12634579 XT-PIC timer
1: 10 XT-PIC i8042
1997 May 11
2
R-alpha: Logarithmic scales
Here are another three problems with logarithmic scales:
1) segments() does not work with logarithmic scales. I suggest to change
lines 962-973 in "plot.c":
for (i = 0; i < n; i++) {
if (FINITE(xt(x0[i%nx0])) && FINITE(yt(y0[i%ny0]))
&& FINITE(xt(x1[i%nx1])) && FINITE(yt(y1[i%ny1]))) {
GP->col = INTEGER(col)[i % ncol];