search for: sapsys

Displaying 18 results from an estimated 18 matches for "sapsys".

Did you mean: aspsys
2007 Aug 05
2
Question regarding QT device
Hi, After a few modifications in the makefiles, I successfully compiled the Qt device (written by Deepayan Sirkar) for OS X 10.4.9 on a Powerbook. However when loading into R If i remove this line from zzz.R in qtutils/R grDevices::deviceIsInteractive("QT") and then install >library(qtutils) loads fine and the QT() calls returns a QT window, however, if i switch to
2001 Feb 03
1
Random Nos
R-lings, I know the algo for Laplace generation, but arent there any packages available. Also, i'm trying to check for the Bernoulli sums obey the CLT, but though i calculate 2000 values of S(n)-n*p ---------- sqrt(n*p*(1-p)) for p=.5 and n=45, this fails both KS test and shapiro test. Why?? Thanks sapsi ISI,Delhi please reply to sapsi at bigfoot.com
2001 Feb 03
0
CLT
R'mms, Prof. Brian Ripley, wrote >>Maybe because the CLT is a limit for large n? Or maybe >>you did not use >>the correct distribution theory for those tests? That >>for the KS test >>applies to samples from a continuous distribution, an >>yours is quite I quite agree that the Bernoulli is discrete, but i have read that Sn(sum of n bernoulli variables with
2007 Feb 13
1
Multidimensional Integration over arbitrary sets
Hi, I need to integrate a 2D function over range where the limits depend on the other e.g integrate f(x,y)=x*y over {x,0,1} and {y,x,1}. i.e \int_0^1 \int_x^1 xy dydx I checked adapt but it doesn't seem to help here. Are they any packages for this sort of thing? I tried RSitesearch but couldn't find the answer to this. Many thanks for you help. Regards Saptarshi Saptarshi Guha
2007 Mar 06
1
Waiting for Key input
Hi, I have another question. Is there any command that waits for key input? I am running R on OS X, so getGraphicsEvents doesn't work. I have put some debug print messages in a function and would like to pause the code every time the message is printed and continue on a keypress. Thank you Saptarshi Saptarshi Guha | sapsi@pobox.com | http://www.stat.purdue.edu/~sguha
2007 Feb 06
1
A question regarding cex and pch="." in lattice
Hello, I'm using lattice and opened an X11 device with the following call X11(width=5,height=5,pointsize=1) I then ran the following code library(lattice) x<-rnorm(30,sd=2) y<-runif(30) xyplot(y~x,pch=".",col="black",cex=1) If i remove "cex=1", not all the points are plotted. From ?X11, i read,"pch='.' with cex=1 corresponds to a
2006 Oct 19
1
A question regarding Wireframe in Package Lattice
Hello, The following code produces a quadrilateral: q<-matrix(c(1,3,1,2,3,1,2,4,2,1,4,2),nrow=4,byrow=T) qc<-xyz.coords(q) wireframe(z~y*x,qc) I have 2 questions 1) How can i remove the bounding box i.e the cube encompassing the quadrilateral? 2) Is there any function to get the 2D coordinates of the quadrilateral actually used in the final plot ? I could manually
2007 Mar 06
1
Substituting functions in package - Lattice
Hi, I'm trying to learn how a package works but substituting a parituclart function with my own (basically the original one with some debug statements). The package is lattice and the method is "print.trellis" which is a S3 method and is not visible. To replace this, i sourced a file with the rewritten print.trellis, and the old one was replaced. However, i get this error
2006 Dec 05
1
A question on grid - grid.points not spaced properly
Hello, How can i 'fix' the following output. v=viewport(x=216/2, y=216/2,w=216, h=216,default.units = "bigpts") pushViewport(v) x=c(119,130,140,151) y=c(124,124,124,124) grid.points(x,y,size=unit(1,"bigpts"),default.units="bigpts",pch=".") grid.points(x-2,y,size=unit(1,"bigpts"),default.units="bigpts",pch=".")
2000 Jan 24
1
Can't access my samba server from Windows
...bin/nmbd nmbd The contents of the /opt/samba/lib/smb.conf file is as follows: [global] netbios name = HPSAPP05 workgroup = SWGDOM01 security = user [boss1] Comment = shared directory for group boss path = /INSTALL/boss1 writeable = yes valid users = @sapsys locking = yes create mode = 0660 directory mode = 0770 [homes] guest ok = no read only = no comment = UNIX home directory space path = %H writeable = yes valid users = %S create mode = 0600 Please note that the HP-UX server is running HP-UX 1...
2006 Apr 26
1
MacOSX package install problem: pkgs quadprog & tseries
I upgraded to R-2.2.1 on two PPC G5 computers today. Further I want to work with the tseries package for the first time. As root with R CMD INSTALL tseries_0.10-0.tar.gz I get the following gcc-3.3 -bundle -flat_namespace -undefined suppress -L/usr/local/lib - o tseries.so arma.o bdstest.o boot.o dsumsl.o garch.o ppsum.o tsutils.o -framework vecLib -L/usr/local/lib/gcc/powerpc-apple-
2007 May 31
1
A question regarding package development
Hi, I am writing a package which requires the ANN(Approx N.Neighbors) library (found here http://www.cs.umd.edu/~mount/ANN/). My package directory looks something like this atry/ atry/src/ann/ <--ann source is here atry/src/ann/include atry/src/ann/lib <--ann lib file is here atry/src/disp.cpp < my file which requires the ann lib The last file disp.cpp has the include line
2006 Apr 28
1
Installing the Mac RGUI for OS X
Hello, Having installed R 2.3 for OS X Tiger 10.4.6(PPC), i tried running the new R.app, but it hangs (spinning beachball). Moreover, i can't install the RGUI from within the R-2.3 DMG, - it tells me i must have R 10.4 installed ! (I have 10.4.6) R 2.3 runs successfully from the command line however. I tried compiling from sources, but Xcode has this error(i.e it can't locate
2007 Jul 10
1
How to preserve data across function calls in a library package
Hi, I am writing an R package with two functions in C++. So far everything works. Now, i would like to write a third function which would use a pointer (it is a pointer to a class object) created by first function. I tried placing this pointer outside of the function definitions (i.e to make it global) but when called in the 3rd function i get > *** caught bus error *** address 0x0,
2007 Jul 10
1
How to preserve data across function calls in a library package
Hi, I am writing an R package with two functions in C++. So far everything works. Now, i would like to write a third function which would use a pointer (it is a pointer to a class object) created by first function. I tried placing this pointer outside of the function definitions (i.e to make it global) but when called in the 3rd function i get > *** caught bus error *** address 0x0,
2007 Mar 11
0
Dyn.load and Unload problems
Hi, I am trying to modify the devX11.c source in the directory R-2.4.1/ src/modules/X11. Under OS X 10.4.9 running the R gui (R version 2.4.1) on a Powerbook, i type this and get the subsequent error. > dyn.unload("/Library/Frameworks/R.framework/Resources/modules/ppc/ R_X11.so") Error in dyn.unload(x) : dynamic/shared library '/Library/Frameworks/
2006 Apr 28
2
Building RGL for R-2.3 for Tiger 10.4.6 on PPC
Hi, I just installed R-2.3 for Tiger 10.4.6 on a PPC. However, though i successfully installed RGL on R.2.2, this time it doesn't compile. I get this error when trying the R INSTALL command In file included from Texture.hpp:14, from Material.hpp:5, from BBoxDeco.hpp:16, from BBoxDeco.cpp:1: opengl.hpp:22:19: error: GL/gl.h: No such
2007 Sep 29
1
Problem compiling R - "use of NULL environment is defunct"
Hello, I downloaded R-2.5.1 and configured it on a AMD x86-74 running Redhat. During compilation i get this error configure --prefix=$HOME/mine make mkdir -p -- ../../../../library/methods/libs make[5]: Leaving directory `/home/sguha/tmp/R-2.5.1/src/library/ methods/src' make[4]: Leaving directory `/home/sguha/tmp/R-2.5.1/src/library/ methods/src' make[4]: Entering directory