On Mon, Oct 8, 2012 at 9:22 AM, Hadley Wickham wrote:
> Hi all,
>
> It's possible to capture the expression associated with a promise
> (using substitute). Is there any way to capture the environment
> associated with a promise? Similarly, is there any way to tell if
> something is a promise with
On Tue, Dec 11, 2012 at 3:14 PM, Cook, Malcolm wrote:
> Hi R-devel, tcltk devel, and sqldf devel,
>
> The transcript below shows how loading the tcl/tk library in under R causes
> subprocesses to ignore SIGPIPE.
>
> I am including the developer of the (wonderful) sqldf package since it
> require
1. If your PATH is very long then on the Select Additional Tasks
screen in the Rtools installer the two check box titles (Edit the
system PATH and Save version number) will be obscured (i.e. you won't
be able to see them at all) making the screen very confusing. One just
sees two boxes on the left
On Thu, Jan 3, 2013 at 4:32 AM, Karl Forner wrote:
> Hello,
>
> The point is that I do not use tcltk, it gets loaded probably as a
> dependency of a dependency of a package.
> When I unload it all work perfectly fine. I just found it because one
> of my computer did not have tk8.5 installed, and d
On Thu, Jan 3, 2013 at 5:59 AM, peter dalgaard wrote:
>
> On Jan 3, 2013, at 10:32 , Karl Forner wrote:
>
>> Hello,
>>
>> The point is that I do not use tcltk, it gets loaded probably as a
>> dependency of a dependency of a package.
>> When I unload it all work perfectly fine. I just found it beca
On Thu, Jan 3, 2013 at 7:45 AM, peter dalgaard wrote:
>
> On Jan 3, 2013, at 12:20 , Gabor Grothendieck wrote:
>
>> On Thu, Jan 3, 2013 at 5:59 AM, peter dalgaard wrote:
>>>
>>> On Jan 3, 2013, at 10:32 , Karl Forner wrote:
>>>
>>>> Hello,
&
The is.pos function below results in the variable, out, being set to
TRUE if the first argument to is.pos is positive and to FALSE
otherwise.
It does this without using the return value or using scoping tricks to
reach into the caller. Instead it tricks the promise into
communicating one bit of i
It seems that if one overwrites an S4 class with a Reference Class of
the same name that one gets an error in the situation below. I would
have expected that the Reference Class would replace the S4 class in
such a way that one could now use the Reference Class.
> A <- setClass("A", representation
R.exe, Rgui.exe, Rcmd.exe and Rscript.exe all support the --help
argument but RSetReg.exe --help ignores the argument and attempts to
set the registry key. Since one might try this as a first attempt to
figure out what the command is all about this seems a bit dangerous.
It would be nice if it res
On Thu, Feb 28, 2013 at 3:44 PM, Gabor Grothendieck
wrote:
> This issues a message about a needing to be non-negative as expected:
>
> setClass("A",
> representation = list(a = "numeric"),
> prototype = list(a = 0),
> validity = function(object) {
>
This issues a message about a needing to be non-negative as expected:
setClass("A",
representation = list(a = "numeric"),
prototype = list(a = 0),
validity = function(object) {
out <- if (object@a < 0) "a must be non-negative"
if (is.null(out)) TRUE else out ##
})
new("A", a = -1)
On Wed, Apr 3, 2013 at 10:38 AM, Hadley Wickham wrote:
> Hi all,
>
> The documentation for substitute currently reads:
>
> Substitution takes place by examining each component of the parse
> tree as follows: If it is not a bound symbol in ‘env’, it is
> unchanged. If it is a promise object, i.e.,
the correct binary into
>> (setq-default inferior-R-program-name 'FULLPATHHERE")
>> which will break as soon as I upgrade R (assuming I am foolish enough to
>> ever do that again).
>
>
> I can't help you with ESS.
>
>>
>>
>> Now I am rea
On Sat, Apr 20, 2013 at 10:45 AM, Hadley Wickham wrote:
>>> Just curious: how often do you use the Windows find command? We have put
>>> instructions in place for people to run the install process with a renamed
>>> Rtools find command (which I think is the only conflict). The issue is that
>>>
On Sat, Apr 20, 2013 at 11:49 AM, Duncan Murdoch
wrote:
> On 13-04-20 11:09 AM, Gabor Grothendieck wrote:
>>
>> On Sat, Apr 20, 2013 at 10:45 AM, Hadley Wickham
>> wrote:
>>>>>
>>>>> Just curious: how often do you use the Windows find command?
On Sat, Apr 20, 2013 at 1:54 PM, Duncan Murdoch
wrote:
> On 13-04-20 12:30 PM, Gabor Grothendieck wrote:
>>
>> On Sat, Apr 20, 2013 at 11:49 AM, Duncan Murdoch
>> wrote:
>>>
>>> On 13-04-20 11:09 AM, Gabor Grothendieck wrote:
>>>>
>>
On Sat, Apr 20, 2013 at 1:44 PM, Duncan Murdoch
wrote:
> On 13-04-19 2:57 PM, Thomas Alexander Gerds wrote:
>>
>>
>> hmm. I have tested a bit more, and found this perhaps more difficult
>> solve situation. even though I delete x, since x is part of the output
>> of the formula, the size of the obj
On Sat, Apr 20, 2013 at 2:21 PM, Duncan Murdoch
wrote:
> On 13-04-20 2:02 PM, Kevin Coombes wrote:
>>
>>
>> On 4/20/2013 12:54 PM, Duncan Murdoch wrote:
>>>
>>> On 13-04-20 12:30 PM, Gabor Grothendieck wrote:
>>>>
>>>> On Sat, Apr 2
On Sat, Apr 20, 2013 at 9:13 PM, Hadley Wickham wrote:
>> As far as I can tell, the steps you are recommending take place in an
>> earlier build step. This would require the user who wants to do this to
>> rebuild Rtools in its entirety, which is more trouble than it is likely to
>> be worth. Esp
On Sun, Apr 21, 2013 at 8:18 AM, Hadley Wickham wrote:
>> The problem is that if you don't just use the PC for running R but use
>> it to run other programs too then any program and that utilizes
>> Windows batch scripts making use of find.exe or sort.exe likely won't
>> work if Rtools is on your
On Sun, Apr 21, 2013 at 9:49 AM, Hadley Wickham wrote:
>> Because it can conflict with other Windows software unless you add a
>> layer over it. What other popular software that runs on Windows has
>> these problems? I can't think of any. The closest I can come up with
>> was that for a short t
On Sun, Apr 21, 2013 at 12:57 PM, Hadley Wickham wrote:
Because it can conflict with other Windows software unless you add a
layer over it. What other popular software that runs on Windows has
these problems? I can't think of any. The closest I can come up with
was that for
On Sun, Apr 21, 2013 at 1:48 PM, Prof J C Nash (U30A) wrote:
>
> While as a Linux user who has not so far been banished to Winland I have not
> experienced this problem, it seems to be the type of issue where a "how to",
> for example, on the R Wiki, would be helpful. Moreover, surely this is a
>
On Sun, Apr 21, 2013 at 6:17 PM, Henrik Bengtsson wrote:
> I (as well) keep a specific Rsetup.bat file for launching Windows
> cmd.exe with the proper PATH etc setup for build R packages etc. It's
> only after this thread I gave it a second thought; you can indeed
> temporarily set the PATH via ~
On Mon, Apr 22, 2013 at 10:27 AM, Duncan Murdoch
wrote:
> On 21/04/2013 6:57 PM, Hadley Wickham wrote:
>>
>> > PS. Hadley, is this what you meant when you wrote "Better solutions
>> > (e.g. Rstudio and devtools) temporarily set the path on when you're
>> > calling R CMD *.", or those approaches ar
But help really needs to be delivered with R, not an addon.
It should not be necessary to know how to install packages
just to get this level of help. I think it needs to be where it
is now.
On Thu, May 7, 2009 at 4:02 PM, Liaw, Andy wrote:
>
> I agree! Recall, though, I had added the RSiteSear
Try this:
> aggregate(dat["A"], dat["Group"], mean)
Group A
1 1 0.4944810
2 2 0.4765412
3 3 0.4521068
4 4 0.4989000
On Sat, May 9, 2009 at 8:14 AM, Gavin Simpson wrote:
> Hi,
>
> I find it a bit annoying that aggregate.default forces the returned
> object to loose the '
Does the Mac version of R include tcltk? There is a section in the R Mac FAQ:
http://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html#TclTk-issues
about tcltk issues on R for Mac but its not clear to me from this
whether tcltk is
or is not included and I don't have a Mac to try it out.
___
Ryacas uses non-blocking sockets and works across all platforms
but uses readLines/writeLines, rather than readBin, to communicate with
yacas. You could look at its source code in case it brings anything to mind.
On Mon, May 18, 2009 at 1:40 PM, Jeff Ryan wrote:
> R-devel:
>
> I am encountering
On Tue, May 19, 2009 at 9:08 AM, Martin Maechler
wrote:
> [MM stumbling over on old thread ... he'd be interested]
>
>>>>>> "GaGr" == Gabor Grothendieck
>>>>>> on Wed, 15 Apr 2009 09:53:18 -0400 writes:
>
> GaGr> Not sure i
match.call() will return the call. merge.zoo in the zoo package
uses it if you need an example. as.list(match.call()) will return
a list.
list(...) will return the ... arguments as a list.
$.proto in the proto package allows one to write p$f where p
is a proto object and f is a function and p$
One user of my batchfiles
http://batchfiles.googlecode.com
found they did not find the R registry key because it mysteriously
was at hklm\software\wow6432Node. The system
was a 64 bit system. I've always seen the key at
hklm\software\R-core\R which is what the batchfiles assume.
Has there been so
2009/5/23 Uwe Ligges :
>
>
> Gabor Grothendieck wrote:
>>
>> One user of my batchfiles
>> http://batchfiles.googlecode.com
>> found they did not find the R registry key because it mysteriously
>> was at hklm\software\wow6432Node. The system
>> was
On Sat, May 30, 2009 at 10:58 AM, Tim Bergsma wrote:
> Hi.
>
> I'm maintaining a package that creates an object that is essentially a
> classed version of numeric. I updated recently from 2.7.1 to 2.9.0,
> and merges involving my class suddenly took a huge performance hit.
> I've traced the probl
Having RSiteSearch.function be a strict superset of RSiteSearch might
make sense but giving them the same name seems too heavy
handed unless done via OO which seems not applicable here since
R's version is not generic and the two use the same class, "character",
anyways.
On Wed, Jun 3, 2009 at 5:3
we (I) might add other
> engines, would it make sense to have a more generic name, ... something like
> "web.search", "doc.search", ...
>
>
> Gabor Grothendieck wrote:
>>
>> Having RSiteSearch.function be a strict superset of RSiteSearch might
>&g
On Thu, Jun 4, 2009 at 1:58 AM, Duncan Murdoch wrote:
> spencerg wrote:
>>
>> Hello All:
>>
>> What do you think of adding a function "RSiteSeach" to the package of
>> that name, masking the "RSiteSearch" function in "utils", trapping any call
>> RSiteSearch('searchstring', 'function') to the
On Thu, Jun 4, 2009 at 12:13 PM, Duncan Murdoch wrote:
> Gabor Grothendieck wrote:
>>
>> On Thu, Jun 4, 2009 at 1:58 AM, Duncan Murdoch
>> wrote:
>>
>>>
>>> spencerg wrote:
>>>
>>>>
>>>> Hello All:
>>>>
>
On Thu, Jun 4, 2009 at 1:38 PM, spencerg wrote:
> Gabor Grothendieck wrote:
>>
>> On Thu, Jun 4, 2009 at 12:13 PM, Duncan Murdoch
>> wrote:
>>
>>>
>>> Gabor Grothendieck wrote:
>>>
>>>>
>>>> On Thu, Jun 4, 200
On Fri, Jun 5, 2009 at 9:43 AM, Wacek
Kusnierczyk wrote:
> Mathieu Ribatet wrote:
>> I guess that having something like this
>>
>>> q()
>>> Save workspace image (/home/me/workspace/.RData)? [y/n/c/e]:
>>>
>>
>> where "e" means Editing the path should be clear enought, isn't it?
>>
>
> good idea; m
On Fri, Jun 5, 2009 at 11:52 AM, Barry
Rowlingson wrote:
> On Fri, Jun 5, 2009 at 3:01 PM, Gabor
> Grothendieck wrote:
>
>
>>
>> Save workspace to /home/me/workspace/.RData? [ y(es) / (n(o) /
>> c(ancel) / o(ther) ]:
>
> Quitting emacs produces this:
>
>
If ... is not available you can get a minor reduction using fn$ in gsubfn.
Any function call prefaced by fn$ allows the use of formulas as functions
(and perl-like interpolation of strings) in the call args (subject to certain
rules that determine which args are interpreted and which not). The LHS
Perhaps you could have a package called BACCO
with no contents rather but lists the components of the
bundle as dependencies. Then package.install("BACCO")
would still install all the components.
On Fri, Jun 12, 2009 at 9:36 AM, Robin Hankin wrote:
> Hi
>
> I read that bundles are to be deprecate
You could run proc.time() before and after each system call.
x <- proc.time()
# do something
y <- proc.time()
y - x
On Fri, Jun 12, 2009 at 5:31 PM, Andrew Piskorski wrote:
> Rprof seems to ignore all time spent inside system() calls. E.g.,
> this simple example actually takes about 10 seconds,
If read.csv's colClasses= argument is NOT used then read.csv accepts
double quoted numerics:
1: > read.csv(stdin())
0: A,B
1: "1",1
2: "2",2
3:
A B
1 1 1
2 2 2
However, if colClasses is used then it seems that it does not:
> read.csv(stdin(), colClasses = "numeric")
0: A,B
1: "1",1
2: "2",2
3:
On Sun, Jun 14, 2009 at 4:21 PM, Ted
Harding wrote:
> Or am I missing something?!!
The point of this is that the current behavior is not desirable since you can't
have quoted numeric fields if you specify colClasses = "numeric" yet you
can if you don't. The concepts are not orthogonal but should
I've noticed this as well. I recently had a % in an Rd file that caused
me problems.
On Sat, Jun 20, 2009 at 10:18 AM, Yihui Xie wrote:
> Hi (Duncan?),
>
> The other day I noticed some characters will cause errors in R CMD
> CHECK because of parse_Rd(), and AFAIK, these chars include '%', '{'
> a
I've also experienced this problem with RGraphviz and suggest you expand
the message to: Graphviz version x found at c:\...whatever...\graphviz.dll
but version y found at http://whatever required.
Another approach would be to check that the file size, file name,
checksum or some other attribute of
If you can assume its on your path then try this:
pth <- sapply(strsplit(Sys.getenv("PATH"), ";"), function(x)
file.path(x, "python.exe", fsep = "\\"))
pth[file.exists(pth)][1]
On Sat, Jun 27, 2009 at 11:44 AM, Carlos J. Gil
Bellosta wrote:
> Hello,
>
> I have been unsuccessfully struggling for a
oesn't update PATH,
> although the ActiveState Python installer does. But both
> approaches can fail, depending on the options that were
> specified when Python was installed.
>
> Good luck,
>
> - Steve
>
>
> On Sat, Jun 27, 2009 at 12:01 PM, Gabor
> G
I use a different editor so I only have general comments but
regardless of editor it
would be best to keep and use the library in your user space to avoid
any problems
with permissions on Vista.
Note that this is the same problem as on UNIX where you need root permissions
to modify the R library i
On Thu, Jul 2, 2009 at 1:37 AM, Troy Robertson wrote:
> Well...
>
> My performance problems were in the pass-by-value semantics of R.
>
> I have just changed my classes to inherit from .environment and then moved
> data members from S4 slots to the .xData objects as Martin suggested.
>
Note that
In terms of performance if you want the fastest
performance in R go with S3 and if you want
even faster performance rewrite your inner loops
in C. All the other approaches will usually be slower.
Also S3 is simple, elegant and will result in less code
and take you much less time to design, program
On Thu, Jul 9, 2009 at 10:33 AM, spencerg wrote:
> Hello:
>
> How can one get the number of functions and data sets in a package?
>
> I've written a function "PackageSum2" to get an extended package summary
> for an installed package. I get much of what I want from the object
> returned by
I assume that what is wanted is that "Anonymous" should
change to "changed name" when the "Change" button is pressed.
In that case enter this and then press the Change button
at which point "Anonymous" should change to "changed name".
library(tcltk)
tt <- tktoplevel()
Name <- tclVar("Anonymous")
Have a look at the source code for the Formula package.
On Tue, Jul 28, 2009 at 12:58 PM, Klaus
Nordhausen wrote:
> Dear R experts,
>
> I wrote already a couple of weeks ago but did not get any reply. Therefore
> I'll rephrase my question and hope some of you can give me some answers or
> some adv
That's a check error. Did you try running R CMD CHECK on it?
Since it appears to happen in an example you could put
\dontrun{
...
}
around the example although it would be better to get it to the
state that it passes R CMD CHECK without having to do that.
On Tue, Jul 28, 2009 at 4:31 PM, Carlos
On Sat, Aug 8, 2009 at 10:39 AM, Prof. John C Nash wrote:
> I would urge inclusion in the documentation of the +0, -0 example(s) if
> there is NOT a way in R to distinguish these. There are occasions where it
For single numbers try this:
x <- +0
y <- -0
identical(x, y) && identical(1/x, 1/y) # FA
Try this to see its components:
> str(unclass(xd))
List of 9
$ sec : num [1:6] 0 0 0 0 0 0
$ min : int [1:6] 0 0 0 0 0 0
$ hour : int [1:6] 0 0 0 0 0 0
$ mday : int [1:6] 9 31 12 12 30 30
$ mon : int [1:6] 2 4 10 10 6 6
$ year : int [1:6] 107 107 108 108 109 109
$ wday : int [1:6] 5 4 3
Instead of writing out an xls file you could write out a file
in any format that Excel can read, e.g. csv, with a suitable
renaming of your function.
On Sun, Aug 9, 2009 at 1:04 PM, spencerg wrote:
> Hello:
>
> What should I do regarding code to write an Excel file in a non-Windows
> platform?
Just a guess but try writing it on one line without the % symbols.
On Mon, Aug 17, 2009 at 6:03 PM, Ben Bolker wrote:
>
> the version 2 parser thinks I have unnecessary braces,
> but I can't find any. False positive or am I missing
> something? If a false positive, is there any way to
> work ar
That's nifty. Perhaps it could look into
/foo/bar/baz/lib1/*/R
in which case one could simply place source
packages in /foo/bar/baz/lib1
In fact it would be nice if R had built into it some way
of running code in source packages possibly with
degraded functionality to ease development, i.e.
On Thu, Aug 27, 2009 at 6:18 AM, Martin
Maechler wrote:
> Dear programmeRs,
>
> I'm proposing and looking into implementing a small change in
> R's c() handling of 'symbol's aka 'name's, and potentially also
> 'language' parts.
>
> The main motivation is transparent programmatic construction of
>
On Thu, Aug 27, 2009 at 8:19 AM, Martin
Maechler wrote:
>>>>>> "GaGr" == Gabor Grothendieck
>>>>>> on Thu, 27 Aug 2009 07:32:42 -0400 writes:
>
> GaGr> On Thu, Aug 27, 2009 at 6:18 AM, Martin
> GaGr> Maechler wrote:
>
On Tue, Sep 1, 2009 at 5:41 PM, wrote:
> 2009/8/30 Uwe Ligges :
> [snip]
>> Guido van Steen wrote:
> [snip]
>>> Something that interests me too: What about R's policy with respect to
>>> including binary files? I saw that developers should include a file
> [snip]
>> Please do not include binary fi
The danger is that it could introduce bugs into the process
of reporting bugs.
On Thu, Sep 3, 2009 at 1:05 PM, Henrik Bengtsson wrote:
> Hi,
>
> sessionInfo() has been proven really useful, but you still often have
> to ask for additional information in order to help troubleshooting.
> For instanc
This is sufficiently useful that it would be nice to have it
as part of R itself. For the moment, perhaps you could
make a package of it on CRAN or contribute it to some
other existing CRAN package.
On Fri, Sep 4, 2009 at 9:39 AM, Hadley Wickham wrote:
> Hi all,
>
> When developing a package, it'
The SystemRequirements: field of the DESCRIPTION file normally
lists external dependencies whether free or non-free.
On Thu, Sep 10, 2009 at 1:50 PM, Prof. John C Nash wrote:
> Subject: Non-GPL packages for R
>
> Packages that are not licensed in a way that permits re-distribution on
> CRAN are f
I recently installed a local package which failed because the package
was already loaded; however, then it tried to update all the HTML
package descriptions needlessly (since they had not changed due
to the failure to install). Since updating the HTML package descriptions
can be time consuming the
One complication is that its possible that a package can use a non-free
component but can also be used without it. The fame package could
be used with fame or without fame for a long time but more recently the
non-fame portion was factored out into the tis package. The VhayuR
package is similar i
Regarding this from this week:
2.10.0 PACKAGE INSTALLATION (Windows)
It is possible to install source packages without Rtools provided they
have no compiled code and no configure.win or cleanup.win script.
- what are the instructions to perform such a source install?
- I assume one still needs Mi
Thanks. Perhaps someone in the core group can
still provide explicit information on how to install such
a package.
On Thu, Sep 17, 2009 at 12:19 PM, Dirk Eddelbuettel wrote:
>
> On 17 September 2009 at 11:32, Gabor Grothendieck wrote:
> | Regarding this from this week:
> |
> |
Note that that is not currently the recommended way.
Also, what comes after INSTALL? The source .tar.gz name?
The pathname to the source directory?
On Thu, Sep 17, 2009 at 3:58 PM, Simon Urbanek
wrote:
>
> On Sep 17, 2009, at 12:43 , Gabor Grothendieck wrote:
>
>> Thanks. Perhaps
Maybe on other platforms but on Windows
help does not get linked properly with all
variations.
On Thu, Sep 17, 2009 at 4:27 PM, Simon Urbanek
wrote:
> On Sep 17, 2009, at 16:09 , Gabor Grothendieck wrote:
>
>> Note that that is not currently the recommended way.
>>
>
, Duncan Murdoch wrote:
>>
>> On 17/09/2009 4:40 PM, Gabor Grothendieck wrote:
>>>
>>> Maybe on other platforms but on Windows
>>> help does not get linked properly with all
>>> variations.
>>
>> I think you are thinking of building binaries,
helpful to have comments
on what now works best on Windows with the new change.
On Thu, Sep 17, 2009 at 6:32 PM, Duncan Murdoch wrote:
> Gabor Grothendieck wrote:
>>
>> Does that mean that
>>
>> Rcmd INSTALL --binary myPackage/
>>
>> is still ok or should on
PM, Gabor Grothendieck wrote:
>>
>> I meant to write:
>>
>> Rcmd INSTALL --build myPackage/
>>
>> vs.
>>
>> Rcmd INSTALL myPackage/
>>
>> You, yourself, have mentioned the problem of linking help
>> pages on r-devel within the las
The graphviz site, itself, lists resources/alternatives here:
http://www.graphviz.org/Resources.php
On Fri, Sep 18, 2009 at 6:34 PM, William Dunlap wrote:
> R version 2.10.0 Under development (unstable) (2009-09-08 r49628)
>
> Here are two somewhat related questions.
>
> First, when we attach a t
I would find that useful too particularly for running long output from Stangle.
On Mon, Sep 21, 2009 at 9:22 PM, Jose Claudio Faria
wrote:
> Hi,
>
> I've been calling the function "source" (package base) from Tinn-R editor to
> send files, marked blocks and selections to R interpreter because it
Create a package called RcmdrInstall, say, with no content and have it
depend on Rcmdr. RcmdrInstall would have all packages as dependencies
while Rcmdr would only have the essential packages as dependencies.
Install RcmdrInstall. That would also force Rcmdr to be installed.
Now issue:
libr
gt; John
>
>
>> -Original Message-
>> From: Gabor Grothendieck [mailto:ggrothendi...@gmail.com]
>> Sent: September-22-09 2:32 PM
>> To: John Fox
>> Cc: r-devel@r-project.org
>> Subject: Re: [Rd] Rcmdr package dependencies
>>
>> Create a pac
On Wed, Sep 23, 2009 at 10:54 PM, Duncan Murdoch wrote:
>
> - Ways to link from man pages to vignettes. The reverse would be nice, but
> it's not possible with the current design, so that would be far off.
>
If feasible I would like to be able to link to any text, html or pdf
file in the packag
For Windows, this page
http://cran.r-project.org/bin/windows/base/
gives a link to download
- R 2.9.2
- r-patched (R 2.9.2 patched)
- old releases and
- r-devel (R 2.11.0)
but there is no obvious link to R 2.10.0. From where do we download that?
__
strapply in the gsubfn package matches a regular expression and passes
each back reference as a separate argument to the indicated function,
in this case paste. Any number of back references may be used. Here
is an example where there are more than 9:
> # pass each back reference in regular expr
That is usually done with trunc rather than cut since in the case of a
time series we normally don't want a factor result (which is what cut
would give):
trunc(tt, "secs")
trunc(tt, "mins")
# etc
trunc.POSIXt does not support the "30 secs" syntax but trunc.times in
the chron package supports simi
Even though its not hard to convert files, I think it would be better
if R could directly handle different line endings since R tends to be
used in a cross platform way and its common to have files of different
line endings that originated from different systems.
On Sat, Oct 17, 2009 at 5:03 PM, S
On Sun, Nov 1, 2009 at 6:02 AM, Peter Dalgaard wrote:
> macra...@alum.mit.edu wrote:
>>
>> nchar(with(list(2),ls())) gives an internal error. This is of course
>> a peculiar call (no names in the list), but the error is not caught
>> cleanly.
>>
>> It is not clear from the documentation whether wi
On Sun, Nov 1, 2009 at 5:55 PM, Duncan Murdoch wrote:
> What is it that you particularly liked about the CHM help? One thing it did
> well was the table of contents at the side, and the built-in search. I
> would like to get those back, in the HTML help. Is there anything else?
>
The main thin
\chrome.exe",
x)))
?help.search
On Sun, Nov 1, 2009 at 6:18 PM, Peter Ehlers wrote:
> Gabor Grothendieck wrote:
>>
>> On Sun, Nov 1, 2009 at 5:55 PM, Duncan Murdoch
>> wrote:
>>>
>>> What is it that you particularly liked about the CHM help? One thing it
On Mon, Nov 2, 2009 at 9:53 AM, John Fox wrote:
> I think that there's one more thing to be said in favour of chm help, and
> that's that its format is familiar to Windows users. I've been using html
> help on Windows myself for a long time, but before R 2.10.0 recommended chm
> help to new Window
S4 generics can specify a valueClass. Perhaps that could be used in
those cases.
On Wed, Nov 4, 2009 at 3:24 PM, Duncan Murdoch wrote:
> On 11/4/2009 12:15 PM, William Dunlap wrote:
>>>
>>> -Original Message-
>>> From: r-devel-boun...@r-project.org
>>> [mailto:r-devel-boun...@r-project.o
strsplit can split by separators and strapply in the gsubfn package
can split by content.
On Mon, Nov 9, 2009 at 6:40 PM, wrote:
> Full_Name: William E. Hopkins
> Version: 2.9.0
> OS: Windows XP
> Submission from: (NULL) (209.244.4.106)
>
>
> textConnection() has quadratic performance.
>
> A fun
This has already been discussed on this list.
Its now a link at the bottom of the page labeled Index.
On Wed, Nov 11, 2009 at 7:54 PM, Fraser Sim wrote:
> Hi all,
>
>
>
> Another comment re: html help in Windows. It seems that we've lost the
> functionality of being able to browse the other func
Its also difficult to know about demos unless you specifically issue a
demo(package = "mypackage") command. It would be nice if these were
listed too.
Note that the NEWS and/or ChangeLog file are listed on the package's
CRAN page such as:
http://cran.r-project.org/package=zoo
but the demos a
In the case of R itself and the Windows platform this might usefully
be placed into the Rgui help menu.
On Fri, Nov 13, 2009 at 8:44 AM, Henrik Bengtsson
wrote:
> Please note my initial comment that it is hard for newcomers to find
> or even know about the existence of NEWS (and worse CHANGES) [
Note that one should use inherits = FALSE argument on get and exists
to avoid returning objects from the parent, the parent of the parent,
etc.
On Fri, Nov 13, 2009 at 2:27 PM, Duncan Murdoch wrote:
> On 11/13/2009 2:03 PM, Trishank Karthik Kuppusamy wrote:
>>
>> Greetings everyone,
>>
>> I have
On Fri, Nov 13, 2009 at 7:21 PM, Duncan Murdoch wrote:
> On 13/11/2009 6:39 PM, Gabor Grothendieck wrote:
>>
>> Note that one should use inherits = FALSE argument on get and exists
>> to avoid returning objects from the parent, the parent of the parent,
>> etc.
>
>
On Sun, Nov 15, 2009 at 9:58 AM, Jari Oksanen wrote:
> On 15/11/09 16:35 PM, "jo...@web.de" wrote:
>
>> Full_Name: Jens Oehlschlägel
>> Version: 2.10.0
>> OS: Windows XP Professional
>> Submission from: (NULL) (85.181.158.112)
>>
>>
>> file.rename() will successfully rename file a to b - even if
Try this:
debug(stats:::ar.yw.default)
and then run the ar function to step through the ar code so you can
see the results line by line and understand what it is doing at a very
detailed level.
On Sun, Nov 15, 2009 at 10:06 AM, Christophe Dutang wrote:
> As you are sure of the accuracy of your
In "R version 2.10.0 Patched (2009-11-15 r50445)" on Windows Vista
upon issuing help.start() and clicking on Packages I get this.
Packages in C:\Users\Gabor\Documents\R\win-library\2.10
C:\Users\Gabor\Documents/R/win-library/2.10/AER/DESCRIPTION -- Title
is missing --
C:\Users\Gabor\Documents/R/w
401 - 500 of 1105 matches
Mail list logo