similar to: running example() (was RE: Output from examples in help files )

Displaying 20 results from an estimated 20000 matches similar to: "running example() (was RE: Output from examples in help files )"

2002 Jun 18
1
can't find array overruns (was: help debugging segfaults)
Dear R-devel, Last week I got several responses to my question about debugging segfaults in my code (original post below). After I changed the S_alloc() calls to Calloc()/Free(), the symptom was gone, but I was told to keep looking. So I did: o Switched to Calloc/Free. Electric Fence did not find any problem. o Put assert(index < bound); assert(index >=0); everywhere in the C routine
2002 May 12
0
still trouble (RE: Compiling R-1.5.0 failed on AIX4.3)
Dear R-help, I deleted `methods' from the list of packages in Makeconf.in and was able to get through the compilation. However, `make check' fails, and R seems to have trouble loading share libs. When starting R, it complained about not finding the X libs and quits. If I specify --gui=none, then it starts but complains about not being able to load the shared lib for `ctest'.
2004 May 15
0
" cannot allocate vector of length 1072693248"
Andy; Well, that about does it.... I'm copying this one back to the list for the benefit of those who may hit this thread while searching the archives. Your changes to the code run just fine on the my Windows machine, but gives the vector length error on the G4 whether I'm using the OS X build of R (as in Raqua) or the X11 build (for Darwin). It is worth noting that I have nearly twice
2003 May 09
3
Re: R-help Digest, Vol 2, Issue 26
With the same system configuration (WinNT4 SP6 and 1.7.0), I get such a Dr Watson crash each time I try to use the Change dir... command in the File menu of Rgui.exe. I doesn't seems to happen if I do this immediately after starting R but well if I already did some computation. I don't have any problem by using directly setwd(). At 12:10 23/04/03, you wrote: >Date: Tue, 22 Apr 2003
2002 Oct 04
1
items in Rd file
Dear R-devel, I'm encountering a strange problem in a Rd file that I'm working on. In the "Value" section, I have something like: ===================== \value{ An object of class \code{randomForest}, which is a list with the following components: \item{call}{the original call to \code{randomForest}} ... For classification problem, the following are also included:
2002 Jun 06
0
Thanks and Summary (was par(new=T) with xyplot)
Thanks very much to Paul Murrell and Frank Harrell for addressing my original query (repeated at end of this note). Paul's helpful suggestion with print.trellis and its more= argument, followed by trellis settings, works precisely as I needed. > # snipped from Paul's reply: > p1 <- xyplot(y ~ x, ylim=c(-5, 5)) > p2 <- xyplot(y2 ~ x, pch=16, ylim=c(-5, 5), ylab="
2002 Jul 17
1
Output and history
> From: Peter Dalgaard BSA [mailto:p.dalgaard at biostat.ku.dk] > > Daniel Mastropietro <mastropi at uwalumni.com> writes: > > > Hello, > > > > I have the following two questions, rergarding: > > > > (Output) > > 1) Is it possible to have the output of a command automatically > > displayed, without explicitly requesting it after the
2003 Jun 16
1
Problem when making refman.pdf on WinXP (R 1.7.1)
Dear R-help, Can some one tell me what could be the problem? I downloaded the R-1.7.1 source and try to compile it on WinXP. "make", "make bitmapdll", "make tcl", "make recommended" all ran w/o problem. However, when I ran "make docs", it failed at creating refman.pdf, with no apparent error that I could see. I have attached the log file
2002 Apr 19
1
trouble with tcltk (was RE: trouble compiling R on Irix )
Thanks to Peter Dalgaard and Suchandra Thapa for answering my question! Before I settle on a particular option, I'd like to ask one more question if I may: Are there any practical advantages to compiling R to 64-bit vs 32-bit? Regards, Andy > -----Original Message----- > From: Peter Dalgaard BSA [mailto:p.dalgaard at biostat.ku.dk] > Sent: Thursday, April 18, 2002 4:19 PM > To:
2002 Jun 13
3
[R] help debugging segfaults
Hi all, Thanks to Prof. Ripley, Prof. Gentleman, and Simon Wood (did I miss anyone?). The problem seemed to have gone away. Everyone suggested using some malloc debugger (such as Electric Fence). All I did was following half of what BDR suggested below, i.e., changing all the S_alloc() calls to Calloc() and Free(). I didn't get to try efence, and the problem seems to have disappeared! As
2002 May 02
1
Re: help.start() problem with netscape 6.2.2 (was: R 1.5. 0 RPM's for Mandrake)
> From: mikalzet at libero.it [mailto:mikalzet at libero.it] > > On Thu, 2 May 2002, Liaw, Andy wrote: > > > I've installed Netscape 6.2.2 on Mdk82, but have not had > much luck with > > help.start() (R-1.5.0 compiled from source). > > > > When I do help.start(), it just starts up netscape with the > default home > > page, rather than the R
2002 Sep 27
0
RE: new patched version of randomForest
The link from http://cran.r-project.org/src/contrib/PACKAGES.html#randomForest seems to be broken. To get the file try http://cran.r-project.org/src/contrib/randomForest_3.3-4.tar.gz instead. > -----Original Message----- > From: Liaw, Andy [mailto:andy_liaw at merck.com] > Sent: Thursday, September 26, 2002 8:08 PM > To: 'r-announce at stat.math.ethz.ch' > Subject:
2003 Aug 13
0
re: two dimentional hierarchical clustering algorithm
Dear Dr. Liaw Andy: I have a few more questions about your heatmap function. actually heatmap is what I am looking for. heatmap(x, Rowv, Colv, distfun = dist, hclustfun = hclust, add.expr, scale=c("row", "column", "none"), na.rm = TRUE, ...) my data is a XNEW, > dim(XNEW) [1] 554 335 554 genes, 335 samples. now I want to use 1-CORR as a distance
2002 Dec 03
1
Plotting Speed: R vs Octave
Thank you. Guess it's a plausible explanation. > -----Original Message----- > From: Liaw, Andy [mailto:andy_liaw at merck.com] > Sent: Tuesday, December 03, 2002 08:05 AM > To: 'Chunlou Yung' > Subject: RE: [R] Plotting Speed: R vs Octave > > > If I'm not mistaken, Octave does not have its own graphics system, but > rather rely on gnuplot, which is
2003 Apr 23
1
changing dir to network drive in Rgui caused crash (1.7.0)
Dear R-help, Has anyone experienced similar problem? On WinNT4(sp6), running Rgui from 1.7.0, when try to change directory to some network drive using the "File / Change dir..." menu, Rgui gets a visit by Dr. Watson. If I first change dir to a local drive, then again to a network drive, it works fine. It also works fine with setwd() from the command prompt. Best, Andy Andy I. Liaw,
2002 Apr 11
2
time (or output of function) in the R prompt
Dear R-help, Would it be possible to have the "prompt" option accept a function, such as date()? This way, I can easily deduce the elapse time of top level R expressions. This would be similar to how Unix shells handle their prompt variables. Cheers, Andy ------------------------------------------------------------------------------ Notice: This e-mail message, together with any
2003 Aug 15
6
plot.lm mislabels points with na.exclude (PR#3750)
R 1.7.1 on Windows XP The "normal Q-Q plot" produced by plot.lm() mislabels points when the model is fitted using na.action=na.exclude. Example: x <- 1:50 y <- x + rnorm(50) y[c(5,10,15)] <- NA # insert some NA's y[40] <- 50 # add an outlier plot(lm(y ~ x, na.action=na.omit)) # outlier correctly labeled in all # four plots
2005 Mar 14
0
fixed/ initialising trellis device {lattice}/ postscript
Thanks Andy out<- xyplot(....) print(out) did the trick nicely. Sam ---- Sam McClatchie, Biological oceanography South Australian Aquatic Sciences Centre PO Box 120, Henley Beach 5022 Adelaide, South Australia email <mcclatchie.sam at saugov.sa.gov.au> Telephone: (61-8) 8207 5448 FAX: (61-8) 8200 2481 Research home page <http://www.members.iinet.net.au/~s.mcclatchie/>
2002 Apr 18
1
trouble with tcltk (was RE: trouble compiling R on Irix)
Hi, Thanks to Profs. Ripley and Tierney for their tips, I compiled zlib from source and gotten further. Here's where I get stuck, when it tries to compile the tcltk package: ld32: FATAL 12 : Expecting n32 objects: /usr/local/lib/libtcl8.3.so is n64. Now I'm confused. Sounds like 32-bit vs. 64-bit problem. What can I do at this point? (This is on Irix.) Regards, Andy
2002 Sep 06
1
printing from windows() device when running R under ESS
Sorry for the cross-post: not sure whether it's Rterm or ESS (or something else?)... I'm running R (1.5.0 patched 2002-05-09, compiled from source on WinNT4) under ESS 5.1.21 with XEmacs 21.4.6. When I plotted a graph on the windows() device, and then use the menu in the R graphics window to print the graph, the printer selection dialog box does not show up until I go to the *R* buffer