Displaying 18 results from an estimated 18 matches for "jonathan_li".
2003 Apr 28
4
how to present a table in powerpoint?
Hi,
I have a nicely printed table of results generated by R's
> print(myresult)
where myresult is a "data frame".
I am trying to put this table into a powerpoint slide for presentation without re-typing and re-formating, i.e.,
present it as it is in the R window. This saves time when there are a lot of tables to be presented.
I tried
> sink("myresult.txt")
>
2003 Dec 03
5
add a point to regression line and cook's distance
Hi,
This is more a statistics question rather than R question. But I thought people on this list may have some pointers.
MY question is like the following:
I would like to have a robust regression line. The data I have are mostly clustered around a small range. So
the regression line tend to be influenced strongly by outlier points (with large cook's distance). From the application
's
2002 Mar 11
2
gif, jpeg and png image files reader
Hi all,
Although R seems to have jpeg() and png() functions that converts data into
jpeg and png formated files, it
doesn't have functions the other way around.
Does one of R contributed packages have gif, jpeg and png image readers? I
did help.search() but no luck
Regards,
Jonathan
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2004 Sep 22
3
RMySQL and Blob
Dear R experts,
Does RMySQL package handle Blob datatype in a MySQL database? Blob can represent an image, a sound or some other
large and complex binary objects. In an article published by R-database special interest group, named "A common database interface (DBI)" (updated June 2003), it's mentioned in "open issues and limitations" that "We need to carefully plan
2001 Oct 10
2
How to comment out multiple lines in R source code?
Hi,
Is there a way to comment out multiple lines at once in R source code like C
language's /* */ struct?
This is quite useful when one is testing different sections of a source
code.
Thanks,
Jonathan
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2003 Mar 01
1
RE: [R] File opening error after 1020 files opened
...connection that is already open.") # NEW
invisible(.Internal(open(con, open, blocking)))
}
Henrik Bengtsson
> -----Original Message-----
> From: Roger Bivand [mailto:Roger.Bivand@nhh.no]
> Sent: den 1 mars 2003 06:25
> To: ripley@stats.ox.ac.uk
> Cc: Dirk Eddelbuettel; jonathan_li@agilent.com; hb@maths.lth.se
> Subject: Re: [R] File opening error after 1020 files opened
>
>
> On Fri, 28 Feb 2003 ripley@stats.ox.ac.uk wrote:
>
> > Let's take this off R-help.
> >
> > I did a quick check that connections are behaving:
> >
> >...
2002 Feb 01
3
R-ex directory in a R package; large software in R
Hi,
To better organize a package, one sometimes wants to place some individual R
files in R-ex directory (at least this
is the way I understand the functionality of R-ex). But how does one
organize the source R package so that
R CMD INSTALL pkg will know which R files will go into the R-ex directory?
In the implementation R CMD INSTALL pkg, all R files in the pkg/R directory
are automatically
2002 Feb 15
1
embed image in R-tcltk canvas
Hi,
I think that R-tcltk doesn't have the capacity to display an image stored in
memory on a tkcanvas object, am I right?
I have digged around everything I can find from Peter Dalgaard and tcltk
references and drew my conclusion.
Can you, Peter, or some other gurus on the list, give us a pointer or two on
how to proceed to solve this problem? I am afraid that it may involve
writing C
2002 Jul 09
0
RE: mvtnorm package installation failure
...;unstable" version of R 1.5.1 on Debian is built without readline
support for some reasons. Or it has something to do with broken Debian dependency?
Best Regards,
Jonathan
-----Original Message-----
From: Dirk Eddelbuettel [mailto:edd at debian.org]
Sent: Tuesday, July 09, 2002 10:58 AM
To: jonathan_li at agilent.com; Torsten.Hothorn at rzmail.uni-erlangen.de;
r-help at stat.math.ethz.ch
Subject: Re: [R] RE: mvtnorm package installation failure
Jonathan,
> I tried to re-intall R from Debian "stable", in which R's version is 1.4.0. And the installation
> of "mvtnorm&q...
2002 Apr 28
2
Image processing? Manipulating image data in R?
Hi!
I am looking for a R library by which i can load images (i found pixmap that
allows it to do).
But in addition i need methods to access the data, get them for example as an
array or matrix to do with this data some processing.
1. Is there a method in the pixmap library to access the matrix in which the
image data is stored.
2. Is there an alternative library running under MS Windows?
2002 Jul 09
1
RE: mvtnorm package installation failure
Hi,
Thank you for the tip.
I tried to re-intall R from Debian "stable", in which R's version is 1.4.0. And the installation
of "mvtnorm" works.
I then re-installed R yet again from Debian "unstable" (woody), in which R's version is 1.5.1.
The installation of "mvtnorm" fails again with the same error message. Another package that
failed with the
2002 Mar 15
1
eval in parent frame: scoping rule confusion
Hi all,
Look at the following "stupid" function that is created just to show the
problem:
outlayer <- function(x)
{
inlayer <- function(z){
e1 <- parent.frame()
eval(expression(y<-log(z)),e1)
}
inlayer(10)
y
}
I have a compilation error when running this. My purpose is to create "y"
variable equal to log(z) in
the frame of "outlay". How can I
2002 Mar 28
0
problem: use install.packages() with proxy under Windows 2000 wit h Pentium 4 machine
Dear R people,
I have been trying to use install.package() to install packages from CRAN.
The machine is a Windows 2000 with Pentium 4.
The machine operates under a proxy environment. I have followed advices I
found on R-help mailing list: change internet2.dll to internet.dll so that R
will use the same setting as Internet Explorer uses. After I made the
change, R crashes when I attempt to
use
2002 Mar 28
0
RE: problem: use install.packages() with proxy under Windows 2000 with Pentium 4 machine
Hi all,
An offline communication with B. Ripley gives the answer for whoever else
may have the similar problem:
Run R with a flag:
Rgui --internet2 or Rterm --internet2
By the way, as Brian pointed out, this information can be found at R for
Windows FAQ on cran website.
Regards,
Jonathan
> -----Original Message-----
> From: LI,JONATHAN (A-Labs,ex1)
> Sent: Thursday, March 28,
2002 Apr 10
0
Discriminant Adaptive Nearest Neighbor
Dear R users,
Is there anyone who is aware of a R or S package that has Discriminant
Adaptive Nearest Neighbor (DANN) classification by Hastie and Tibshirani?
I have used the search services in R website but no luck.
Thanks in advance!
Jonathan
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2003 Feb 20
1
proxy setting RedHat Linux
Hi,
I was trying to update packages with my R 1.6 under RedHat 8.0 system.
When entering this command,
> update.packages()
It simply says,
trying URL `http://cran.r-project.org/src/contrib/PACKAGES'
But nothing happens.
Is this a problem with my proxy setting since I am working behind a
firewall? It seems so:
> Sys.getenv("http_proxy")
http_proxy
2002 Mar 14
1
gif, jpeg and png image files reader AND tcltk image
Hi all,
Roger Peng and Jason Turner's suggestion with ImageMagick seem to be the
simplest "dirty" way
to get the problem solved.
But I ran into yet another interesting but quite round-about way to solve
the problem (partially). Through tcltk package, one can read in the gif
image with
> x <- tkcmd("image", "create", "photo", file=mypic.gif)
2003 Feb 28
2
File opening error after 1020 files opened
Hi,
I am trying to use "read.pnm" from the package "pixmap" to read more
than 10 thousand image files in "mydir".
> file.list <- dir( "mydir", full=T)
> for( i in 1:length(file.list) ) {
print(i)
x <- read.pnm(file.list[i])
}
In the beginning it was fine. But after reading 1020 images or so, the
read.pnm function
seems to crash on