On Thu, Apr 23, 2009 at 3:08 PM, Dirk Eddelbuettel e...@debian.org wrote:
(Subject: renamed as thread hijacked from the ParallelR thread --Dirk)
On 23 April 2009 at 14:44, Gabor Grothendieck wrote:
| Aside from R there are the add-on packages.
|
| A frequency table showing the licenses
file LICENSE
tlnise
file LICENSE
2009/4/23 Dirk Eddelbuettel e...@debian.org:
On 23 April 2009 at 15:32, Gabor Grothendieck wrote:
| On Thu, Apr 23, 2009 at 3:08 PM, Dirk Eddelbuettel e
, Dirk Eddelbuettel wrote:
On 23 April 2009 at 15:32, Gabor Grothendieck wrote:
| On Thu, Apr 23, 2009 at 3:08 PM, Dirk Eddelbuettel e...@debian.org
wrote:
|
| (Subject: renamed as thread hijacked from the ParallelR thread
--Dirk)
|
| On 23 April 2009 at 14:44, Gabor Grothendieck wrote
On Thu, Apr 23, 2009 at 4:59 PM, Ben Goodrich goodr...@fas.harvard.edu wrote:
Dirk Eddelbuettel edd at debian.org writes:
As a non-exhautive list with possible misclassifications, cran2deb currently
has these packasges as 'maybe not free' and does not build them:
On Thu, Apr 23, 2009 at 8:54 PM, Ted Harding
ted.hard...@manchester.ac.uk wrote:
On 23-Apr-09 22:21:45, Ian Fellows wrote:
Assuming that the foundation does not want to deviate from the
FSF interpretation, there would still be value in clarifying its
position vis-à-vis how the license applies
Not sure if this is sufficient for your needs but R does include symbolic
differentiation, see ?D, and the Ryacas and rSymPy
packages interface R to the yacas and sympy computer algebra
systems (CAS) and those system include symbolic differentiation.
http://ryacas.googlecode.com
For reshape(dir = long, varying = list(...), ...)
it would be convenient if the names of the varying
list, if supplied, were used as the default v.names.
Currently they are ignored.
Thus one would be able to write:
# test data frame
d - structure(list(V.1 = 1:10, V.2 = c(1L, 1L, 1L, 1L, 1L, 2L,
We need to make sure we understand the implications
for packages developed under the other major version
control systems like git, bzr and hg.
On Tue, Mar 31, 2009 at 10:41 AM, Peter Ruckdeschel
peter.ruckdesc...@web.de wrote:
Hi,
just a little wish :
Could we have one (or maybe more)
Look at the zzz.R file in the lattice package and the .LatticeEnv
variable in particular.
Also, when running lattice try this and look for .LatticeEnv in the output:
ls(asNamespace(lattice), all = TRUE)
On Tue, Mar 31, 2009 at 11:45 AM, Whit Armstrong
armstrong.w...@gmail.com wrote:
for the
On Tue, Mar 24, 2009 at 7:07 AM, Duncan Murdoch murd...@stats.uwo.ca wrote:
On 24/03/2009 12:44 AM, Kenneth Roy Cabrera Torres wrote:
Hi R developers and debian users:
Finally I found how to work with aggregate() function
on the last patched version fo R.
I you use this command it fails:
It looks to be a bug. Here is the code and notice that ... is passed to
plot (which plots the first series) but not to lines (which plots the rest):
if (!add) {
ii - ii[-1]
plot(x[, 1], y[, 1], type = type[1], xlab = xlab, ylab = ylab,
xlim = xlim, ylim = ylim,
In addition to the work Luke is doing there is Ra:
http://www.milbo.users.sonic.net/ra
On Sun, Mar 15, 2009 at 11:25 AM, Florian Gross florian.s.gr...@web.de wrote:
Hi everybody,
I'm currently working towards my Master's degree as a student of Computer
Science at the University of
Why? Can you demonstrate any situations where its useful? Despite
having my own facility for this I've found that over the years I
have never used it.
On Sat, Mar 7, 2009 at 9:23 AM, ivo...@gmail.com wrote:
Gentlemen---these are all very clever workarounds, but please forgive me for
voicing
()
again, its syntax sugar. I would find such syntax a whole lot more
appealing. and I often write functions that pass back a main program,
but also some debug or other information. maybe I am the only one...
regards,
/iaw
On Sat, Mar 7, 2009 at 9:28 AM, Gabor Grothendieck
ggrothendi
On Sat, Mar 7, 2009 at 10:26 AM, Wacek Kusnierczyk
waclaw.marcin.kusnierc...@idi.ntnu.no wrote:
ivo...@gmail.com wrote:
Gentlemen---these are all very clever workarounds,
hacks around the lack of a feature
but please forgive me for voicing my own opinion: IMHO, returning
multiple values in
On Sat, Mar 7, 2009 at 11:37 AM, Wacek Kusnierczyk
waclaw.marcin.kusnierc...@idi.ntnu.no wrote:
Gabor Grothendieck wrote:
as gabor says in another post, you probably should first show why having
multiple value returns would be useful in r. however, i don't think
there are good
I posted this a few years ago (but found I never really had a
need for it):
http://tolstoy.newcastle.edu.au/R/help/04/06/1430.html
On Thu, Mar 5, 2009 at 9:22 AM, ivo welch ivo...@gmail.com wrote:
dear R developers: it is of course easy for a third party to make
suggestions if this third
Perhaps you could just place the output in comments.
print(5) # 5
head(BOD, 2)
# Time demand
# 118.3
# 22 10.3
On Wed, Mar 4, 2009 at 8:38 PM, Terry Therneau thern...@mayo.edu wrote:
1. I often like to put bits of the output into the manual pages. (We can
have a discussion
Thanks for the inventive workaround.
On Fri, Feb 20, 2009 at 1:37 PM, Berwin A Turlach
ber...@maths.uwa.edu.au wrote:
G'day Gabor,
On Thu, 19 Feb 2009 17:47:53 -0500
Gabor Grothendieck ggrothendi...@gmail.com wrote:
[...]
Unless this has changed recently,I've tried including a PDF
On Thu, Feb 19, 2009 at 5:36 PM, Friedrich Leisch
friedrich.lei...@stat.uni-muenchen.de wrote:
On Thu, 19 Feb 2009 11:47:12 +,
Robin Hankin (RH) wrote:
thanks for this clarification Uwe
Could I include the r_env_cache/ directory in the package
and then assume that the CRAN checks
Also any demos in the demo directory will be skipped by
the automated checks.
On Tue, Feb 17, 2009 at 12:01 PM, Greg Snow greg.s...@imail.org wrote:
Just wrap the example in either \dontrun{} or
if(interactive()){
}
That way that example will be skipped when the automatic tests are done,
On Sat, Jan 24, 2009 at 9:45 PM, Sebastian Fischmeister
sfisc...@uwaterloo.ca wrote:
Apparently, the mail program doesn't like attachments. Here's the patch and
the script again.
The attachment does appear to have made to the archives:
2009 Wish list for R (no particular order):
- some way of placing backslashes in literal strings without escaping them.
Useful for latex, regular expressions and Windows file paths. This seems
to come up from time to time on the lists. Ruby, python, Perl and other
scripting languages have
On Wed, Jan 14, 2009 at 2:53 PM, Perry de Valpine
pdevalp...@berkeley.edu wrote:
Dear R-devel,
I am putting together a package vignette for the first time (R 2.8.1,
OS X) and had some bumps from section 1.4 (Writing package
vignettes) of the Writing R Extensions document. Here are
, at 7:10 AM, Gabor Grothendieck wrote:
On Wed, Jan 14, 2009 at 2:53 PM, Perry de Valpine
pdevalp...@berkeley.edu wrote:
Dear R-devel,
I am putting together a package vignette for the first time (R 2.8.1,
OS X) and had some bumps from section 1.4 (Writing package
vignettes) of the Writing R
was the premise of my earlier
post. Please let me know if that is confused or still not specific
enough. Thanks.
Perry
On Jan 15, 2009, at 7:10 AM, Gabor Grothendieck wrote:
On Wed, Jan 14, 2009 at 2:53 PM, Perry de Valpine
pdevalp...@berkeley.edu wrote:
Dear R-devel,
I am putting
On Tue, Jan 13, 2009 at 8:28 AM, Terry Therneau thern...@mayo.edu wrote:
Thanks for the replies:
Duncan:
and got a warning in all R versions I tried back to 2.4.1. In 2.3.1
this was an error.
It seems I have egg on my face wrt this point. A more true synopsis of what
I
saw should have
On Sun, Jan 11, 2009 at 3:18 PM, Prof Brian Ripley
rip...@stats.ox.ac.uk wrote:
Those of you tracking R development will have noticed that we are moving
towards using R as a scripting engine. (It is often overlooked as such.)
...
In due course we see phasing out the use of Perl, at least at
From the Windows (not R) command line try this (the input you
type is after the and the output is on the next line). Modify
the ftype line appropriately if the output of assoc is different for you.
C:\tmp2assoc .pdf
.pdf=AcroExch.Document
C:\tmp2ftype AcroExch.Document
There seems to be a problem with read.table
when fill = TRUE in this case. In the example
below, note that:
- there should be 4 columns, not 3
- some rows like row 6 are cut off at the end
- others like row 7 seem completely wrong
Lines - x 1 b
+ x 1 a
+ x 2 b
+ x 2 a
+ x 2
+ y 1 a 1
+ y 10 a 2
Perhaps it would be sufficient as a first step to just display the version
that will be downloaded. That would still only let you pick one but at
least you would know which one.
On Mon, Dec 15, 2008 at 11:43 AM, Duncan Murdoch murd...@stats.uwo.ca wrote:
On 12/15/2008 10:58 AM, Kevin R. Coombes
On Mon, Dec 15, 2008 at 12:35 PM, Prof Brian Ripley
rip...@stats.ox.ac.uk wrote:
(D) We can really only handle = dependencies on package versions (but then
I can see no other ops in use). install.packages() will find the latest
Ryacas works with XML 1.96-0; however, after Ryacas was released
On Fri, Dec 12, 2008 at 4:35 PM, greg.s...@imail.org wrote:
do extra to specify otherwise. One of the standard references for regular =
expressions if you really want to understand what is going on is Mastering=
Regular Expressions by Jeffrey Friedl. You should really read through th=
On Sat, Dec 6, 2008 at 8:08 AM, Duncan Murdoch [EMAIL PROTECTED] wrote:
cstrato wrote:
Prof Brian Ripley wrote:
On Fri, 5 Dec 2008, cstrato wrote:
Dear Duncan
Thank you for this explicit explanation, you are right:
When setting the system variable Path (as administrator) in addition
setup and not a general problem, so adding
this information may confuse other people.
Best regards
Christian
Gabor Grothendieck wrote:
On Sat, Dec 6, 2008 at 8:08 AM, Duncan Murdoch [EMAIL PROTECTED]
wrote:
cstrato wrote:
Prof Brian Ripley wrote:
On Fri, 5 Dec 2008, cstrato wrote
compile my C++ source code with VC++ independently of R
Thus at the moment there seem to be no conflicts, however, this could be the
case in the future.
Do you have any examples, where the Rtools find can cause conflicts with
Windows?
Best regards
Christian
Gabor Grothendieck wrote:
You
One difference between rtools27.exe and rtools28.exe is that the latter
sets a value in the registry to where rtools is located whereas the former
does not.
On Fri, Dec 5, 2008 at 2:49 PM, cstrato [EMAIL PROTECTED] wrote:
Dear all
When trying to install my package on Windows XP on my Mac, I
about the registry setting mentioned by Gabor Grothendieck?
Best regaards
Christian
Prof Brian Ripley wrote:
This is a PATH error: you must have Rtools/bin before Windows system
directories in your path. As the R-admin manual tells you explicitly
fortune(WTFM) applies.
On Fri, 5
On Fri, Dec 5, 2008 at 4:28 PM, cstrato [EMAIL PROTECTED] wrote:
Dear Gabor
Thank you for this interesting link.
Since I have also to set the PATH and LIB for Visual Studio AND for ROOT, I
am not sure if this would be an option for me.
Rcmd.bat will not override settings you make yourself.
Also note the behavior is the same for a non-list vector:
c(b=1)[c('a','b')]
NAb
NA1
but differs for a data frame:
data.frame(b=1)[c('a','b')]
Error in `[.data.frame`(data.frame(b = 1), c(a, b)) :
undefined columns selected
On Fri, Nov 28, 2008 at 2:03 PM, Vadim Ogranovich
As a workaround you could use plot.zoo:
library(zoo)
tt - ts(cbind(a = 1:10, b = 1:10))
plot(as.zoo(tt), plot.type=multiple, cex.lab = 0.5, col.lab = red)
On Fri, Nov 21, 2008 at 8:50 AM, [EMAIL PROTECTED] wrote:
Full_Name: Yan Wong
Version: 2.8.0
OS: Mac OS X 10.4
Submission from: (NULL)
They will be built for you. You only upload the .tar.gz file.
See section 1.5 of the Writing Extensions manual.
On Sat, Nov 22, 2008 at 5:35 PM, Ali Baharev [EMAIL PROTECTED] wrote:
Ooops, sorry. Just one more question.
Do i have to make a binary package for Win32 and Mac OS X? Or is it
done
There is an analysis of the R license here:
http://www.ohloh.net/projects/rproject/analyses/latest
On Tue, Nov 18, 2008 at 5:24 PM, Gabriel Gellner [EMAIL PROTECTED] wrote:
For a project I am porting some of R's source code, and I want to
get the license for my project correct, but the top
Don't really know but you could see if the info in Avoiding R Bugs
section on the http:/r-proto.googlecode.com page applies, particularly
the first point on Lazy Loading.
On Tue, Nov 18, 2008 at 5:07 PM, Whit Armstrong
[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] R.packages]$ sudo R CMD INSTALL
There was a slash missing. It should be
http://r-proto.googlecode.com
On Tue, Nov 18, 2008 at 6:31 PM, Gabor Grothendieck
[EMAIL PROTECTED] wrote:
Don't really know but you could see if the info in Avoiding R Bugs
section on the http:/r-proto.googlecode.com page applies, particularly
On Mon, Nov 10, 2008 at 10:13 PM, Spencer Graves [EMAIL PROTECTED] wrote:
Thanks. What should I have done to obtain the information you just
provided?
Google for MiKTeX Manual and look at the R batch utilities and info at:
http://batchfiles.googlecode.com
I came across this program to locate MiKTeX file:
http://docs.miktex.org/2.7/sdk/findfile_8cpp-example.html
If the exe of this were included with R then it seems it might
provide a reliable way to locate MiKTeX which we don't currently have
since AFAIK there is no adequate registry key for
that a gigabyte of stuff, then
cleaning space on my hard drive so I could actually install it. The whole
process took several days, in between my other work. It would help if it
were all part of the standard install.
Thanks,
Spencer
Gabor Grothendieck wrote:
I came across this program
If we run the code below we get an error message but if we
replace Axis with axis then we get no error message.
I don't think Axis' error message is a good idea since one
can't know ahead of time whether there is a tick at
January or not since R can automatically adjust plot ranges
in a complex
Currently demo calls source with a hard coded max.deparse.length = 250
so you can't really see the demo properly in some cases. Note the
[TRUNCATED] below. (1) It would be nice if demo passed max.deparse.length
(and other args to source). (2) Also a larger max.deparse.length default would
be
I noticed there is also an experimental interface that can be used
from R (as opposed to the NAMESPACE file). Can't tell from docs
whether it allows conditionals:
?.Import
On Thu, Oct 30, 2008 at 10:44 AM, Duncan Murdoch [EMAIL PROTECTED] wrote:
On 10/30/2008 10:15 AM, Martin Maechler wrote:
You could go to \Users\JoeDoe\Documents\R\win-library and rename
2.8 to 2.8x, say, reinstall R, grab movedir.bat from
http://batchfiles.googlecode.com
placing it in \Users\JoeDoe\Documents\R\win-library (or anywhere on
your path) and then check that it created a
Note that Rversions.hta in http://batchfiles.googlecode.com
is a Vista javascript script that will present you with a drop down
list based on the R registry entries (and also allow
you to change which version is current). Its a single file with no
dependencies so just put it in your current
On Fri, Oct 24, 2008 at 6:53 AM, Luke Tierney [EMAIL PROTECTED] wrote:
There is already sone desire to have a
way of checking whether a binding contains a delayed evaluation, so
maybe something like a function bindingStatus that returns one of
active, missing, delayed or evaluated makes sense.
,
Bernhard
-Ursprüngliche Nachricht-
Von: Gabor Grothendieck [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 23. Oktober 2008 02:36
An: Peter Dalgaard
Cc: Pfaff, Bernhard Dr.; [EMAIL PROTECTED]
Betreff: Re: [Rd] R 2.8.0 qqnorm produces error with object of
class zoo?
I don't think its hopeless
(zoo)
Package: zoo
Version: 1.5-4
Date: 2008-07-09
Title: Z's ordered observations
Author: Achim Zeileis, Gabor Grothendieck
Maintainer: Achim Zeileis [EMAIL PROTECTED]
Description: An S3 class with methods for totally ordered indexed
observations. It is particularly aimed
On Wed, Oct 22, 2008 at 8:49 AM, Peter Dalgaard
[EMAIL PROTECTED] wrote:
Pfaff, Bernhard Dr. wrote:
It seems, that in my previous emails the attached output files got deleted,
hence these are now copied below:
(If the MIME type is wrong, then that will happen.)
Anyways, the root cause
Yes, I noticed that but rank is not generic. An xtfrm.zoo
method has been added to zoo on R-Forge but rank still
fails:
R.version.string
[1] R version 2.8.0 Patched (2008-10-21 r46766)
packageDescription(zoo)$Version
[1] 1.5-3
library(zoo)
# next line adds xtfrm zoo method
xtfrm.zoo -
And one other point.
z - zoo(1:4)
.gt(z, 1, 2)
fails because z[1] and z[2] are at different time points so
z[1] == z[2]
is logical(0) because when zoo compares objects it aligns them
first.
On Wed, Oct 22, 2008 at 2:19 PM, Gabor Grothendieck
[EMAIL PROTECTED] wrote:
Yes, I noticed
were also built on top of xtfrm then it would work as desired as
well.
On Wed, Oct 22, 2008 at 5:03 PM, Peter Dalgaard
[EMAIL PROTECTED] wrote:
Gabor Grothendieck wrote:
And one other point.
z - zoo(1:4)
.gt(z, 1, 2)
fails because z[1] and z[2] are at different time points so
z[1] == z[2
Check what drives you have available on your system and what file system
each uses. Click on Start button and type in System Information and then
choose Components / Storage / Drives in the left side panel. That will
report all your drives and their file system and other information. Try running
See ?system.file with the package= argument.
On Fri, Oct 10, 2008 at 2:19 PM, Peter Ruckdeschel
[EMAIL PROTECTED] wrote:
Hi,
this may be slightly off-topic, but as you are the experts:
we have written a small vignette, in which we want to refer to
.R, .Rd source files by means of relative
Ruckdeschel
[EMAIL PROTECTED] wrote:
Gabor Grothendieck schrieb:
See ?system.file with the package= argument.
Thank you Gabor,
but this refers to the /installed/ package, while we are needing
path information about the not-yet-built source code of the
package during R CMD check / build
On Fri, Oct 10, 2008 at 7:06 PM, Peter Ruckdeschel
[EMAIL PROTECTED] wrote:
Thanks again Gabor, for your quick reply,
Try placing a copy of the files in the inst directory and then
accessing them via system.files(myfile.R, package = mypackage)
you mean I should do this in an S-chunk in the
Some examples are:
- be able to use brew package or similar alternative in place of Sweave
- provide a pdf regardless how it was generated
without ugly workarounds and still let the user get a list of all pdf
documents in
one place, e.g.
library(help = mypackage)
should list the vignettes and
(was
Re: [R] possible bug in function 'var' in R 2.7.2?)
To: Gabor Grothendieck [EMAIL PROTECTED]
Cc: r-devel@r-project.org r-devel@r-project.org, Martin Maechler
[EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Fri, 3 Oct 2008
in R. Traditional economics
do not apply to an open source project. There is no monetary cost to
adding additional developers.
luke
On Fri, 3 Oct 2008, Gabor Grothendieck wrote:
On Fri, Oct 3, 2008 at 3:23 AM, Martin Maechler
[EMAIL PROTECTED] wrote:
a much better (and much less error
On Fri, Oct 3, 2008 at 12:46 PM, Luke Tierney [EMAIL PROTECTED] wrote:
On Fri, 3 Oct 2008, Gabor Grothendieck wrote:
On Fri, Oct 3, 2008 at 11:43 AM, Luke Tierney [EMAIL PROTECTED] wrote:
I will look into fixing it sometime if no one else feels like doing
it. The environment aspect
Also one can create a text connection and read it using read.table, scan, etc.
s - c(12;13;14, 15;16;17)
read.table(textConnection(s), sep = ;)
# or
scan(textConnection(s), sep = ;)
On Wed, Sep 24, 2008 at 12:20 PM, Mark Kimpel [EMAIL PROTECTED] wrote:
I knew there HAD to be a basic function,
The chron package does:
library(chron)
times(12:34:56)
Internally times are represented as a faction of a day.
On Mon, Sep 22, 2008 at 3:41 PM, Lee, Philip (IT)
[EMAIL PROTECTED] wrote:
r-devel,
One other question just occurred to me - does R have any concept of
times alone? I can see that
On Tue, Sep 16, 2008 at 11:22 AM, Peter Dalgaard
[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Full_Name: Rene Locher
Version: 2.7.2 Patched (2008-09-12 r46541)
OS: XP
Submission from: (NULL) (160.85.231.40)
dat - data.frame(event=factor(c(A,A,B)),
chron represents times as a fraction of a day using doubles so seconds
cannot necessarily be represented exactly thus this is an example of
FAQ 7.31:
http://cran.r-project.org/doc/manuals/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f
Try this:
library(chron)
tt - c(09:45:00,
Use two colons, not three.
On Mon, Aug 25, 2008 at 3:05 PM, Max Kuhn [EMAIL PROTECTED] wrote:
Everyone,
I've got code in my package that uses LogitBoost from the caTools
package. caTools does not have a namespace.
My package also uses loads RWeka, which has a namespace, and also has
a
While you are at it could you add { to the
table so that this works:
# this is ok
f - function(x) x*x
D(body(f), x)
x + x
# but not g which is same as f
# except it has { ... } surrounding its body
g - function(x) { x*x }
D(body(g), x)
Error in D(body(g), x) : Function '`{`' is not in the
You could see if Ryacas package can do what you want:
http://ryacas.googlecode.com
2008/8/14 Ben Bolker [EMAIL PROTECTED]:
Prof Brian Ripley wrote:
The derivative of plogis is surely dlogis. (And yes, there is a good
reason why we have such a function: take a look at its C code.)
Doh.
Try this:
matrix(1:9, 3, dim = list(x = letters[1:3], y = LETTERS[1:3]))
y
x A B C
a 1 4 7
b 2 5 8
c 3 6 9
On Sat, Aug 9, 2008 at 12:34 PM, mel [EMAIL PROTECTED] wrote:
Hello,
Presently, we are able to add additionnal info to a matrix
thanks to the nice comment() and attr()
To handle name clashes among packages I wonder if we could
have a namespace setting between exported and not-exported
which is exported but you have to use :: (two dots) to access its
objects. The difference between mandatory two dot and
three dots in this case is that the
exported objects are
Is this a true problem?
Artistic License may conflict with GPL
The source code for R contains references to both the GNU General
Public License 2.0 (GPL) and to the Artistic License. These two
licenses include some contradictory restrictions.
The Ohloh source code parser is exhaustive, and can
On Fri, Jul 18, 2008 at 4:18 AM, Prof Brian Ripley
[EMAIL PROTECTED] wrote:
On Fri, 18 Jul 2008, Gorjanc Gregor wrote:
Hi!
Under Windows R is installed, but its bin folder is not added to the
system PATH variable. I know that this is handled properly under *nix like
systems and I wonder,
In the code below test2() gives an error message:
Error in .subset2(x, i, exact = exact) :
attempt to select less than one element
even though test(), which is nearly the same, gives
the expected result. BOD is a data set that comes
with R. Is this a bug?
idx - 2
# returns expected
Spencer
Gabor Grothendieck wrote:
In the code below test2() gives an error message:
Error in .subset2(x, i, exact = exact) :
attempt to select less than one element
even though test(), which is nearly the same, gives
the expected result. BOD is a data set that comes
with R
10:56 AM, Luke Tierney wrote:
On Sat, 28 Jun 2008, Peter Dalgaard wrote:
Gabor Grothendieck wrote:
Suppose we do this:
f - function(...) environment()
e - f(a = 1, b = 2)
ls(e, all = TRUE)
[1] ...
e$...
...
class(e$...)
[1] ...
Is there any way of getting a and b given e
Suppose we do this:
f - function(...) environment()
e - f(a = 1, b = 2)
ls(e, all = TRUE)
[1] ...
e$...
...
class(e$...)
[1] ...
Is there any way of getting a and b given e without
modifying f?
__
R-devel@r-project.org mailing list
, \n)
}
else if (method == ess) {
body - gsub(n, \n, body)
cat(body)
}
}
---
Gabor Grothendieck wrote:
Here is another update. I have added the following:
- info about using a fresh R session
. The questioner should ensure that the thread is complete
and that it has an appropriate Subject. The purpose of the post is
not only to help the questioner but also the other list subscribers
and those later searching the archives.
On Fri, Jun 6, 2008 at 1:30 PM, Gabor Grothendieck
[EMAIL PROTECTED] wrote
the questioner but also the other list subscribers
and those later searching the archives.
On Sat, Jun 7, 2008 at 9:38 AM, Gabor Grothendieck
[EMAIL PROTECTED] wrote:
Here is a second version of the summary. Its been rearranged to
place most important info at top. Also shortened it a bit.
It still
Not sure if this is sufficient but note that if you leave the filename
off entirely then the extension does default to the type.
savePlot() # wmf
savePlot(type = jpg)
args(savePlot)
function (filename = paste(Rplot, type, sep = .), type = c(wmf,
emf, png, jpg, jpeg, bmp, tif, tiff, ps,
On Tue, Jun 3, 2008 at 10:36 PM, Simon Urbanek
[EMAIL PROTECTED] wrote:
On Jun 3, 2008, at 8:40 PM, Duncan Murdoch wrote:
On 03/06/2008 2:35 PM, Mike Prager wrote:
S Ellison [EMAIL PROTECTED] wrote:
Plaintive squeak: Why the change?
Some OS's and desktops use the extension, so forgetting
Try replacing the last line in g with:
lmout - do.call(lm, list(Formula, data = data, weights = w))
coef(lmout)
or replace w with environment()$w thereby explicitly telling it where to look.
On Fri, May 30, 2008 at 11:40 AM, [EMAIL PROTECTED] wrote:
I've run into a scoping problem in R.
I'm
As of a few weeks ago,
rtools does store the current version in the registry but
its only a gross figure such as 2.7 or 2.8 and
that would not be enough to identify the build.
On Tue, May 27, 2008 at 4:45 PM, [EMAIL PROTECTED] wrote:
This is (hopefully) a small request.
I routinely build
Note that if you place Rcmd.bat andor R.bat from
http://batchfiles.googlecode.com
anywhere in your path and install the latest rtools from
http://www.murdoch-sutherland.com/Rtools/
then you don't have to change your PATH.
On Mon, May 19, 2008 at 5:40 AM, [EMAIL PROTECTED] wrote:
2008/5/19
What does your DESCRIPTION file look like? Have you edited it
to specify the required information? Read the Writing R Extensions
manual.
On Mon, May 19, 2008 at 4:11 PM, Ajay DAS [EMAIL PROTECTED] wrote:
- Forwarded by Ajay DAS/US/BMNA01 on 05/19/2008 03:11 PM -
See ?apply
If X is not an array but has a dimension attribute, apply attempts to coerce
it to an array via as.matrix if it is two-dimensional (e.g., data
frames) or via as.array.
So for example, try this noting that time is 1, 2, 3, ...
apply(monthly, 2, time)
Try
lm(monthly ~ time(monthly))
You can use the Windows batch PATH command.
On Wed, Apr 30, 2008 at 11:56 AM, Michael [EMAIL PROTECTED] wrote:
On 29 Apr 2008, Duncan Murdoch wrote:
Right, you don't need to set the system path for everything, but you do
need to set it in CMD (or other shell) before running Rcmd.
For Win
The use of the UNIX find command on Windows makes installation
very troublesome and fragile. I wonder if you could include a
find2 or somesuch with the tools and change the scripts to use that
getting rid of find or use just use the Windows find command in the
scripts. Or some other solution so
On Tue, Apr 29, 2008 at 4:00 PM, Duncan Murdoch [EMAIL PROTECTED] wrote:
On 29/04/2008 2:51 PM, Gabor Grothendieck wrote:
The use of the UNIX find command on Windows makes installation
very troublesome and fragile. I wonder if you could include a
find2 or somesuch with the tools
This also affects Axis.yearmon and Axis.yearqtr in the
zoo package which worked in R 2.6.2 and now don't work
properly. It seems more logical to define plot.whatever
to handle the object in question, i.e. we do define plot.zoo,
whereas only the Axis method ought to be required for the
X and Y
On Tue, Apr 22, 2008 at 9:24 AM, Duncan Murdoch [EMAIL PROTECTED] wrote:
On 4/22/2008 9:08 AM, Sklyar, Oleg (MI London) wrote:
Duncan,
looking further, what has changed from 2.6.2 into 2.7.0 are the
following two lines in plot.default, which I think were logical before
and are not
Its not clear to me at this point what and where the proposed
or already made change is but here
is a test that should produce a year/month style rather than
numeric style X axis:
library(zoo)
z - zoo(1:12, as.yearmon(2000 + 1:12/12))
plot(z)
On Tue, Apr 22, 2008 at 1:18 PM, Duncan Murdoch
On Tue, Apr 22, 2008 at 1:45 PM, Duncan Murdoch [EMAIL PROTECTED] wrote:
defined for POSIX and Date classes only.
zoo defines Axis methods for the yearmon and yearqtr classes and potentially
other time/date classes will need Axis methods.
__
401 - 500 of 961 matches
Mail list logo