On Tue, 19 Feb 2008, Benilton Carvalho wrote:
> It's not a bug and it is my understanding that it's documented.
>
> From the man page on jpeg:
>
> They may not be usable unless the X11 display is available to the owner of
> the R process.
>
> and later:
>
>'bitmap' provides an alternative w
Where precisely is the bug here? If you assign a list (d[,1:2] is a list:
it is the whole data frame) to a numeric matrix you coerce the latter to
mode list, and that is what happened.
If we have the simpler version
d <- data.frame(v1=1:2,v2=3:4)
x <- matrix(0, 2, 2)
x[] <- d
it may be easier
It's not a bug and it is my understanding that it's documented.
From the man page on jpeg:
They may not be usable unless the X11 display is available to the
owner of the R process.
and later:
'bitmap' provides an alternative way to generate PNG and JPEG
plots that does not dep
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
--27464147-598378112-1203442115=:3205
Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8BIT
On Tue, 19 Feb 2
On 2/19/2008 9:50 AM, [EMAIL PROTECTED] wrote:
> Hello,
>
> I am writing this message because of an incorrect output by paste().
> Please try the following script to see if the evidence I collected is
> reproducible:
>
> x <- c(10152, 28177);
> y <- c(9576, 26625);
> d <- y - x;
>
> d;
> [1]
Full_Name: Stephane Bonneaud
Version: 2.6.2
OS: OSX - Leopard 10.5.2
Submission from: (NULL) (195.221.233.130)
Hello,
I have a R code file containing the following code:
---
# This code is in r2jpg.r
# myData is filled here with some data from a file
jpeg(filename="test.jpg",width=960,hei
Hello,
I am writing this message because of an incorrect output by paste().
Please try the following script to see if the evidence I collected is
reproducible:
x <- c(10152, 28177);
y <- c(9576, 26625);
d <- y - x;
d;
[1] -576 -1552
paste(d, collapse = ", ");
[1] "-576, -1552"
x <- x / 1000
See below:
> d = data.frame(v1=1:2,v2=1:2)
> x = matrix(0,2,2)
> x[,1:2] = d[,1:2]
> x
[[1]]
[1] 1 2
[[2]]
[1] 1 2
[[3]]
[1] 1 2
[[4]]
[1] 1 2
>
Thanks for all the work in R. Still love it.
David
David Lubinsky
Director
OPSI Systems
Phone: +27 11 8
Dear list,
I am writing C code to interface with R, and I would like to know the
level of mutability for the type of a SEXP.
I see that there is a macro/function TYPEOF(), and that it can be used
as an l-value, as well as a macro/function SET_TYPEOF().
My question is "should the type be consider
Please ask help questions on R-help.
You are asking for a distance matrix of 1 points. That has almost 100
million entries, too large for your 1Gb computer (even if only half of it
is stored). What can you usefully do with such a matrix?
On Mon, 18 Feb 2008, Keizer_71 wrote:
>
> I am tryi
I am trying to calculate the distance metrics, but i keep getting this error.
I am very new with R. Am i doing something wrong.
> dim(data.sub)
[1] 1 140
> dist(data.sub, method = "euclidean", diag = FALSE, upper = FALSE, p = 2)
Error: cannot allocate vector of size 781250 Kb
In addition:
11 matches
Mail list logo