Displaying 20 results from an estimated 1000 matches similar to: "postgres"
2003 Jul 11
3
postscript/eps label clipping
The following code produces an eps file with the tops of each of the ylabs
clipped off.
par(mfrow=c(2,2))
plot(runif(10),
ylab="Function(Lengthy Expression)",xlab="Prediction")
plot(runif(10),
ylab=expression(Delta * Beta^2),xlab="Prediction")
plot(runif(10),
ylab="Function(Lengthy Expression)",xlab="Prediction")
2002 Oct 17
4
Multiple colors in plots/lookup function
Hello,
I'd like to do something like:
n<-100
zz<-cbind(rnorm(n),rnorm(n),floor(runif(n)*3+1))
colors<-c("red","green","blue")
plot(zz,col=colors(zz[3]))
and have a matrix of scatterplots colored by class. The above does not
work, of course, but I'm not sure exactly what function I'm looking for.
Thank you for your time,
Dave,
--
Dave
2002 Oct 24
2
source function help
I am new to R and have probably a very simple
question...
I am using the "source" function to read an R source
file called, let's say, "first.r". This file was
created in Notepad in Windows 2000. This is a
simplistic example, but let's say in this file I have
the following commands:
x<-c(0,2,3,4,5,6)
y<-mean(x)
y
When I run this source function I assumed
2003 Jun 24
1
Reading graphics files
Is there a tool for reading a graphics file into an object? I might not
be looking with the correct vocabulary, but I'm finding lots of references
to producing graphics from R, but not any for inputting graphics into R.
I'd like to use a jpeg image and have the data available in R for
analysis. I could convert the image to another format, PPM perhaps, and
parse that in, GRASS seems like
2006 Mar 18
0
No subject
One quirk to be watched is the use of connections to the DBMS via the
Unix sockets vs ports. The PostgreSQL driver bundled with unixODBC
will use Unix sockets to `localhost', but this driver seems unreliable
(see the ChangeLog). The current driver will only use a TCP/IP port,
and to use that needs postmaster started with the -i flag (which is
not the default) and with tcp/ip
2003 Jan 02
3
random number generation
Can a single random number be generated in R? I have an exercise that wants
to simulate coin tosses, and I cannot seem to find a good example of the use
of random number generation in R. Any help?
Joshua Gramlich
Chicago, IL
2000 Mar 07
1
samba, win98, and browse list problem.
Hello,
Here's a repost on my message of a few days ago, for reasons that I'm
not sure if it went through. If it did, my apologies, all suggestions
welcome.
I'm having an identical problem on slackware linux 7.0 and freebsd
3.4-release and windows 98-2, with sp1, and samba 2.05 and 2.06,
depending on which system I've got up. Whenever I restart samba for
whatever reason, making a
2003 Feb 17
2
Graphing
I think this may be a histogram, but I'm not sure. Can anyone tell me
how to replicate this graph in R?
http://www.ginworks.com/images/multitot.gif
Thanks,
Joshua Gramlich
2003 Feb 14
2
function editing?
Is there a way to edit user defined functions once they've been
created? For instance, I've a simple function that plots a table, but
I'd like to go back and add more parameters to the barplot call. Is
there a way to change this function without completely starting from
scratch? Other than storing the code in a file and re-running it?
Joshua Gramlich
Piocon Technologies
Chicago,
2007 May 04
1
Partitioning a kde2d into equal probability areas
Hi,
I'd like to partition a 2d probability density function into regions of
equal probability. It is straightforward in the 1d case, like
qnorm(seq(0,1,length=5)) but for 2d I'd need more constraints.
Any suggestions for how to approach this? Is seems like a spatial
sampling problem but I'm not sure where to look.
Thanks for your time,
Dave
--
Dr. David Forrest
drf at
2004 Aug 27
1
Plotting irregular grid as image or persp
Hi,
I have an array of 2d node locations and an array triangles, and would
like to plot something like a image or persp.
An example of doing it with rgl is:
library(ncdf)
library(rgl)
# wget http://www.maplepark.com/~drf5n/extras/teapot.nc
teapot<-open.ncdf("teapot.nc")
z<-get.var.ncdf(teapot,"tris")
l<-get.var.ncdf(teapot,"locations")
2005 Jun 06
9
R Graph Gallery : categorization of the graphs
Hello all,
It seems that the next improvement to the R Graph Gallery is
categorization of the graphics, that way each graph will be easier to
find. That step should be done *carefully* if we want to avoid the
opposite side-effect : graph not reachable through the categories.
That's why the wisdom of the R community is required.
Graphics will be classified in :
- categories
-
2010 Jun 27
2
Ways to work with R and Postgres
Hi,
I post this message to the general r-help list hoping anyone within a wider range have suggestions:
There are three ways to integration R and postgres, especially on 64bit Microsoft windows Platform,
1. via RODBC package, which has 32 bit and 64 bit version for windows
2. via RPostgres interface, which only has 32bit version currently
3. via plr for Greenplum, which only supports a
2003 Feb 25
2
push/pop on a stack
Is there a package for stacks with pushing and popping?
I'd really like to do something like
push(par(no.readonly=TRUE))
some stuff....
par(pop())
It seems like it wouldn't be difficult, and that someone may have already
implemented a set of stack functions, and I wouldn't like to duplicate it.
Thanks for your time,
Dave
--
Dave Forrest (434)924-3954w(111B) (804)642-0662h
2003 Feb 17
1
R environment advice?
Hello,
My questions are meant to be not necessarily specific...I am looking for
advice and best practices for setting up an R environment. Here's my
situation:
I am one of perhaps three or four individuals who will be analyzing the
same data through the use of R. I would like to set up a "base"
environment for our project, basically some scripts that connect to a
database, load
2003 Feb 13
1
pie charts?
I don't suppose it's possible to create a pie chart in R? I've got 1500
some odd elements in a frame that are valued at either -1, 0 or 1 and
I'd like to find a reasonable way to represent the distribution
graphically...any ideas?
Joshua Gramlich
Piocon Technologies
Chicago, IL
2004 Dec 08
2
what about a mascot ?
My friend Veslot proposed me the Raven !
http://www.teteamodeler.com/allopass/images/corbeau.jpg
As a matter of fact the intelligence of this bird is
comparable to one of a monkey, although its brain is close to
a reptile brain. R is quite the same : small, compact, but so
clever.
This is a canadian website explaining (in french) the R-aven
intelligence
2007 Mar 12
3
reading BMP into R
Um texto embutido e sem conjunto de caracteres especificado associado...
Nome: n?o dispon?vel
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070312/112cd7f9/attachment.pl
2007 Mar 27
1
Using nnet
I have a problem when using nnet to predict the negative values. For example
:
X = matrix(c(1,1,0,0,1,0,1,0),4,2)
X
Y = matrix(c(0,1,1,0)) - 0.5 # XOR - 0.5
Y
nn = nnet(X,Y,size=3)
val = predict(nn,X)
val # this is expected to be close to Y, but it's not !
The 'val' is always positive. I tried to change the options, but the result
isn't much better.
Could someone give me an
2005 Apr 01
2
(no answer)
I wish to perform brain surgery this afternoon at 4pm and don't know
where to start. My background is the history of great statistician
sports legends but I am willing to learn. I know there are courses and
numerous books on brain surgery but I don't have the time for those.
Please direct me to the appropriate HowTos, and be on standby for
solving any problem I may encounter while