Displaying 20 results from an estimated 5000 matches similar to: "installing packages from CRAN, is this approach stupid?"
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
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 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 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.
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
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
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
2001 Apr 24
0
Mac and Excel
Not having a Mac in front of me, but having a consultee with one, I
pose the following question:
Is there an easy way to transfer a Mac excel data set (columns, etc)
into R (only on a Mac)?
Verified existence of such a thing would be great; I've been uncertain
as to the best way to get data in/out of R (on the mac, of course).
An actual algorithm/procedure would be met with great rejoicing.
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.
2002 Jun 19
1
new version of print.factor
Thanks to Tony Plate for letting me know what the abbreviate.arg
option does. I think this could be made more flexible (I.e.
=TRUE, =FALSE, =#, where # would be passed to the abbreviate
min.length argument). But it follows the example I was given.
"print.factor" <-
function (x, quote = FALSE, max.levels=5, print.levels = {if
(max.levels==0) FALSE else TRUE},
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
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:
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
2000 Dec 19
1
Re: ESS for R
>>>>> "BR" == B Rowlingson <B.Rowlingson at lancaster.ac.uk> writes:
>> Could you check and see if the variable is global or
>> buffer-local? ("C-h v ess-dump-filename-template" should do
>> it).
BR> ess-dump-filename-template's value is "rowlings.%s.S" Local in
BR> buffer *S+5*; global value is
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 <-
2000 Aug 11
0
Emacs Speaks Statistics (ESS) BOF at JSM
>
> Date: Fri, 11 Aug 2000 15:34:01 -0400
> From: Rodney Sparapani <rodney at stat.duke.edu>
> Subject: Emacs Speaks Statistics (ESS) BOF at JSM
>
> Statisticians:
>
> For those of you going to the JSM in Indy next week, we are having an
> Emacs Speaks Statistics (ESS) BOF Monday, August 14th, 5:30 at the Hyatt
> in Salon A. Please bring along your comments,
2000 Jul 03
0
Re: R help
(cc'ing R-devel as well).
>>>>> "RH" == Rich Heiberger <rmh@surfer.sbm.temple.edu> writes:
RH> using Mx-R on ntemacs, when I type
RH> help(lm)
RH> I get an emacs *help[R](lm)* buffer with "^M" on each line. I
RH> tried a few ways to make them go away and none worked.
RH> When I tried help.start() then internet