search for: pi

Displaying 20 results from an estimated 3571 matches for "pi".

Did you mean: pci
2013 Aug 01
3
Problemas con NA y sub-selección por índice
...que adjunto y queríamos hacer una selección mediante índices pero nos deparamos con algún problema. Por ejemplo si hacemos solamente: data[data$PESO==76] me da algo como: > str(data[data$PESO==76,]) 'data.frame': 2475 obs. of 10 variables: $ PUREZA_A: Factor w/ 1 level "pi": 1 NA NA NA NA NA NA NA NA NA ... $ SEXO : Factor w/ 2 levels "H","M": 2 NA NA NA NA NA NA NA NA NA ... $ NAC : Factor w/ 2090 levels "1968-10-01","1970-01-01",..: 365 NA NA NA NA NA NA NA NA NA ... $ TRAZAB_P: logi NA NA NA NA NA NA ......
2020 Apr 03
1
Mailfiles gets duplicated
...as a client as well as K9-Mail on Android, therefore I expect this comes from the Dovecot server and not from the client itself. It also appears that the duplicates does not have the size S= and vsize W= flags. Here is a short example of the last emails from my folder /.Sent/cur: -rw------- 1 pi pi? 1,6M mars? 24 22:18 1585084691.M834293P16489.raspberry-pi,S=1658182,W=1679758:2,S -rwx------ 1 pi pi?? 34M mars? 24 22:20 1585084841.M415421P17104Q0Rc311b18de2edf536.raspberry-pi:2, -rwx------ 1 pi pi?? 34M mars? 24 22:22 1585084954.M254398P17175Q0R6c5a66e22ac3a3d2.raspberry-pi:2, -rwx------...
2013 Dec 17
3
In-string variable/symbol substitution: What formats/syntax is out there?
Hi, I'm try to collect a list of methods/packages available in R for doing in-string variable/symbol substitution, e.g. someFcn("pi=${pi}"), anotherFcn("pi=@pi@") and so on becomes "pi=3.141593". I am aware of the following: ** gsubfn() in the 'gsubfn' package, e.g. > gsubfn( , , "pi = $pi, 2pi = `2*pi`") [1] "pi = 3.14159265358979, 2pi = 6.28318530717959" ** gstring()...
2018 Jul 24
0
Failed to establish your Kerberos Ticket cache due time differences with the domain controller
...oes not have /etc/security/pam_winbind.conf, check if its there > if so backup it remove it. > No it's not present. > Check if these packages are installed. > libpam-krb5 > libpam-winbind > libnss-winbind > dpkg-query -s reports these are not installed, but samba was compiled from sources and libnss_winbind.so.2 links are in place, as is also the link for pam.winbind.so: root at pi-dc:~# ls -l /lib/arm-linux-gnueabihf/libnss_winbind* lrwxrwxrwx 1 root root 44 Jul 21 00:26 /lib/arm-linux-gnueabihf/libnss_winbind.so -> /lib/arm-linux-gnueabihf/libnss_winbind.so.2 lr...
2013 Aug 22
3
[Bug 68453] New: Bad rendering (refreshes) when booting recent debug kernels
...new tab in Firefox, but I can still see all the content from the previous tab until I wait several seconds or switch tabs and switch back or scrub my mouse around a bit. Any kind of window-switching operation tends to show the issue. A Fedora debug kernel build sets the following: @perl -pi -e 's/# CONFIG_SLUB_DEBUG_ON is not set/CONFIG_SLUB_DEBUG_ON=y/' config-nodebug @perl -pi -e 's/# CONFIG_LOCK_STAT is not set/CONFIG_LOCK_STAT=y/' config-nodebug @perl -pi -e 's/# CONFIG_DEBUG_STACK_USAGE is not set/CONFIG_DEBUG_STACK_USAGE=y/' config-nodebug...
2010 Dec 24
3
selection of outputs from the function
...49,0.0000,0.0000,-0.0969,-0.2218,-0.3979,-0.1549,-0.2218,-0.3979,-0.5229,-0.0458),nrow=20) theta <- function(X,Y) { B.cap <- solve(t(X)%*%X)%*%t(X)%*%Y P <- X%*%solve(t(X)%*%X)%*%t(X) Y.cap <- P%*%Y e <- Y-Y.cap var.cap<-(t(e)%*%e)/(nrow(X)-ncol(X)-1) ei <- Y[i,]-X[i,]%*%B.cap pi <- P[i,i] var.cap.i <- (((nrow(X)-ncol(X)-1)*var.cap)/(nrow(X)-ncol(X)-2))-(ei^2/((nrow(X)-ncol(X)-2)*(1-pi))) ti <- ei/(sqrt(var.cap)*sqrt(1-pi)) ti.star <- ei/(sqrt(var.cap.i)*sqrt(1-pi)) X.star <- cbind(X,Y) pi.star <- pi+(ei^2/(t(e)%*%e)) LDi <- nrow(X)*log(((nrow(X))/(...
2013 Mar 21
1
plot and save as png
Hi A.K This is working layout(matrix(c(1,2,3,4), 4, 1, byrow = TRUE)) plot(sin, -pi, 10*pi) plot(sin, -pi, 20*pi) plot(sin, -pi, 30*pi) plot(sin, -pi, 40*pi) dev.off() but if I add this line png(filename = "fname.png", width = 900, height = 600, units = 'px') no plot is generated. where is the problem?. thanks veepsirtt > png(filename = "fname.png&...
2007 Jan 23
6
can't plot a line
Consider the following: plot(0, 0, xlim=c(-10, 10), ylim=c(-50, 50)) lines(c(0,0), (2*c(-pi, pi))^2) I see no line in this plot. R version 2.4.1 (2006-12-18) i386-pc-mingw32 locale: LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 attached base packages: [1] "s...
2003 Jul 23
6
window function
Dear Sebastian and all, This is a Japanese to live in Japan. I have a question. Ogg's window functon is f(x)=sin(1/2*pi*sin^2((x+0.5)/n*pi)) for 0 <= x < n But I cannot understand why this window function satisfys the equation f^2(x)+f^2(x+n/2)=2 which is for MDCT's perfect signal reconstruction. reference: Analysis/Synthesis Filter Bank Design Based on Time Domain Aliasing Cancellation John P. Princen...
2008 Jul 03
1
Problem in applying conditional looping
Respected All, I hope you are enjoying good health, I am tring to write a program in R but could not be very sucessful. My program draws random sample form bivariate normal distribution and then compute a variable PIJ. For certian samples some entries of variable PIJ is apearing as negative, which result in negative variance estimator. I want to introduce a loop in my program that verify the each value of PIJ and if any value in PIJ is negitive return back and draw another sample until a sample is selected that...
2018 Jul 24
2
Failed to establish your Kerberos Ticket cache due time differences with the domain controller
...> DC's > > Try installing ntpdate on each DC and then run on each DC: > > > > ntpdate -d -u 'FQDN of other DC' > > > > You should get a very low 'offset', it is in seconds > > > > Rowland > > Ok, done that and the result on pi-dc: > root at pi-dc:~# ntpdate -d -u debian-vb.microlynx.org > 23 Jul 23:48:59 ntpdate[1876]: ntpdate 4.2.8p10 at 1.3728-o Sat > Mar 10 18:03:47 UTC > 2018 (1) > transmit(192.168.2.6) > receive(192.168.2.6) > transmit(192.168.2.6) > receive(192.168.2.6) > transmit(192.16...
2011 Feb 21
1
plot numerous functions in one figure with different values of x per function
To the more experienced R users, I am not a professional programmer so please excuse me if my questions seem naive. I have only begun using R to solve some problems and I'm already regretting it 1. I am trying to plot different functions in the same figure. The first function f(x)= sin(x)+(pi/4) , -2pi<=x<=2pi the second function g(x) = {sin(x), 0 <= x <= pi or ?2pi <= x <= -pi {-pi/4, elsewhere my code is: > x<-seq(from=-2*pi,to=2*pi,length=1000) > fx<- (sin(x)+(pi/4)) > plot(x,fx,type="l",lty=1) > x2<- seq(from=0,to=pi) >...
2003 Jun 24
3
R-1.7.1 regression test failure on alphaev68-dec-osf5.1
I'm attempting to compile and install R version 1.7.1 for my statistical geneticists. It seems to compile correctly -- that is, it compiles without errors -- but the regression test is failing in the following manner: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > ## log > stopifnot(all.equal(log(1:10), log(1:10,...
2016 May 25
0
Tripplite SMART2200VS with tripplite_usb: UPS doesn't shut down
...upsdrvctl shutdown, I made the assumption that the system is probably properly configured, but there may be a communication issue with the UPS. (may or may not be a logical assumption) I provided wall power to the NUT master and shut down all the loads connected to the UPS, then May 24 18:01:57 pi upsmon[996]: Signal 10: User requested FSD May 24 18:01:57 pi upsd[992]: Client upsmon at 127.0.0.1 set FSD on UPS [tripplite] May 24 18:01:57 pi upsmon[996]: Executing automatic power-fail shutdown May 24 18:01:57 pi upsmon[996]: Auto logout and shutdown proceeding May 24 18:02:01 pi CRON[2147]: (...
2004 Aug 06
6
No audio with slackware for live station
Hy, I've just installed the latest release of icecast2 and ices from CVS. I have a linux Slackware 9.0 with the default packages. After install of ices and icecast & relative libraries (with no errors), I've started the icecast server. When starts ices, this is the debug: --- INFO ices-core/main ices started... INFO input-oss/oss_open_module Opened audio device /dev/dsp at 2
2007 Sep 03
4
sin(pi)?
Dear all, I found something strange when calculating sin of pi value sin(pi) [1] 1.224606e-16 pi [1] 3.141593 sin(3.141593) [1] -3.464102e-07 Any help and comment should be appreciated. Regards Nguyen ____________________________ Nguyen Dinh Nguyen Garvan Institute of Medical Research Sydney, Australia
2003 Oct 31
3
print(), cat() and simple I/O in R
I am trying to produce rather mundane output of the form e.g. pi, e = 3.14 2.718 The closest result I achieved so far with print() is: > print (c(pi, exp(1)), digits = 3) [1] 3.14 2.72 > print(c("pi, e =", pi, exp(1)), digits = 3) [1] "pi, e =" "3.14159265358979" "2.71828182845905" I understand that c()...
2006 Dec 18
2
write() gotcha
Hi I used write() the other day to save some results. It seems that write() does not record the full precision of the objects being written: > write(pi,file="~/f",ncolumns=1) > pi.saved <- scan("~/f") Read 1 item > dput(pi) 3.14159265358979 > dput(pi.saved) 3.141593 > pi-pi.saved [1] -3.464102e-07 > This difficulty was particularly difficult to find because pi.saved *looks* the same as pi. What...
2011 May 30
2
Value of 'pi'
Dear R helpers, I have one basic doubt about the value of pi. In school, we have learned that pi = 22/7 (which is = 3.142857). However, if I type pi in R, I get pi = 3.141593. So which value of pi should be considered? Regards Vincy [[alternative HTML version deleted]]
2007 Oct 19
4
[PATCH] nr_cpus calculation problem due to incorrect sockets_per_node
...9;s nr_cpus calculation. In this case, since Xen cuts off recognized CPUs at 32, the machine appears to have 16 CPUs on the first and second nodes and none on the remaining nodes. Given this asymmetry, the calculation of sockets_per_node (which is later used to calculate nr_cpus) is incorrect: pi->sockets_per_node = num_online_cpus() /(num_online_nodes() * pi->cores_per_socket * pi->threads_per_core); The most straightforward solution is to remove sockets_per_node, and instead determine nr_cpus directly from num_online_cpus. This patch has been tested on x86_64 NUMA machines....