search for: rpeng

Displaying 20 results from an estimated 386 matches for "rpeng".

Did you mean: peng
2002 Aug 31
1
building r-devel on RedHat 7.1 with gcc 3.1.1
...but when I ran the configure with gcc 3.1.1 I got the following error: [...] checking whether gcc accepts -M for generating dependencies... yes checking whether gcc supports -c -o FILE.lo... yes checking how to get verbose linking output from g77... -v checking for Fortran 77 libraries... -L/home/rpeng/install/atlas -L/home/rpeng/install/gcc/lib/gcc-lib/i686-pc-linux-gnu/3.1.1 -L/home/rpeng/install/gcc/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/../../.. -lreadline -ldl -lncurses -lfrtbegin -lg2c -lm -lgcc_s checking for dummy main to link with Fortran 77 libraries... none checking for Fortran 77 name-ma...
2003 May 01
0
system.file() and .path.package() incorrect with package versions
...uot;session", "~/R-local/libs", installWithVers = TRUE) and > library(session, version = "1.0.1") without a problem. However, > system.file(package = "session") [1] "" but > system.file(package = "session_1.0.1") [1] "/home/rpeng/R-local/libs/session_1.0.1" which I kind of expected. Also, .path.package() produces: > .path.package() [1] "/home/rpeng/R-local/libs/session_1.0.1" [2] "/home/rpeng/install/R/lib/R/library/methods" [3] "/home/rpeng/install/R/lib/R/library/ctest" [4]...
2005 Mar 22
1
make install fails with makeinfo < 4.7
...out makeinfo >= 4.7, I get a warning about not being able to build HTML/Info help pages after running 'configure' (but 'make' runs smoothly and there are no errors). However, when I run 'make install' I get an error, something like make[2]: Entering directory `/home/rpeng/R-local/src/R-devel/doc/html' make[3]: Entering directory `/home/rpeng/R-local/src/R-devel/doc/manual' creating doc/html/resources.html make[3]: *** [../html/resources.html] Error 1 make[3]: Leaving directory `/home/rpeng/R-local/src/R-devel/doc/manual' installing doc/html ... make[3]:...
2003 Jan 08
0
New package: gpclib
...Not all features of Murta's library are implemented -- right now you can do intersections, differences, and unions. There are also functions for reading/writing from/to files and coercing between various data types. For some more details about the package see http://department.stat.ucla.edu/~rpeng/R/gpclib. Please send any comments, complaints, and bug reports to rpeng at stat.ucla.edu. Here is the DESCRIPTION file for the package: Package: gpclib Version: 1.0 Date: 1/6/2003 Depends: R (>= 1.6.1) Title: General Polygon Clipping Library for R Author: R interface by Roger D. Peng &...
2003 Jan 08
0
New package: gpclib
...Not all features of Murta's library are implemented -- right now you can do intersections, differences, and unions. There are also functions for reading/writing from/to files and coercing between various data types. For some more details about the package see http://department.stat.ucla.edu/~rpeng/R/gpclib. Please send any comments, complaints, and bug reports to rpeng at stat.ucla.edu. Here is the DESCRIPTION file for the package: Package: gpclib Version: 1.0 Date: 1/6/2003 Depends: R (>= 1.6.1) Title: General Polygon Clipping Library for R Author: R interface by Roger D. Peng &...
2002 Dec 30
2
Writing packages with `methods' package
...i.e. is it any different from building packages without `methods'?) or perhaps an R-help thread I should look for? In short, how should I setup my package so that my methods do not show up in the global workspace? Thanks, -roger _______________________________ UCLA Department of Statistics rpeng at stat.ucla.edu http://www.stat.ucla.edu/~rpeng
2004 Jun 23
1
problem with tilde expansion in install.packages
In R 1.9.0 on Solaris/Sparc when I run, for example, install.packages("gregmisc", "~/R-local/lib"), instead of installing the `gregmisc' package in the directory /users/student/rpeng/R-local/lib the package gets installed in /users/student/rpeng/\~/R-local/lib, so the directory \~ is created in my home directory. This doesn't happen to me on Linux or Windows so I thought it might not be an R problem. I realize I'm referring to an older version of R but I was wonder...
2004 Jun 11
3
Change in grep behavior from 1.9.0 to R-patched
I've noticed a change in the way grep() behaves between the 1.9.0 release and a recent R-patched. On 1.9.0 I get the following output: > x <- dget(file = url("http://www.biostat.jhsph.edu/~rpeng/names.R")) > length(grep("^l\\w+tmean", x, perl = TRUE, value = TRUE)) [1] 84 And on R-patched (2004-06-11) I get > x <- dget(file = url("http://www.biostat.jhsph.edu/~rpeng/names.R")) > length(grep("^l\\w+tmean", x, perl = TRUE, value = TRUE)) [1...
2003 Jan 13
2
Bug in boxplot(..., add=TRUE) ?
R 1.6.1 on Windows NT4: The boxplot() function appears to draw its own tick marks and axis values even when called with add=TRUE. As a toy example, try x <- rnorm(100) f <- factor(rep(1:4, each=25)) plot(c(0,4), c(-3,3), type="n", xaxt="n", yaxt="n") boxplot(x ~ f, add=TRUE) My expectation is that a high-level plotting function will not mess with the axes
2002 Feb 19
2
cdf of the standard normal distribution
Dear Experts, I need to calculate the cdf of the standard normal distribution, i.e. H(x) = 1/sqrt(2*pi) integral(exp(-z^2/2) dz), where z is b/w -infi to infi. I know there should be a way to do it in R, but did not know to do it. I'd appreciate any help you could offer. Charlie Liu Graduate student intern at EPA/ECO
2003 Jan 15
2
Contour Plots
r-help, I can't seem to get the below data organized in such a manner so as to generate a contour plot using any of the functions {lattice.contourplot, base.contour, base.filled.contour}. I was wondering if anyone could please tell me what I need to do to accomplish this. X,Y,Level -31.105,86.911,3843 -3.385,86.911,3896 24.335,86.911,3874 -24.175,79.700,3900 -3.385,79.700,3927
2003 Feb 11
2
geoR question from new R user
Hi, I'm a new R user. My goal is to do a variogram using geoR. I started by trying to do the example in the geoR Illustrative Session using my own data. I am able to read in my Ascii data using: D <- matrix(scan("file.dat", n=530*3), 530,3, byrow=TRUE). Then I use: as.geodata(D, coords.col=1:2, data.col=3) to make the object D geodata. I check the descriptive statistics,
2002 Jun 22
1
Does matmult exist?
...os mingw32 system i386, mingw32 status major 1 minor 5.1 year 2002 month 06 day 17 language R -roger _______________________________ UCLA Department of Statistics rpeng at stat.ucla.edu http://www.stat.ucla.edu/~rpeng -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body&quot...
2003 Jan 30
1
vector passed to `if' in `pgamma'
...major 1 minor 7.0 year 2003 month 01 day 29 language R -roger _______________________________ UCLA Department of Statistics rpeng@stat.ucla.edu http://www.stat.ucla.edu/~rpeng
2002 Aug 28
2
sourcing a file with the plot.lme() function
...os mingw32 system i386, mingw32 status major 1 minor 5.1 year 2002 month 06 day 17 language R -roger _______________________________ UCLA Department of Statistics rpeng at stat.ucla.edu http://www.stat.ucla.edu/~rpeng -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body&quot...
2002 Mar 11
2
gif, jpeg and png image files reader
Hi all, Although R seems to have jpeg() and png() functions that converts data into jpeg and png formated files, it doesn't have functions the other way around. Does one of R contributed packages have gif, jpeg and png image readers? I did help.search() but no luck Regards, Jonathan -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2003 Jan 16
7
X11 device now needs to be explicitly started?
_ platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 1 minor 6.2 year 2003 month 01 day 10 language R > Until this version, I've not had to explicitly start the x11 device. Now,
2008 Jul 31
2
C versions of serialize/unserialize in packages
...have a function in the 'filehash' package that unserializes a bunch of objects from a file and it seems to run much faster in C than in R. But I don't want to release something that uses a non-public function/interface. Thanks, -roger -- Roger D. Peng | http://www.biostat.jhsph.edu/~rpeng/
2004 Aug 31
1
file.info() on file larger than 2GB
...it seems to be foiling file.info(). When I run `stat' from the shell I get zooey:> stat data.csv File: `data.csv' Size: 2271197563 Blocks: 4440280 IO Block: 4096 regular file Device: 342h/834d Inode: 9994308 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 500/ rpeng) Gid: ( 500/ rpeng) Access: 2004-08-31 09:50:04.000000000 -0400 Modify: 2004-08-26 19:09:42.000000000 -0400 Change: 2004-08-31 09:53:29.000000000 -0400 But, file.info() in R-devel gives me: > file.info("data.csv") size isdir mode mtime ctime atime uid gid uname grname...
2008 Mar 18
4
cut.Date and cut.POSIXt problem
cut.Date and cut.POSIXt indicate that the breaks argument can be an integer followed by a space followed by "year", etc. but it seems the integer is ignored. For example, I assume that breaks = "3 months" is supposed to cut it into quarters but, in fact, it cuts it into months as if 3 had not been there. > d <- seq(Sys.Date(), length = 12, by = "month") >