On 27 April 2007 at 09:54, Dirk Eddelbuettel wrote:
| On Fri, Apr 27, 2007 at 09:47:19AM -0500, Dirk Eddelbuettel wrote:
| > On Fri, Apr 27, 2007 at 03:10:42PM +0100, Prof Brian Ripley wrote:
| > Lastly, a nit: it doesn't _fully_ do it as it still issues a
| >
| > Loading required package: me
Prof Brian Ripley <[EMAIL PROTECTED]> writes:
> Indeed it is. The package has
>
> .First.lib <- function(lib, pkgname, where) {
> ## load the compiled code
> library.dynam(pkgname, pkgname, lib)
>
> and that should be
>
> library.dynam("matchprobes", pkgname, lib)
Thanks! I've fixed this f
I would like to suggest a wording change in the message
* checking package dependencies ... ERROR
Namespace dependencies not required:
DBI methods
Since the intended meaning seem to be almost exactly the opposite (I
think, judging by what seems to work), it would be better to say
Namespace de
On Fri, 27 Apr 2007, Seth Falcon wrote:
> Update:
>
> Seth Falcon <[EMAIL PROTECTED]> writes:
>> And for me it does.
>
> Almost. With a clean package library, I end up with an error
> installing matchprobes because library.dynam can't find a shared
> library called matchprobes_1.8.0. Since other
Thanks, that did it.
On 4/27/07, Duncan Murdoch <[EMAIL PROTECTED]> wrote:
> On 4/27/2007 11:34 AM, Gabor Grothendieck wrote:
> > I noticed the following difference in parse(text = ...) between R
> > 2.4.1 and R 2.5.0.
> >
> > ===
> >
> >> parse(text = "\"^\" (x ,2 )")
> > expression(x^2)
> >> R.v
On 4/27/2007 12:55 PM, Duncan Murdoch wrote:
> On 4/27/2007 11:34 AM, Gabor Grothendieck wrote:
>> I noticed the following difference in parse(text = ...) between R
>> 2.4.1 and R 2.5.0.
>>
>> ===
>>
>>> parse(text = "\"^\" (x ,2 )")
>> expression(x^2)
>>> R.version.string
>> [1] "R version 2.4.1
Update:
Seth Falcon <[EMAIL PROTECTED]> writes:
> And for me it does.
Almost. With a clean package library, I end up with an error
installing matchprobes because library.dynam can't find a shared
library called matchprobes_1.8.0. Since other packages that have
native code are installing with ve
On 4/27/2007 11:34 AM, Gabor Grothendieck wrote:
> I noticed the following difference in parse(text = ...) between R
> 2.4.1 and R 2.5.0.
>
> ===
>
>> parse(text = "\"^\" (x ,2 )")
> expression(x^2)
>> R.version.string
> [1] "R version 2.4.1 Patched (2006-12-30 r40331)"
>
>
>
>
>> parse(t
Sean Davis <[EMAIL PROTECTED]> writes:
> Anna Lobley wrote:
>> I am receiving the following errors when trying to install
>> gcrma and a number of other Bioconductor packages when
>> the installWithVers flag is set to be TRUE.
>>
>> >source("http://www.bioconductor.org/getBioC.R";);
>> >getBioC(
You have missed the point completely.
There is no way you can use the same command on a Unix-alike and Windows,
so using system() in packages always needs to be conditionalized on OS.
If you want to use a shell on Windows, use shell(): you can even use bash
with it (but startup will be really sl
I noticed the following difference in parse(text = ...) between R
2.4.1 and R 2.5.0.
===
> parse(text = "\"^\" (x ,2 )")
expression(x^2)
> R.version.string
[1] "R version 2.4.1 Patched (2006-12-30 r40331)"
> parse(text = "\"^\" (x ,2 )")
expression("^" (x ,2 ))
> R.version.string
[1] "R v
One can use the R shell on Windows:
shell("echo foo.bar | findstr foo")
or an explicit call to the Windows cmd console:
system("cmd /c echo foo.bar | findstr foo")
On 4/27/07, Tony Plate <[EMAIL PROTECTED]> wrote:
> With cygwin bash installed under Windows, one can use pipes in system(),
Anna Lobley wrote:
> I am receiving the following errors when trying to install
> gcrma and a number of other Bioconductor packages when
> the installWithVers flag is set to be TRUE.
>
> >source("http://www.bioconductor.org/getBioC.R";);
> >getBioC("gcrma", installWithVers=T);
>
Hi, Anna. You
With cygwin bash installed under Windows, one can use pipes in system(),
e.g., like this:
R 2.5.0 under Windows XP:
> system("echo foo | sed s/foo/bar/") # this doesn't work under windows
foo | sed s/foo/bar/
> # but using 'bash -c' does:
> system("bash -c \"echo foo | sed s/foo/bar/\"")
bar
Hi,
If I have warnings converted to errors, and if I plot a simple plot and
then resize and move the plot's window many times, I eventually get an
error "Display list redraw incomplete", and after a while an endlessly
repeating error "An unusual circumstance has arisen in the nesting of
readli
Robin Hankin <[EMAIL PROTECTED]> writes:
> My question is, how to deal with the possibility that pari/gp is not
> installed?
You could add a configure script to your package to detect the
availability of the tools you want to rely on.
On package load, you could try a simple call and determine whe
I am receiving the following errors when trying to install
gcrma and a number of other Bioconductor packages when
the installWithVers flag is set to be TRUE.
>source("http://www.bioconductor.org/getBioC.R";);
>getBioC("gcrma", installWithVers=T);
Running biocinstall version 2.0.7 with R version
On Fri, Apr 27, 2007 at 09:47:19AM -0500, Dirk Eddelbuettel wrote:
> On Fri, Apr 27, 2007 at 03:10:42PM +0100, Prof Brian Ripley wrote:
> Lastly, a nit: it doesn't _fully_ do it as it still issues a
>
> Loading required package: methods
>
> when invoked... But I guess I may as well load meth
On Fri, Apr 27, 2007 at 03:10:42PM +0100, Prof Brian Ripley wrote:
> See ?suppressMessages
>
> I did:
>
> >suppressPackageStartupMessages(library("mboost"))
>
> and saw no messages at all in 2.5.0. (And that is one of the noisiest.)
Oh, dang, and I know you had in fact told me about this befor
The first comment is that will only work on Unix-alikes, since '|' needs a
shell.
So, if this is on a Unix-alike you need to establish if the program is in
the path at run time and cache the result. I have no idea if this would
actually work, but for example system('gp --version') might provid
Hello
Quite often I need higher precision, or larger numbers,
than IEEE double precision allows. One strategy I sometimes
use is to use system() to call pari/gp, which is not constrained by
IEEE.
[pari/gp is a GPL high-level mathematical programming language
geared towards pure mathematics]
See ?suppressMessages
I did:
> suppressPackageStartupMessages(library("mboost"))
and saw no messages at all in 2.5.0. (And that is one of the noisiest.)
On Fri, 27 Apr 2007, Dirk Eddelbuettel wrote:
>
> I tend to run batch jobs via littler. These often start with a single line
> loading one
I tend to run batch jobs via littler. These often start with a single line
loading one or two in-house packages. Now, most the Depends of these
in-house packages now use Depends: entries in DESCRIPTION, rather than
require() in R/zzz.R. This seems to have at least one undesirable side
effect: no
>I get the same behaviour in 2.4.1 with xtable 1.4-3. Have you
>perhaps updated 'xtable' as well as R and are blaming R for an
>'xtable'
>change? As ?print.xtable says
>
> From version 1.4-3, all non-numeric columns are
>sanitized, and all
> LaTeX special characters are sanitised fo
On Fri, 27 Apr 2007, Pfaff, Bernhard Dr. wrote:
> Dear R-Devel subscriber,
>
> I encountered the following problem for tex-formatted table with
> xtable(). Suppose I do want the following matrix as a table in LaTeX:
>
> library(xtable)
> a11 <- "\\color{green}\\textbf{big green}"
> a21 <- "\\colo
Dear R-Devel subscriber,
I encountered the following problem for tex-formatted table with xtable().
Suppose I do want the following matrix as a table in LaTeX:
library(xtable)
a11 <- "\\color{green}\\textbf{big green}"
a21 <- "\\color{red}\\textbf{big red}"
a12 <- "\\color{green}green"
a22 <- "\
Hello,
I am often asked how to filter lines from a data frame, like for example
get all the Mazda cars from mtcars, so that usually does the trick:
R> mtcars[ grep("Mazda", rownames(mtcars)) , ]
but, what about using a formula in `[.data.frame` to make that sort of
code meaningful:
# rownames
27 matches
Mail list logo