Displaying 20 results from an estimated 91 matches for "euclid".
2008 Dec 10
2
read.*: How to read from a URL?
...ernally.
e.g., utils::read.table() and her family all support a file= argument
that can take a URL
equally well as a local file. So, if I have a file on the web, I can
equally well do
> langren <- read.csv("langrens.csv", header=TRUE)
> langren <-
read.csv("http://euclid.psych.yorku.ca/SCS/Gallery/Private/langrens.csv",
header=TRUE)
where the latter is more convenient for posts to this list or
distributed examples.
rimage::read.jpeg() doesn't support URLs, and the only way I've found is
to download the
image file from a URL to a temp file, in se...
2007 May 11
3
rubyforge svn access
Is anyone else having intermittent svn access with rspec?
Occasionally I''m getting:
euclid% svn update
svn: Connection closed unexpectedly
Scott
2012 Oct 28
0
In is.euclid(m2) : Zero distance(s)
Dear useRs,i am applying "mantel test" to find the correlation between distance matrices, by ade4 package. some of the correlations, although given me r-values, have shown following warning message..
"In is.euclid(m2) : Zero distance(s)"
i wanted to know that why has this message prompted? although i have got the result but still is it of concern?thanks in advance
regardseliza
[[alternative HTML version deleted]]
2006 Dec 11
2
updating rgl on debian stable
...> source("heplot3d.R")
> source("pairs.mlm.R")
> heplot3d(iris.mod)
Xlib: extension "XFree86-DRI" missing on display ":0.0".
Error in ellipsoid(gmean, E, radius, col = last(col), label = "Error") :
could not find function "asEuclidean"
>
> capabilities()
jpeg png tcltk X11 http/ftp sockets libxml fifo
TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
cledit iconv NLS
TRUE TRUE TRUE
> sessionInfo()
Version 2.3.1 (2006-06-01)
i386-pc-linux-gnu...
2010 May 27
2
Trying to upgrade from R 2.7.1
[Running debian stable]
I followed the instructions at
http://cran.r-project.org/bin/linux/debian, adding
deb http://cran.R-project.org/bin/linux/debian lenny-cran/
to /etc/apt/sources.list. But apt-get still leaves me with R 2.7.1.
How can I diagnose what's wrong or correct this?
euclid: /etc/apt # apt-get update
Hit http://debian.yorku.ca stable Release.gpg
Ign http://debian.yorku.ca stable/main
Translation-en_CA
Hit http://debian.yorku.ca stable/updates
Release.gpg
Ign http://debian.yorku.ca stable/...
2006 Mar 23
1
comparative density estimates
...mates with rug
plots, but then
the question arises of how to choose the bandwidth (BW) for the two
series to allow them
to be sensibly compared, because the range of time and total frequency
differ
for the two series. To avoid clutter on this list, I've placed the data
and R code
at
http://euclid.psych.yorku.ca/SCS/Gallery/milestone/Test/kde-bug/mileyears4.R
I have two versions of this graph, one selecting an optimal BW for each
separately
and the other using the adjust= argument of density() to approximately
equate
the BW to the value determined for the whole series combined. The two...
2007 Jun 11
3
hpricot as dependency for building rspec?
It looks to me that hpricot is a dependency to building rspec:
euclid% rake pre_commit
(in /Users/smtlaissezfaire/ruby/projects/rspec/hpricot)
rake aborted!
Could not find RubyGem hpricot (>= 0.0.0)
/Users/smtlaissezfaire/ruby/projects/rspec/hpricot/rakefile:9
(See full trace by running task with --trace)
Let me know if I''m wrong. Otherwise, I''...
1998 Jan 26
6
nmbd
I am having a lot of problems with nmbd. Basically it refuses to open its
socket to listen on. I have checked, and the reason cannot be that the port
is in use, as I can set any port with the -p switch, and I get the same
error. The relevant part of the nmb log is:
Netbios name list:-
my_netbios_names[0]="DIRAC"
lp_file_list_changed()
file
/usr/local/samba/lib/smb.conf ->
1997 Jul 29
0
Fwd: Buffer Overrun in ruserpass() in MH and NMH (fwd)
...3.i386.rpm installs the
inc and msgchk programs as follows:
-rwsr-sr-x- root mail 72628 Oct 17 16:57 /usr/bin/mh/inc
-rwsr-xr-x- root root 52536 Oct 17 16:57 /usr/bin/mh/msgchk
Hal
------- =_aaaaaaaaaa0
Content-Type: message/rfc822
X-Envelope-From: nmh-workers-request@euclid.skiles.gatech.edu Tue Jul 29 03:56:50 1997
Return-Path: <nmh-workers-request@euclid.skiles.gatech.edu>
Received: from almond.bmc.com (almond.bmc.com [172.17.0.100]) by erehwon.bmc.com (8.8.5/8.8.5) with ESMTP id DAA12260 for <hdevore@erehwon.bmc.com>; Tue, 29 Jul 1997 03:56:49 -0500...
2009 Aug 05
2
reading and frequency analysis of Spanish text
For an historical paper I'm working on, I have some Spanish plaintext,
presently in the form of a Word .doc
file,
http://euclid.psych.yorku.ca/SCS/Gallery/images/Private/Langren/Verdadera-spanish-stripped.doc
and also some ciphered text from the same original source. The ultimate
goal is to use some
frequency analysis of letters and word lengths in the plaintext to help
decode the ciphered text.
For now, I'm stuck...
2011 Dec 22
1
overlaid filled contour plots
I'm trying to make a set of contour plots of bivariate kernel density
estimates, showing three such plots overlaid,
similar to this plot
http://euclid.psych.yorku.ca/SCS/Private/Test/ridge-boot2.pdf
except that I would like to have the contours *filled* (using
transparent colors). To make this reproducible, I've
saved the results of KernSmooth::bkde2D() in the following file:
http://euclid.psych.yorku.ca/SCS/Private/Test/bkde2D-boot.RData...
2009 Jun 04
1
hist returning density larger than 1
...pretty(range(c(0,4)), 200)
for(sim in (2:Max.Shots)){
x.Data<-matrix(nrow=Max.Groups,ncol=sim,byrow=TRUE)
y.Data<-matrix(nrow=Max.Groups,ncol=sim,byrow=TRUE)
shot2mean.x<-matrix(nrow=Max.Groups,ncol=sim,byrow=TRUE)
shot2mean.y<-matrix(nrow=Max.Groups,ncol=sim,byrow=TRUE)
Euclid.Dist<-matrix(nrow=Max.Groups,ncol=sim,byrow=TRUE)
mean.radius<-vector(mode="numeric",length=Max.Groups)
# Generate the Simulation Data
###################################################################
# Number of Groups
for(Groups in (1:Max.Groups)) {
# Number...
2010 Nov 03
3
R package BibTex entries: looking for a more general solution
...m R CMD check
* Proposal: Package authors should be encouraged to use a (new)
Contributors: field in the DESCRIPTION file
rather than packing all information into the Author: field, which at
present cannot often be parsed by BibTeX.
* Files: All test files referred to here can be found at
http://euclid.psych.yorku.ca/SCS/Private/Rbibs/
== Details ==
Around 16 Dec. 2009, I queried R-help about automating the extraction of
citation()s from R packages. The stimulus
was that some journals, notably JSS, now require a reference and
citation of every R package mentioned,
and it is a pain to create th...
2005 Jul 06
3
plotting on a reverse log scale
I'd like to do some plots of historical event data on a reverse log
scale, started, say at the year 2000 and going
backwards in time, with tick marks spaced according to log(2000-year).
For example, see:
http://euclid.psych.yorku.ca/SCS/Gallery/images/log-timeline.gif
As an example, I'd like to create a density plot of such data with the
horizontal axis reverse-logged,
a transformation of this image:
http://euclid.psych.yorku.ca/SCS/Gallery/milestone/Test/mileyears1.gif
Some initial code to do a standard...
2011 Sep 23
1
Envfit, inconsistant result?
...that I run it changes the results. Sometimes
dramatically, selecting variables that the first time were not significant.
I do not get what could be the problem or if is normal given the
permutations are different.
# the NMDS ordination
gap_flor_NMDS_chord <- metaMDS(gaps_flor, distance = "euclid", k = 2, trymax
= 20, autotransform =TRUE,
noshare = 0.1, wascores = TRUE, expand = TRUE, trace = 1,
plot = FALSE, old.wa = FALSE, zerodist = "add")
# the environmental variables to use with enfit
explain1<- site[c("Tipo", "Gap.size", "Gap diameter (m)&...
2011 Aug 08
3
Distance between a vector and matrix rows
...ch row of a
dataframe. I am using the function "distancevector" in the package "hopach"
as follows:
mydata<-as.data.frame(matrix(c(1,1,1,1,0,1,1,1,1,0),nrow=2))
V1 V2 V3 V4 V5
1 1 1 0 1 1
2 1 1 1 1 0
vec <- c(1,1,1,1,1)
d2<-distancevector(mydata,vec,d="euclid")
The Euclidean distance between the two rows of the data frame to the vector
should be 1. But I am getting 0.4472136 for both.
Can someone please point out the reason for the discrepancy???
Also, are there other packages for calculating the distance between a binary
vector and all the rows...
2010 Mar 16
2
Retrieving latitude and longitude via Google Maps API
...o use. It'd be nice
to be able to do it all in one script, but I'm not comprehending the API
thing very well.
I'm using R 2.9.1 on Windows XP. Any suggestions or pointers?
Benjamin
Benjamin Nutter | Biostatistician | Quantitative Health Sciences
Cleveland Clinic | 9500 Euclid Ave. | Cleveland, OH 44195 |
(216) 445-1365
===================================
P Please consider the environment before printing this e-mail
Cleveland Clinic is ranked one of the top hospitals
in America by U.S.News & World Report (2009).
Visit us online at http://www.clevelandclini...
2006 Mar 30
1
dependency errors upgrading to 2.2.1-0sarge1
...s in r-recommended
that I've been
unable to resolve. It first showed up as (complete transcript below):
dpkg: r-cran-foreign: dependency problems, but removing anyway as you
request:
r-recommended depends on r-cran-foreign (>= 0.7-2).
Removing r-cran-foreign ...
----- transcript ------
euclid: ~ # su - root
euclid:~# apt-get install r-base
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
r-base-core r-recommended
Suggested packages:
r-doc-info r-mathlib
Recommended packages:
r-base-html r-base-dev
The following packages...
2012 Nov 15
3
GUI Development reg
..., "D" and "E" from the list
and want to pass the selection into a new vector b, such that
b<-c("A", "D" , "E")
How do i do this in R?
Regards
Vijayan Padmanabhan
"What is expressed without proof can be denied without proof" - Euclide.
Please visit us at www.itcportal.com
******************************************************************************
This Communication is for the exclusive use of the intended recipient (s) and shall
not attach any liability on the originator or ITC Ltd./its Subsidiaries/its Group
Companies. I...
2005 Mar 08
2
a==0 vs as.integer(a)==0 vs all.equal(a,0)
...much larger integers exactly.
I am getting very confused as to when to use integers and when not to.
In my line
I need exact comparisons of large integer-valued arrays, so I often use
as.integer(),
but the above seems to tell me that doubles might be better.
Consider the following R idiom of Euclid's algorithm for the highest
common factor
of two positive integers:
gcd <- function(a, b){
if (b == 0){ return(a)}
return(Recall(b, a%%b))
}
If I call this with gcd(10,12), for example, then a%%b is not an
integer, so the first
line of the function, testing b for being z...