similar to: new version of print.factor

Displaying 20 results from an estimated 5000 matches similar to: "new version of print.factor"

2002 Apr 22
2
could we add an argument to suppress printing of levels for print.factor()?
could we add an argument to suppress printing of levels for print.factor()? i.e.: print.factor <- function (x, quote = FALSE, print.levels = TRUE, ...) ## MODIFIED { if (length(x) <= 0) cat("factor(0)\n") else print(as.character(x), quote = quote, ...) if (print.levels) { ## ADDED cat("Levels:
2001 Nov 27
1
seek helppage. Possible clarification?
seek(zz,where=NewPosition) returns the OldPosition of connection zz (of the appropriate "pointer", i.e. read or write). Currently, the docs have: > Details: > > `seek' with `where = NA' returns the current byte offset of a > connection (from the beginning), and with a positive `where' > argument the connection is re-positioned (if possible) to
2000 Oct 17
3
"wizard" for building R-packages...
Suppose one wanted to build an R wizard for packaging... One would need to specify and create: package-name/ package-name/Description package-name/INDEX package-name/R/ package-name/man/ package-name/src/ >From this, we'd "probably" like to: - script-up the Description - provide a script for regenerating INDEX by calling out to the
2000 Nov 02
2
RSPerl...
Duncan - (but sent to R-devel, for any other thoughts?) How do you envision RSPerl being used? Without having seen the details, I can think of playing with strings; is there a preferred incantation for stringification of R objects (serialization)? (actually, the main problem I'm having is that I know how I want to code something like: Robject <-
2001 Jul 13
6
AnonCVS
Hi All, I would like to use anonymous cvs, but it appears not to be working (again?). There was a discussion back in Jan-Feb about whether to continue supporting it, but it seemed that Tony Rossini got it working and the discussion left off there. Did someone decide to disable it, or is it just not working properly? Here's the details: $ cvs -d
2000 Sep 04
1
quitting iESS[R] (R in ESS)
One thing that has driven me batty to no end is the fact that ESS doesn't handle R's "exit" well. Any thoughts as to the default? I'm thinking of something like: current: do what currently is done C-u Y C-c C-q : quit and save workspace C-u N C-c C-q : quit and don't save workspace. Comments? best, -tony -- A.J. Rossini Rsrch. Asst.
2003 Jan 21
1
bayesian text classification...
for Spam. In the process of setting up a more effective spam filtering system, I just noticed that bogofilter, which implements extensions of the (a?) "Naive Bayes" text classification approach, will dump out R data frames; the man page suggests how to "integrate" it with R for verification. (sort of, that is). Anyway, for those of you looking for silly and perhaps
2000 Dec 11
2
row.names, rownames; colnames, no col.names?
There's a bit of a symmetry issue, which may or may not be important (led to 15 seconds of confusion until I got my bearings straight): row.names, rownames; colnames, no col.names? I _NOW_ realize the difference between row.names and rownames, but is there any reason not to have col.names for re-naming columns in a data.frame? (if there is, I don't particular need to know it, but it
2000 Dec 06
1
Changes in R 1.2.0 devel?
After installing nlme_3.1-7.tar.gz under the latest R (1.2.0, via anonymous CVS), I'm unable to get it to work, i.e.: rossini 94 > /usr/local/bin/R R : Copyright 2000, The R Development Core Team Version 1.2.0 Under development (unstable) (2000-12-06) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type
2001 Nov 29
1
installing packages from CRAN, is this approach stupid?
In order to quickly install lots ("all") of CRAN packages on a nice new machine here, I did the following: install.packages(CRAN.packages()[,1]) 1. Is this sensible (other than the obvious, "who needs everything"?) 2. Should this be made easier to do (added as a possible option)? best, -tony -- A.J. Rossini Rsrch. Asst. Prof. of Biostatistics U. of Washington
2000 Nov 02
1
how to extract directory with HTML version of help pages?
Is there a simple way to determine at run-time the directory with HTML version of help pages? (to see where I'm heading here, if you've got w3 installed under (X)Emacs on Unix _or_ a Microsoft OS, do w3-find-file and load $(R_HOME)/library/html/whateverfunction.html It's slightly nicer than the standard ESS text-help. best, -tony -- A.J. Rossini Rsrch. Asst.
2000 Nov 01
1
Re: desiderata for data manipulation
> From: rossini@blindglobe.net (A.J. Rossini) > Date: 01 Nov 2000 07:47:21 -0800 [...] > Thanks for the pointer to stack/unstack -- now, having been reminded, > I think I'd seen these float through on the list (still doesn't solve > the missing modeling routines (parametric GLMMs, some of the > econometrics stuff -- does R _easily_ do 3SLS?), but they'll appear >
2002 Apr 10
0
programmatic installation
Okay, so I've got a set of directories containing unpacked R packages (unpacked, since for various sensible reasons, I'm editing them in warped ways). Supposing that these are in: /home/rossini/Runpacked I thought I could do something like: install.packages("MyUnPackedRPackage", # top package name lib="/home/rossini/lib/R", # where
2002 Aug 30
5
density() returns a density function that does not add up to 1
Dear R users, I ran into this curious problem: > d <- rnorm(100) > d.density <- density(d) > sum( d.density$x * d.density$y) [1] 2.517502 Admittedly the method of computing the mass under the density curve at line 3 is crude. But 2.5 is pretty far from 1, the value it should be. I tried a few other dataset and got similar result. Am I missing something obvious? Or is the return
2002 Jun 26
0
AW: sapply() and Monte Carlo
What about "Rtips" at http://lark.cc.ukans.edu/~pauljohn/R/statsRus.html ? Regards, Heinrich. > -----Urspr?ngliche Nachricht----- > Von: rossini at blindglobe.net [mailto:rossini at blindglobe.net] > Gesendet: Mittwoch, 26. Juni 2002 14:48 > An: r.hankin at auckland.ac.nz > Cc: r-help at stat.math.ethz.ch > Betreff: Re: [R] sapply() and Monte Carlo > > >
2000 Dec 08
0
LME and cat()
(please keep sebastian cc'd) Doug - we are managing to trigger, both on R 1.1.1 and R 1.2.0 (proper versions of NLME), the following: > warnings(model1) Warning message: Singular precision matrix in level -1, block 1 Error in cat(list(...), file, sep, fill, labels, append) : argument 2 not yet handled by cat > suggesting either an "inappropriate" use of cat(), or a
2002 Jul 02
4
XEmacs vs. GNU Emacs?
As a user of only R, I don't use much of the potential of ESS and Emacs. Without entering a religious feud, is there any reason I should use XEmacs rather than my current GNU Emacs? (I looked on the XEmacs site, but I didn't understand the programming issues they were talking about (over my head).) Martin Henry H. Stevens, Assistant Professor 338 Pearson Hall Botany Department Miami
2002 Feb 13
0
SJava still hates GUIs on Linux, both Blackdown and IBM... Can anyone verify IBM or Sun?
I've been having fun with crashes recently, both with Blackdown JDK and the IBM JDK, while building up the ROrca interface. It's just not stable for me, and my lack of grokking the intimate details of lazy evaluation is not helping. Brushing works, though, which is nice. I need a bit more stability before I get the "data add/change" features in line, though. Anyway, other
2001 Jul 26
0
marshalling/serializing of R objects for later execution?
I know that this was a topic in March at DSC, but I was suffering from a nasty migraine that prevented me from paying as much attention as I ought to. What's the current state-of-the-art regarding packaging/serialization of R objects? Or is it still vaporish (i.e. nothing built)? I'm a bit more interested in functions/closures than "ordinary data". best, -tony -- A.J.
2001 Apr 02
0
PICT files...
So, lots of comments about PICT. If you have to go there (EPS to PICT, but vectorized PICT for an investigator to use), does anyone have suggestions? I've found EPStoPICT (www.artage.com), any other thoughts? (these are real Mac people, so while I could go the WMF route, it's about as palatable as EPS). best, -tony -- A.J. Rossini Rsrch. Asst. Prof. of Biostatistics UW