I have NEWS, WISHLIST and THANKS files in the 'dyn' package
in the same directory as the DESCRIPTION file but I noticed that they
did not survive the move to CRAN, at least on Windows.
How do I incorporate them so that they are not omitted?
__
On 6/7/05, Robert Gentleman [EMAIL PROTECTED] wrote:
Robin Hankin wrote:
My 0.02:
I use Misc.Rd for the purpose that Duncan suggests. I put things like
details and rationale for package
organization, pointers to the most important function(s) in the
package, and perhaps function
Currently methods?e will look for the alias e-methods so perhaps package?e
could look for alias e-package.
On 6/7/05, Achim Zeileis [EMAIL PROTECTED] wrote:
On Tue, 7 Jun 2005 18:43:37 +0200 Martin Maechler wrote:
Duncan == Duncan Murdoch [EMAIL PROTECTED]
on Tue, 07 Jun 2005
On 6/7/05, Paul Murrell [EMAIL PROTECTED] wrote:
Hi
Gabor Grothendieck wrote:
On 6/6/05, Paul Murrell [EMAIL PROTECTED] wrote:
Hi
Gabor Grothendieck wrote:
On 6/2/05, Paul Murrell [EMAIL PROTECTED] wrote:
Hi
Thanks. I have mucked around in vpTree structures
Here is the code once again. This time I have supplied two
names methods and a getChildren.viewport function to
encapsulate the corresponding grid internals. It would
be easiest if grid provided these itself but in the absence
of that this does encapsulate dependencies on grid
internals to a
Murrell [EMAIL PROTECTED] wrote:
Hi
Gabor Grothendieck wrote:
On 6/7/05, Paul Murrell [EMAIL PROTECTED] wrote:
Hi
Gabor Grothendieck wrote:
On 6/6/05, Paul Murrell [EMAIL PROTECTED] wrote:
Hi
Gabor Grothendieck wrote:
On 6/2/05, Paul Murrell [EMAIL PROTECTED] wrote
the children in
the same order they are created or perhaps even some sort
of timestamp can be attached to objects to facilitate
later traversal.
On 6/7/05, Paul Murrell [EMAIL PROTECTED] wrote:
Hi
Gabor Grothendieck wrote:
Here is the code once again. This time I have supplied two
names
My understanding is that one could still build, install and distribute
a package that did not conform to this requirement but it would
fail R CMD CHECK. Thus as long as you don't want to place it
in a repository that requires a clean R CMD CHECK you are
under no obligation to do it. But if you
On 6/6/05, Paul Murrell [EMAIL PROTECTED] wrote:
Hi
Gabor Grothendieck wrote:
On 6/2/05, Paul Murrell [EMAIL PROTECTED] wrote:
Hi
Thanks. I have mucked around in vpTree structures and discovered its
actually quite easy to specify children so I have changed my example
so
If I issue the command
update.packages()
it wants to update 'gregmisc' but then if I do it again right afterwards it
still wants to update 'gregmisc'. It should have updated everything
the first time and should not be trying to update anything the second
time. Any comments?
Here is the
' has extra contents 'nnet' in: new.packages()
3: bundle 'gregmisc' is incompletely installed in: new.packages()
4: bundle 'gregmisc' has extra contents 'NA' in: new.packages()
On 6/6/05, Gabor Grothendieck [EMAIL PROTECTED] wrote:
If I issue the command
update.packages()
it wants to update
On 6/5/05, M. Edward (Ed) Borasky [EMAIL PROTECTED] wrote:
Duncan Murdoch wrote:
Of course, with disk sizes as they are now, it's not unreasonable to
install all of the contributed CRAN packages on a PC. Then
help.search() *will* do searches through them all.
Some of them are very
On 6/2/05, Paul Murrell [EMAIL PROTECTED] wrote:
Hi
Thanks. I have mucked around in vpTree structures and discovered its
actually quite easy to specify children so I have changed my example
so that instead of naming the children of 'layout' and then remembering
coordinates linked to the names
On 6/1/05, Paul Murrell [EMAIL PROTECTED] wrote:
Hi
Gabor Grothendieck wrote:
[moved from r-help to r-devel]
On 5/31/05, Paul Murrell [EMAIL PROTECTED] wrote:
# mm.row[j] gives the row in the layout of the jth cell
# mm.col[j] gives the col in the layout of the jth cell
On 6/1/05, Simon Urbanek [EMAIL PROTECTED] wrote:
On Jun 1, 2005, at 5:50 AM, (Ted Harding) wrote:
However, a query: Clearly from the above (ahich I can reproduce
too), tan() can distinguish between -0 and +0, and return different
results (otherwise 1/tan() would not return different
On 6/1/05, Paul Murrell [EMAIL PROTECTED] wrote:
Hi
Gabor Grothendieck wrote:
[moved from r-help to r-devel]
On 5/31/05, Paul Murrell [EMAIL PROTECTED] wrote:
# mm.row[j] gives the row in the layout of the jth cell
# mm.col[j] gives the col in the layout of the jth cell
Is there a way to specify a package dependency in the Depends:
field of the DESCRIPTION file for a specific patched version of a
specific OS?
For example, today's Windows patched release (2005-05-14) has
the capability of changing the time zone within R on Windows
via Sys.putenv(TZ=GMT) but
'lm' gives an error when using variables with spaces in them
in certain cases (but not all):
my.list - list(`a 1` = 1:4, `a 2` = 11:14)
lm(`a 1` ~ ., my.list) # Error : Object a.1 not found
# The following work ok so it does work in many cases:
lm(`a 1` ~ .,
There is one other problem with the coercion to data.frame.
terms.formula does not actually use the data contents, I think, so if it
did not coerce to a data frame it could handle unequal length
data in lists too.
On 09 May 2005 19:37:25 +0200, Peter Dalgaard [EMAIL PROTECTED] wrote:
Gabor
[.default is implemented in R as .subset. See ?.subset and note that
it begins with a dot. e.g. for the case where i and j are not missing:
[.lwdf - function(x, i, j) lapply(.subset(x,j), [, i)
On 5/8/05, Vadim Ogranovich [EMAIL PROTECTED] wrote:
Hi,
Encouraged by a tip from Simon
On 5/8/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
[Alexander Stoddard]
Subject: Re: [Rd] How to understand packages, namespaces, environments
Does saying the following load package 'foo' into its own
environment ?
library(foo)
[Duncan Murdoch]
This loads some of the
On 5/7/05, Vadim Ogranovich [EMAIL PROTECTED] wrote:
I tried to write the dim method for the list class, but R doesn't seem
to dispatch to it:
dim.list = function(x) c(length(x[[1]]), length(x))
dim(list(1))
NULL
dim.list(list(1))
[1] 1 1
What is the correct way of registering
Can anyone shed any light on what is going wrong here?
Its based on simplifying some actual code that exists in
model.frame.default. It looks like a bug to me. Thanks.
data(iris)
f.default - function(x, subset, ...) {
subset - eval(substitute(subset), iris, .GlobalEnv)
subset
}
# This one
to ensure uniquness
of the row names.
I'd really like to hear why you think it would be a bad idea to have
such a class.
Thanks,
Vadim
-Original Message-
From: Simon Urbanek [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 07, 2005 12:34 PM
To: Vadim Ogranovich
Cc: Gabor
Its probably obvious but just for completeness, I missed the
generic definition in pasting this into my post so I have
added it below:
On 5/7/05, Gabor Grothendieck [EMAIL PROTECTED] wrote:
Can anyone shed any light on what is going wrong here?
Its based on simplifying some actual code
On 5/5/05, Gabor Grothendieck [EMAIL PROTECTED] wrote:
On 5/4/05, Jeff Enos [EMAIL PROTECTED] wrote:
R-devel,
The performance of as.Date differs by a large degree between one of my
machines with glibc 2.3.2:
system.time(x - as.Date(rep(01-01-2005, 10), format = %m-%d-%Y))
[1
On 4/20/05, Thomas Lumley [EMAIL PROTECTED] wrote:
On Wed, 20 Apr 2005 [EMAIL PROTECTED] wrote:
I'm trying to manipulate/change a formula prior to passing it to another
function. A simplified example:
User passes formula to my function: y~x
My function does: lm(transform(y)~x)
On 4/21/05, Ali - [EMAIL PROTECTED] wrote:
- How to overload methods in classes created by R.oo package?
[snip]
Maybe you missed it in the flurry of messages, but did the idea suggested
by Gabor Grothendick not suit your needs?
I had to abstract the question in a setntence this time
On 4/21/05, Ali - [EMAIL PROTECTED] wrote:
f - function(...) UseMethod(f, NULL)
f.NULL - function(...) {
args - list(...)
classes - sapply(args, class)
.Class - paste(classes, collapse = .)
NextMethod(f, ...)
}
f.numeric - function(...) 2 * ..1
f.numeric.numeric -
On 4/20/05, Ali - [EMAIL PROTECTED] wrote:
(1) It seems to me that, generally, in R it is not possible to overload
functions. Is that right?
(2) Assuming that the above is true, or partially true, is there any extra
packages to handle overloading in R?
(3) Assuming (1) is TRUE and (2) is
On 4/17/05, Prof Brian Ripley [EMAIL PROTECTED] wrote:
These are some points stimulated by reading about C history (and
related in their implementation).
1) On some platforms
as.integer(0xA)
[1] 10
but not all (not on Solaris nor Windows). We do not define what is
allowed, and rely
Here is an example:
# read and print first 10 lines one by one
# the next two lines could be collapsed into con - file(myfile, r)
con - file(myfile)
open(con)
for(i in 1:10) print(readLines(con, n=1))
close(con)
Also its possible that you may not need open. For example,
one can just read it
On Apr 2, 2005 3:35 PM, Charles Geyer [EMAIL PROTECTED] wrote:
On Fri, Apr 01, 2005 at 05:04:23PM +0200, Dimitris Rizopoulos wrote:
if I understand well you want something like this:
y - rnorm(100)
p - rnorm(100)
x1 - rnorm(100)
x2 - rnorm(100)
x3 - rnorm(100)
nams - c(y, p,
Try this:
my.df - data.frame(a=1:10, b=11:20, c=21:30, d=31:40)
model.response(model.frame(cbind(a,b) ~ c+d, my.df))
a b
1 1 11
2 2 12
3 3 13
4 4 14
5 5 15
6 6 16
7 7 17
8 8 18
9 9 19
10 10 20
On Apr 1, 2005 2:31 AM, Charles Geyer [EMAIL PROTECTED] wrote:
I have a
On Apr 1, 2005 7:12 PM, Douglas Bates [EMAIL PROTECTED] wrote:
I would like to create a method for the generic function with applied
to a class of fitted models. The method should do two things:
1. Substitute the name of the first argument for '.' throughout the
expression
2. Evaluate
If I create a bivariate ts series with 3 time points and run
na.omit on it expecting it to reduce it to a one point ts series
instead I get the following error messasge:
R hh - ts(matrix(c(NA,1:4,NA),3), start = c(1951,8), freq=12)
R hh
Series 1 Series 2
Aug 1951 NA3
Sep
Until recently R 2.1.0 was called rw2010dev. I just visited
http://cran.r-project.org/bin/windows/base/rdevel.html
and noticed its now called rw2010alpha, not rw2010dev. I would like
to use it without downloading all the libraries over again.
Can I
- just rename my rw2010dev folder
maechler at stat.math.ethz.ch writes:
:
: David == David Forrest drf5n at maplepark.com
: on Tue, 22 Mar 2005 15:02:20 -0600 (CST) writes:
:
: David According to help(sub), the ^ should match the
: David zero-length string at the beginning of a string:
:
: yes, indeed.
:
:
Peter Dalgaard p.dalgaard at biostat.ku.dk writes:
:
: I bumped into the following situation:
:
: Browse[1] coef
: deg0NA deg4NA deg8NA deg0NP deg4NP deg8NP
: (Intercept)462510528492660762
: Browse[1] coef[,1]
: [1] 462
: Browse[1] coef[,1,drop=F]
:
See ?gctorture
Nawaaz Ahmed nawaaz at inktomi.com writes:
:
: Hi Folks,
: Thanks for all your replies and input. In particular, thanks Luke, for
: explaining what is happening under the covers. In retrospect, my example
: using save and load to demonstrate the problem I was having was a
:
Melanie Vida mvida at mac.com writes:
:
: In R, I'm imported a data frame of 2,321,123 by 4 called dataF.
: I converted the data frame dataF to a matrix
:
: dataM - as.matrix(dataF)
:
: Does R have an efficient routine to treat the special elements that
: contain inf in them. For example,
Paul Roebuck roebuck at odin.mdacc.tmc.edu writes:
Anyone aware of tools available that can provide complexity
metrics and/or code coverage analysis for R source?
I am not aware of anything but there are some code tools in
the codetools package. Do a google search for:
codetools Luke
Is it possible to create a package vignette without latex/sweave? I gather
that the %\VignetteIndexEntry and other \%Vignette... lines in the .Rnw
file provide the various vignette metadata but was just wondering
if latex/sweave are really hardwired into this or if its possible to
produce a
A.J. Rossini blindglobe at gmail.com writes:
:
: Greetings from Switzerland!
:
: Are there any plans/initiatives/considerations in future versions of R
: for commenting out regions via something like /**/ ?
You could use multiline character strings. Just need to watch
out for embedded
Gabor Grothendieck ggrothendieck at myway.com writes:
:
: Further searching also found it at:
:
: http://www.ctan.org/tex-archive/graphics/texdraw/manual/texi2dvi
:
: but its the UNIX shell script. I looked at it quickly and it
: probably would not be that hard to translate it into R (about
texify.exe and build
vignettes from the .tex file manually for now.
Gabor Grothendieck ggrothendieck at myway.com writes:
:
: That's interesting but its not in my tree. I downloaded it
: off the net (all 500MB+ !).
:
: Liaw, Andy andy_liaw at merck.com writes:
:
: :
: : I don't know the issue
From: Uwe Ligges [EMAIL PROTECTED]
Gabor Grothendieck wrote:
I noticed a shQuote fix for Windows in the svn logs.
Just wanted to point out that this will favorably
affect texi2dvi on Windows which previously used
UNIX quoting and so generated an incorrect Windows
command. (Note
I noticed a shQuote fix for Windows in the svn logs.
Just wanted to point out that this will favorably
affect texi2dvi on Windows which previously used
UNIX quoting and so generated an incorrect Windows
command. (Note that texi2dvi is used when creating
vignettes.)
Another problem is that the
My understanding is that David is not distributing dataload any more,
though
I would not like to discourage commercial vendors (such as providers of
Stat/Transfer and DBMSCOPY) from providing .rda output as an option. I
assume that new code written under GPL would not be a
According to the following Windows package building info:
http://www.murdoch-sutherland.com/Rtools/
fptex is easier to install with the R package building tools than
MikTex. I have been using MikTex but was thinking of switching
over to fptex to simplify my setup.
My concern is that I
Peter Dalgaard p.dalgaard at biostat.ku.dk writes:
:
: Gabor Grothendieck ggrothendieck at myway.com writes:
:
: Should the 'for' loop in the following example not return 3 rather than 2?
: The Language Manual says that it returns the result of the last evaluated
: statement and that would
From: Dirk Eddelbuettel [EMAIL PROTECTED]
I now have the package built in a chroot -- but at the price of setting
'LazyLoad: no' in DESCRIPTION.
I do not quite understand why that is needed. Can someone else help? I can
provide the following pointers for its-1.0.4
I have had
Should the 'for' loop in the following example not return 3 rather than 2?
The Language Manual says that it returns the result of the last evaluated
statement and that would be the i before the 'break'. 'repeat' and 'while'
have the same behavior.
R (for(i in 1:10) if (i==3) { i; break } else
In
http://cran.r-project.org/bin/windows/base/CHANGES.rw2010dev
there is a reference to the setting of a HOME environment
variable on Windows:
R CMD / Rcmd now set HOME if unset, e.g. for use in Rcmd check.
Was this intended to be R_HOME? Also, I don't understand the comment.
Could someone
Gabor Grothendieck ggrothendieck at myway.com writes:
:
: Can someone verify whether or not this is a bug.
:
: When I substitute all occurrence of \\B with X
: R seems to correctly place an X at all non-word boundaries
: (whether or not I specify perl) but \\b does not seem to
: act on all
Warnes, Gregory R gregory.r.warnes at pfizer.com writes:
:
: I'm also glad to see this features go into the standard packages.
:
: I think that it may be worthwhile to regularly 'nominate' features/functions
: present in other packages for 'promotion' into the standard R packages.
That's a
Don't know the answer to your question but note
that chron can do it without by=.
xD - as.Date(1996-01-01)
yD - as.Date(1996-12-01)
library(chron)
xc - chron(xD)
yc - chron(yD)
seq(xc, yc)
# Also one can do this in either chron or Date:
chron(xc:yc)
as.Date(xD:yD)
Date: Fri, 3 Dec 2004
+ 0.001), class = Date)
as.Date.integer - function (x, ...)
structure(x, class = Date)
Date: Fri, 3 Dec 2004 21:42:37 -0500 (EST)
From: Gabor Grothendieck [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: [Rd] seq.Date requires by
Don't know the answer
epurdom at stanford.edu writes:
:
: Full_Name: Elizabeth Purdom
: Version: 1.9.1
: OS: Windows XP
: Submission from: (NULL) (171.64.102.199)
:
: It would be nice if legend had the option of some default locations you could
: choose instead of entering specific coordinates, like topleft,
:
Can someone verify whether or not this is a bug.
When I substitute all occurrence of \\B with X
R seems to correctly place an X at all non-word boundaries
(whether or not I specify perl) but \\b does not seem to
act on all complement positions:
gsub(\\b, X, abc def) # nothing done
[1] abc def
From: Martin Maechler [EMAIL PROTECTED]
Duncan == Duncan Murdoch [EMAIL PROTECTED]
on Sun, 28 Nov 2004 10:25:24 -0500 writes:
Duncan
Duncan
Duncan We already have code to source() from the clipboard, and it could
Duncan address the problems above, but:
Eric Lecoutre lecoutre at stat.ucl.ac.be writes:
:
: Hi,
:
: If I define the following list:
:
: (l-list(text-align=right))
: $text-align
: [1] right
:
: I know that I can't use l$text-align, as the parser will find a '-'
operation.
: If I want (need) to use special names, as text-align, I
Gabor Grothendieck ggrothendieck at myway.com writes:
:
: Eric Lecoutre lecoutre at stat.ucl.ac.be writes:
:
: :
: : Hi,
: :
: : If I define the following list:
: :
: : (l-list(text-align=right))
: : $text-align
: : [1] right
: :
: : I know that I can't use l$text-align, as the parser
I have Windows XP build scripts that look for R in a variety
of folders and if multiple ones are found, takes the last
one. For example, I currently have the following
in \Program Files\R :
rw1060
rw1062
rw1071
rw1071beta
rw1081
rw1090
Peter Dalgaard p.dalgaard at biostat.ku.dk writes:
:
: Gabor Grothendieck ggrothendieck at myway.com writes:
:
: : rw2010a - alpha, i.e. development version (previously rw2010dev)
: : rw2010b - beta version (previously rw2001beta)
: : rw2010f - final version (previously rw2010
Duncan Murdoch murdoch at stats.uwo.ca writes:
:
: On Sun, 28 Nov 2004 21:11:15 + (UTC), Gabor Grothendieck
: ggrothendieck at myway.com wrote:
:
: Renaming is not really workable if you are giving your scripts to others.
: They won't want build scripts that rename their folders
Gabor Grothendieck ggrothendieck at myway.com writes:
Simon Urbanek simon.urbanek at math.uni-augsburg.de writes:
: If all you want to do is to determine the current (most recently
: installed) R version, then all it takes is two lines of C code [just
: read one registry entry
at stat.math.ethz.ch
: [mailto:r-devel-bounces at stat.math.ethz.ch] On Behalf Of Gabor
: Grothendieck
: Sent: Thursday, November 25, 2004 7:42 PM
: To: r-devel at stat.math.ethz.ch
: Subject: Re: [Rd] Lightweight data frame class
:
: Vadim Ogranovich vograno at evafunds.com writes:
:
: :
: : Hi
Henrik Bengtsson hb at maths.lth.se writes:
:
: -Original Message-
: From: r-devel-bounces at stat.math.ethz.ch
: [mailto:r-devel-bounces at stat.math.ethz.ch] On Behalf Of
: Mark.Bravington at csiro.au
: Sent: Wednesday, November 24, 2004 1:43 AM
: To: hb at maths.lth.se
: Cc:
Peter Dalgaard p.dalgaard at biostat.ku.dk writes:
:
: Gabor Grothendieck ggrothendieck at myway.com writes:
:
: : I am curious though, do you not run into problems by setting and getting
: : attributes on environment in 'mvbutils'? The example of John Chambers I
: : re-posted, which shows
with more normal
: : semantics. Perhaps we should consider doing likewise with
: : environments?
:
: Gabor Grothendieck ggrothendieck at myway.com writes:
: To me that would make sense in keeping the rules of the language
: more consistent. The mvbutils example suggests that it also has
Vadim Ogranovich vograno at evafunds.com writes:
:
: Hi,
:
: As far as I can tell data.frame class adds two features to those of
: lists:
: * matrix structure via [,] and [,]- operators (well, I know these are
: actually [(i, j, ...), not [,]).
: * row names attribute.
:
: It seems that the
Eric Lecoutre lecoutre at stat.ucl.ac.be writes:
: 6. Final point has already been discussed in the past. It is about misc
: packages and pieces of code. I propose the creation of 5 packages:
: - miscGraphics (keywords: misc, Graphics)
: - miscStatistics (keywords: misc, Statistics)
Eric Lecoutre lecoutre at stat.ucl.ac.be writes:
:
: At 15:06 24/11/2004, Gabor Grothendieck wrote:
: Eric Lecoutre lecoutre at stat.ucl.ac.be writes:
:
: : 6. Final point has already been discussed in the past. It is about misc
: : packages and pieces of code. I propose the creation of 5
Gabor Grothendieck ggrothendieck at myway.com writes:
Duncan Murdoch murdoch at stats.uwo.ca writes:
:
: On Sat, 20 Nov 2004 03:47:50 + (UTC), Gabor Grothendieck
: ggrothendieck at myway.com wrote:
:
: Duncan Murdoch murdoch at stats.uwo.ca writes:
:
:
: On Sat, 20 Nov 2004
Duncan Murdoch murdoch at stats.uwo.ca writes:
:
: On Mon, 22 Nov 2004 01:54:53 + (UTC), Gabor Grothendieck
: ggrothendieck at myway.com wrote:
:
: Assuming that the behavior of the R CMD commands is changed
: so that they respect .Rbuildignore but that no flag or
: switch is immediately
Juan Santiago Ramseyer juan_sr at uol.com.br writes:
:
: strptime return wrong data?, look the R session.
:
: # datetxt: vector of date in text format
: datetxt - c(1939-Oct-06 00:00:00, 1939-Oct-07 00:00:00,
:1939-Oct-08 00:00:00, 1939-Oct-09 00:00:00)
:
: datehour -
Duncan Murdoch murdoch at stats.uwo.ca writes:
:
: On Thu, 18 Nov 2004 19:32:25 +0100, Martin Maechler
: maechler at stat.math.ethz.ch wrote:
:
: Duncan == Duncan Murdoch murdoch at stats.uwo.ca
: on Thu, 18 Nov 2004 16:36:03 +0100 (CET) writes:
:
: Duncan On Thu, 18 Nov 2004
Duncan Murdoch murdoch at stats.uwo.ca writes:
On Sat, 20 Nov 2004 00:39:17 + (UTC), Gabor Grothendieck
ggrothendieck at myway.com wrote:
: Even with this change, Rcmd check is still going to install the files
: it's supposed to ignore, because it uses Rcmd INSTALL, and there's
Duncan Murdoch murdoch at stats.uwo.ca writes:
:
: On Sat, 20 Nov 2004 03:47:50 + (UTC), Gabor Grothendieck
: ggrothendieck at myway.com wrote:
:
: Duncan Murdoch murdoch at stats.uwo.ca writes:
:
:
: On Sat, 20 Nov 2004 00:39:17 + (UTC), Gabor Grothendieck
: ggrothendieck
murdoch at stats.uwo.ca writes:
:
: On Thu, 18 Nov 2004 00:38:47 + (UTC), Gabor Grothendieck
: ggrothendieck at myway.com wrote :
:
: DIFFERENCE BETWEEN USING .RBUILDIGNORE AND NOT
:
: The reason that the processing is different according to whether one
: uses .Rbuildignore
Witold Eryk Wolski [EMAIL PROTECTED] writes:
:
: Hi R-Users and Developers,
:
: Several months ago I made a request on Sourceforge to add the R/S -
: programming language to the _Trove_ categorization. (The Trove is a
: means to convey basic metainformation about your project.)
It might be
I have some questions about building packages in Windows
when using .Rbuildignore . The part of the process that
is of interest here is the part that creates the source
tree from the tree that contains the .Rbuildignore file.
That is, the part of the process that does a build of
the original
Duncan Murdoch murdoch at stats.uwo.ca writes:
:
: On Wed, 17 Nov 2004 18:10:20 + (UTC), Gabor Grothendieck
: ggrothendieck at myway.com wrote :
:
:
: I have some questions about building packages in Windows
: when using .Rbuildignore . The part of the process that
: is of interest here
Duncan Murdoch murdoch at stats.uwo.ca writes:
On Wed, 17 Nov 2004 20:44:48 + (UTC), Gabor Grothendieck
ggrothendieck at myway.com wrote :
If one does not use .Rbuildignore then with a pure R package
one can run off the original source files, in this case
in /wherever/mypkg, like
build --binary mypkg if you need to distribute the package in
: binary form.
:
: HTH,
: Andy
:
: From: Gabor Grothendieck
:
: I have some questions about
:
: 1. nomenclature,
: 2. recommended file locations and
: 3. overall procedure related to creating packages
Prof Brian Ripley ripley at stats.ox.ac.uk writes:
: That you are getting FIND not `find' suggests that you have not followed
: the instructions in README.packages correctly. Please ensure you have
: followed
When I had this problem I found I had to put the path to the UNIX-like
tools ahead of
I have some questions about
1. nomenclature,
2. recommended file locations and
3. overall procedure related to creating packages.
To the extent that it matters, examples here relate to Windows XP
R 2.0.1 beta.
The questions are interspersed and prefaced with ***.
My
Vadim Ogranovich vograno at evafunds.com writes:
:
: Hi,
:
: It seems that a formal function argument can not default to an outer
: variable of the same name:
:
: x - foo
: ff - function(x=x) x
: ff()
: Error in ff() : recursive default argument reference
:
:
: Is this intentional? Why?
Uwe Ligges ligges at statistik.uni-dortmund.de writes:
:
: Gabor Grothendieck wrote:
:
: When I do a
:
:R CMD build --binary
:
: then I get the messages at the end of this post unless I specify
:
:LazyLoad: no
:
: in the DESCRIPRION file. If I do
I have collected together some wishlist items from my
recent experience in package building. Some of these
are also in other posts but I thought I would put them
in one place. This all refers to Windows XP R 2.0.1 beta.
1. Would it be possible to put the whole package building
process into R,
Prof Brian Ripley ripley at stats.ox.ac.uk writes:
: install/update.packages() in R-devel has been enhanced in a few ways,
: notably to handle multiple repositories, and to allow packages to be
: reinstalled under the current version of R.
The change to updating that I would like would be to
Gabor Grothendieck ggrothendieck at myway.com writes:
:
: Prof Brian Ripley ripley at stats.ox.ac.uk writes:
:
: : install/update.packages() in R-devel has been enhanced in a few ways,
: : notably to handle multiple repositories, and to allow packages to be
: : reinstalled under the current
Liaw, Andy andy_liaw at merck.com writes:
Gabor,
I guess is that you did not try to run R CMD INSTALL before R CMD check. R
CMD check will try to install the package first (in pkg.Rcheck), and only if
that's successful would checks be done.
The installation process will concatenate
I have question regarding package installation.
What is the difference between check, INSTALL, build and
build --binary, which imply which and what order does one
normally perform them? I have been trying:
R CMD build /mypackage
R CMD check /mypackage
R CMD build --binary /mypackage
in that
Liaw, Andy andy_liaw at merck.com writes:
:
: From: Gabor Grothendieck
:
: I have question regarding package installation.
:
: What is the difference between check, INSTALL, build and
: build --binary, which imply which and what order does one
: normally perform them? I have been
When I do a
R CMD build --binary
then I get the messages at the end of this post unless I specify
LazyLoad: no
in the DESCRIPRION file. If I do that then everything
proceeds smoothly. R CMD check proceeds smoothly in
either case. Is there something I should be aware
of that
This is a wish list item.
It would be nice if one could use \0 or \ in sub and
gsub as in vi:
gsub(an, :\\:, banana)
One can, of course, write the following right now:
gsub((an), :\\1:, banana)
But often the this is within a function and the an
is passed which means that one
I was running R CMD check on Windows XP 2.0.1beta and
got this:
Error in parse(file, n, text, prompt) : syntax error on 602
After a lot of aggravation I finally discovered that if I did
this:
copy *.R allofthem.R
and checked line 602 in allofthem.R that I could find the error.
I noticed that
Peter Dalgaard p.dalgaard at biostat.ku.dk writes:
: We plan to a patch release on Nov.15 to fix up various problems that
: cropped up after the release of R 2.0.0. Daily beta snapshots will be
: made available until the day of release.
:
: Please check if your favourite bugs have been fixed
1 - 100 of 138 matches
Mail list logo