Re: [R] write geotiff with projection - RGDAL package

2007-09-07 Thread Roger Bivand
rmation is there, it is just that ESRI products only look for it in places they have thought of, not in the proper places. If necessary, showWKT() can make a *.prj file. Otherwise just override ESRI. Roger > > Thanks, > > Monica > > > _____

Re: [R] geotiff or tiff files with world files

2007-09-06 Thread Roger Bivand
Monica Pisica hotmail.com> writes: > > > Hi, > > I have a matrix of data which i can vizualize as an image - for example. > I would like to save this image as a > geotiff file or at a tiff file with a world file which holds the projection > of my data (ultimately the data > represent a map of

Re: [R] [R-sig-Geo] Plot SpatialLinesDataFrame with xlim & ylim

2007-07-11 Thread Roger Bivand
differ. > E.g.: > tmp <- readShapeLines(filepath) > plot(tmp,xlim=c(-126,-119),ylim=c(50,51)) > > The y-axis range is actually 47-54, same range as the x-axis. What am I > doing wrong? Should I be using a different object for simple coastline & > river data? > Tha

Re: [R] installing GRASS-R packages

2007-06-13 Thread Roger Bivand
GRASS STATGRASS list. It is also good practice to say what platform you are on (OS, R version, etc.) as reported by sessionInfo(). > Thank you very much by advance > <http://probability.ca/cran/> > > -- Roger Bivand Economic Geography Section, Depar

Re: [R] Build Windows pkgs from source - online

2007-06-12 Thread Roger Bivand
read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 B

Re: [R] Starting R within an VBA makro

2007-06-11 Thread Roger Bivand
l. So is it possible? http://cran.r-project.org/contrib/extra/dcom/00ReadMe.html and RSiteSearch("Excel VBA") Maybe something like that: sub test() 'calculate something start R superplot.R end test() Thank you so much. Kindly regards, Maja -- Roger Bivand E

Re: [R] spgrass6 and aggregation (bis)

2007-06-06 Thread Roger Bivand
e has a suggestion ?? > > Thanks in advance > > > Jess > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.or

Re: [R] kernel smooth for tw-dimensional data

2007-06-05 Thread Roger Bivand
self-contained, reproducible code. > > > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commente

Re: [R] spatial simulation

2007-06-02 Thread Roger Bivand
//stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics an

Re: [R] [R-sig-Geo] Connecting to PostgreSQL/PostGIS from R (rgdal?)

2007-05-30 Thread Roger Bivand
ts lined up isn't easy, according to people who have tried, but can be done if you need to do it. Hope this helps, Roger > > Thanks in advance for any help, > Mike > > _______ > R-sig-Geo mailing list > [EMAIL PROTECTED] >

Re: [R] Zipcodes latitude and longitude

2007-05-23 Thread Roger Bivand
nterpolated rather than observed. Follow-ups to R-sig-geo, please. Roger > > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +

Re: [R] Graphically show population density for a specific geographicarea using R

2007-05-21 Thread Roger Bivand
c objects (SpatialLinesDataFrame object > from the readLinesShape function). I would expect that they would have > an auxvar or similar argument also. Or you can decide what color you > want to use, plot the overall map, then add each county/zipcode > individually using the specified

Re: [R] a question about spatial autocorrelation in R

2007-05-14 Thread Roger Bivand
t/epam > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reprodu

Re: [R] control margin when plotting polygons?

2007-05-12 Thread Roger Bivand
blication, editing externally may be an option. Roger > > Thanks a lot. > > Best, > > Shengde Liang > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do

Re: [R] Help with map

2007-05-05 Thread Roger Bivand
On Sat, 5 May 2007, Alberto Vieira Ferreira Monteiro wrote: > [for those that worry about these things, this _is_ a homework > assignment. However, it's not an R homework, it's a Geography > and History homework... and I want to use R to create a pretty > map] > > Rog

Re: [R] Help with map

2007-05-04 Thread Roger Bivand
P_AB, "polygons"), function(x) slot(x, "ID")) So adding a suitable data frame gets you to the lattice graphics method spplot(SP_AB, "my_var") Hope this helps, Roger > > Alberto Monteiro > > __ > R-help@stat.

Re: [R] Off topic? Geographic data

2007-05-03 Thread Roger Bivand
se, creating opportunties for service providers. Most of these data formats can be read by functions in maptools or rgdal. Roger > > Alberto Monteiro > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30,

Re: [R] intersect filled.contour and polygon

2007-05-01 Thread Roger Bivand
mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Admi

Re: [R] Greek symbols in xtable rows

2007-04-29 Thread Roger Bivand
On Tue, 17 Apr 2007, James W. MacDonald wrote: > Roger Bivand wrote: > Andris Jankevics osi.lv> writes: > > >>Thank You for answer. I Tried code that You provided in reply to my question >>on both PC's with Linux and Widows OS. >> > > Yes, I have

Re: [R] Help with saptial analysis (cluster)

2007-04-27 Thread Roger Bivand
ONKELINX, Thierry inbo.be> writes: > > Dear Fransico, > > The distance matrix would be 102000 x 102000. So it would contain 1040400 values. If you need one bit for > each value, this would requier 9,7 GB. So the distance matrix won't fit in the RAM of your computer. Perhaps you could mak

Re: [R] Greek symbols in xtable rows

2007-04-17 Thread Roger Bivand
On Tue, 17 Apr 2007, James W. MacDonald wrote: > Roger Bivand wrote: > Andris Jankevics osi.lv> writes: > > >>Thank You for answer. I Tried code that You provided in reply to my question >>on both PC's with Linux and Widows OS. >> >>On linux

Re: [R] Greek symbols in xtable rows

2007-04-17 Thread Roger Bivand
Andris Jankevics osi.lv> writes: > > Thank You for answer. I Tried code that You provided in reply to my question > on both PC's with Linux and Widows OS. > > On linux box output is: > ... > > System information: > > > sessionInfo () > R version 2.4.0 (2006-10-03) > i686-redhat-linux-gnu

Re: [R] R Source Code

2007-04-13 Thread Roger Bivand
> __ > [EMAIL PROTECTED] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > --

Re: [R] data encapsulation with classes

2007-04-08 Thread Roger Bivand
nfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School o

Re: [R] how to image.plot a XY grid file into a lat-lon map

2007-04-05 Thread Roger Bivand
ean by "grid2d file that describes the lat and lon for each > (X,Y) grid"? > If this are two rasters of the same size having corresponding latitude and > longitude values in each raster cell, then you could use contourLines to get > lat-lon grid. However, you, probably, w

Re: [R] gpclib library

2007-04-05 Thread Roger Bivand
__ > >> R-help@stat.math.ethz.ch mailing list > >> https://stat.ethz.ch/mailman/listinfo/r-help > >> PLEASE do read the posting guide > >> http://www.R-project.org/posting-guide.html > >> and provide commented, minimal, self-contained, reproducible code. &

Re: [R] Problems loading package GeoXp

2007-04-05 Thread Roger Bivand
cltk' não pôde ser carregado > > Can this package only be used under Windows?? No, it works on Linux workstations. > > > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norwa

Re: [R] Info on SPATSTAT window and maps

2007-04-04 Thread Roger Bivand
lman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Adminis

Re: [R] confine a dataframe with a polygon

2007-04-03 Thread Roger Bivand
ie inside or outside a polygon? If so, the overlay() methods in the sp package may be suitable. > > regards > > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voi

Re: [R] Trouble installing package 'sp' in R 2.4.1

2007-03-30 Thread Roger Bivand
what is the matter with the mirror, and get it corrected, that would be welcome. > > Duncan Murdoch > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http

Re: [R] character to numeric conversion

2007-03-19 Thread Roger Bivand
gt; > > > > > -- > Robin Hankin > Uncertainty Analyst > National Oceanography Centre, Southampton > European Way, Southampton SO14 3ZH, UK > tel 023-8059-7743 > > __________ > R-help@stat.math.ethz.ch mailing list > https:/

Re: [R] order of values in vector

2007-03-19 Thread Roger Bivand
3,] 5 50 [4,] 4 40 [5,] 6 60 [6,] 1 10 > > I'm most grateful for a tip! > > cheers, > Tord > > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien

Re: [R] An example of "overloading" [

2007-03-12 Thread Roger Bivand
lp files, REGEX's are used, so for "[", you > > > would need: > > > > > > help.search ("\\[") > > > > > > since '[' is a special character in regular expressions and you need to > > > escape it to search on t

Re: [R] Analysis of 3-dimensional spatial point patterns

2007-03-12 Thread Roger Bivand
p > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administr

Re: [R] convert pixels into axis coordinates in R

2007-03-12 Thread Roger Bivand
t.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 95

Re: [R] Using large datasets: can I overload the subscript operator?

2007-03-09 Thread Roger Bivand
urn a 2-dimensional array > dataset [, [2], [3], drop = F] # Return a 1-dimensional array, like dataset > [, 2, 3] > > Thanks in advance for any help, > > Maciej. > > [[alternative HTML version deleted]] > > __ > R-help@stat.math.ethz.ch mailing lis

Re: [R] map population density

2007-02-28 Thread Roger Bivand
www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55

Re: [R] .C HoltWinters

2007-02-28 Thread Roger Bivand
[[alternative HTML version deleted]] > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. &

Re: [R] RDA and trend surface regression

2007-02-27 Thread Roger Bivand
account > > > > > > > You must *I*solate the polynomial terms with function I ("AsIs") so that > > they are not interpreted as formula operators: > > > > rda(Helling ~ x + y + I(x*y) + I(x^2) + I(y^2) + I(x*y^2) + I(y*x^2) + > > I(x^3) + I(y^3

Re: [R] How to print a double quote

2007-02-22 Thread Roger Bivand
.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Roger Bivand Economic Geography Section, Department o

Re: [R] random uniform sample of points on an ellipsoid (e.g. WGS84)

2007-02-22 Thread Roger Bivand
. I can supply random numbers, want latitude > longitude pairs out. > > Can anyone point me at a solution? Thanks very much. > http://www.csit.fsu.edu/~burkardt/f_src/random_data/random_data.html looks promising, untried. > > -- Roger Bivand Economic Geography Section, D

Re: [R] Spatial error model estimation

2007-02-22 Thread Roger Bivand
he posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Berg

Re: [R] Reading Post-Script files

2007-02-20 Thread Roger Bivand
ng guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voi

Re: [R] Google, hard disc drives and R

2007-02-19 Thread Roger Bivand
ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Ec

Re: [R] count sequence of integers

2007-02-15 Thread Roger Bivand
___ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Roger Biv

Re: [R] Polygon triangulation?

2007-02-13 Thread Roger Bivand
ing-guide.html > and provide commented, minimal, self-contained, reproducible code. > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-g

Re: [R] Scope

2007-02-08 Thread Roger Bivand
info/r-help > > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > > > __ > R-help@stat.math.ethz.ch mailing list > https://sta

Re: [R] Running source from Unix line

2007-02-08 Thread Roger Bivand
ce("filename")' | R [options], or cat filename | R > > Thank you all > Amir. > > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen,

Re: [R] Diffrerence in "%in%" function to boundry setting via <>

2007-02-08 Thread Roger Bivand
Unfortunately with my data I used I got around 8000 values from my set with > version1 but about 24000 with version2. IS there some main diffrence I > didn't take into account or is my system just behaving irrational (that's > what I think if you look at Example2)? > >

Re: [R] about compile the R 2.4.1 sources

2007-02-07 Thread Roger Bivand
listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administr

Re: [R] How to do "moran's I test"?

2007-02-06 Thread Roger Bivand
ocorrelation of "dbh" in different distances > by "x" and "y". > > > > Thanks, > > Jian Zhang > > > [[alternative HTML version deleted]] > > __

Re: [R] Problems installing R-2.4.1 on Solaris 11 x-86 from source: error in "gmake" after successful "configure"]

2007-02-05 Thread Roger Bivand
On Mon, 5 Feb 2007, Roger Bivand wrote: > On Mon, 5 Feb 2007, Octavio Tourinho wrote: > > > Dear friends, > > I am trying to install R-2.4.1 from source on Solaris 11 x-86_64. > > running on Sun Ultra-20 workstation, and using the SunStudio 11 compilers. > > &

Re: [R] Problems installing R-2.4.1 on Solaris 11 x-86 from source: error in "gmake" after successful "configure"]

2007-02-05 Thread Roger Bivand
7;CC', 'cxx', and ## 'cc++' (in that order). CXX="/opt/SUNWspro/bin/CC -xarch=amd64" > > Any help would be sincerely appreciated, as I have exausted my debugging > resources. I believe that there is a problem with the configure script > in dealin

Re: [R] writing a fomated matrix

2007-02-05 Thread Roger Bivand
t; > any idea? > > Kind regards, > > Miltinho > > __ > > > [[alternative HTML version deleted]] > > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Hell

Re: [R] Loop with string variable AND customizable "summary" output

2007-01-29 Thread Roger Bivand
rom using the summary() method on the lm object (that is on the summary.lm object). Use str() to look at the summary.lm object to see what you want. > > Or may be a customizable regression output already exists? > > Thanks really a lot! > > Carlo > > _______

Re: [R] sp: proj4string has no impact

2007-01-17 Thread Roger Bivand
> Potsdam University > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-co

Re: [R] Regression lines

2007-01-12 Thread Roger Bivand
h/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Admin

Re: [R] map data.frame() data after having linked them to a read.shape() object

2007-01-10 Thread Roger Bivand
t;simple" data frame > > # bind data together: > #Alternative 1: > a$att.data = cbind(a$att.data, datfr[,61:109]) > # Other alternatives: > test = matrix(ncol=49) > a$att.data[,61:109] = test > a$att.data[,61:109] = datfr[,61:109] > > # plot: > plot(a, auxvar=a$at

Re: [R] Logical operations or selecting data from data.frames

2007-01-09 Thread Roger Bivand
> > 2 > > > > I am trying to select rows from the data.frame which have Ddtd > x, > > VaR < DdtdAbs and DdtdDuration > z. > > > > Thank you, > > Benjamin > > > > __ > R-help@stat.math.e

Re: [R] write() gotcha

2006-12-18 Thread Roger Bivand
; > > $language > [1] "R" > > $version.string > [1] "R version 2.4.0 (2006-10-03)" > > > -- > Robin Hankin > Uncertainty Analyst > National Oceanography Centre, Southampton > European Way, Southampton SO14 3ZH, UK > tel 023-8059-7743 &

Re: [R] Function to fit a STARIMA model

2006-12-15 Thread Roger Bivand
l panel models (not yet in R) and in the hierarchical model framework (again not yet in R, although the spBayes package may offer some possibilities). > > Thanks, > > Rajesh. > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Bu

Re: [R] Paste function and backslash

2006-12-08 Thread Roger Bivand
linux-gnu > status > major 2 > minor 4.0 > year 2006 > month 10 > day03 > svn rev39566 > language R > version.string R version 2.4.0 (2006-10-03) > -- Roger Bivand Economic Geography Section, Department of Economic

Re: [R] making a grid of points

2006-12-07 Thread Roger Bivand
h row of the data frame output by expand.grid(). Roger > > Thanks. > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 e-mail: [E

Re: [R] Heteroscedasticity consistent standard errors for Spatial error models

2006-12-07 Thread Roger Bivand
do read the posting guide http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > > > > > ______ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman

Re: [R] test of spatial dependence?? - ask an ecologist?

2006-12-06 Thread Roger Bivand
read the posting guide http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > > > > > > > > O Yahoo! está de cara nova. Venha

Re: [R] double precision

2006-12-05 Thread Roger Bivand
. +972-52-3422204 > [EMAIL PROTECTED] > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, mi

Re: [R] memory problem [cluster]

2006-12-02 Thread Roger Bivand
g rows, and if # is more than a modest number, not print the obs. numbers, just the total? Roger While my approach has not *yet* been published, the original source [4] by Roger Bivand certainly has. Just a reminder. That said, I would highly recommend reading up on the background literatur

Re: [R] Demand of help

2006-12-01 Thread Roger Bivand
___ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -

Re: [R] *** caught segfault *** error

2006-11-30 Thread Roger Bivand
) > > Possible actions: > 1: abort (with core dump) > 2: normal R exit > 3: exit R without saving workspace > 4: exit R saving workspace > Selection: > > > The same commands work fine in my laptop (Intel Pentium 4 CPU 2.00 > GHz, with 512 MB RAM), where I u

Re: [R] Aligning aerial photographs and maps

2006-11-28 Thread Roger Bivand
If someone has written code for such kind of alignments or can direct me > to detailed instructions on how to go about, I would be grateful. ft. > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveie

Re: [R] Advice on Grid Data

2006-11-24 Thread Roger Bivand
On Fri, 24 Nov 2006, Lorenzo Isella wrote: > On 24/11/06, Roger Bivand <[EMAIL PROTECTED]> wrote: > > On Fri, 24 Nov 2006, Lorenzo Isella wrote: > > > > > Dear All, > > > I would like to automate the analysis and plotting of data taken from a > >

Re: [R] Advice on Grid Data

2006-11-24 Thread Roger Bivand
__ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Roger Bivand E

Re: [R] [R-sig-Geo] plot() and Jpeg() increase font size and resolution

2006-11-23 Thread Roger Bivand
Ecosystems: http://www.cse.csiro.au/ > > ___ > R-sig-Geo mailing list > R-sig-Geo@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/r-sig-geo > -- Roger Bivand Economic Geography Secti

Re: [R] Can I execute the content of a character vector?

2006-11-13 Thread Roger Bivand
a parameter > file with names, flags and this "seq" somethimes will be something like > c("1","99,"3") or even c("") > > executing the content would be an easier step for me > > thanks! > > -- Roger Bivand Economic Geography Se

[R] POSIXlt converted to POSIXct in as.data.frame()

2006-11-09 Thread Roger Bivand
tal. Using I() seems to be a work-around: my_DF <- data.frame(my_POSIXa=I(my_POSIX)) str(my_DF) class(my_DF$my_POSIXa) DF_Date <- as.Date(my_DF$my_POSIXa) str(DF_Date) DF_Date In the original problem (conversion of a list read from PostgreSQL to a data frame with as.data.frame()), havin

Re: [R] wrong fill colors in polygon-map

2006-11-07 Thread Roger Bivand
trum > Konrad-Zuse-Str. 1 > 18057 Rostock > Tel.: (0381) 2081-148 > Fax: (0381) 2081-448 > Mail: [EMAIL PROTECTED] > > > > > -Original Message- > From: Roger Bivand [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 7. November 2006 13:27 > To: Frosch,

Re: [R] wrong fill colors in polygon-map

2006-11-07 Thread Roger Bivand
Konrad-Zuse-Str. 1 > 18057 Rostock > Tel.: (0381) 2081-148 > Fax: (0381) 2081-448 > Mail: [EMAIL PROTECTED] > > > > > > > -- > This mail has been sent through the MPI for Demographic Rese...{{dropped}} > > ______ > R-help@stat.math.ethz.ch mailing

Re: [R] Re : Draw a circle with a given radius in an existing map

2006-11-06 Thread Roger Bivand
lman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > > > > > > ___ > Découvrez une nouvelle façon d'obtenir des réponse

Re: [R] Installing a package - and making it work?

2006-11-03 Thread Roger Bivand
; > > [[alternative HTML version deleted]] > > > > __ > > R-help@stat.math.ethz.ch mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-co

Re: [R] Installing a package - and making it work?

2006-11-03 Thread Roger Bivand
TML version deleted]] > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contai

Re: [R] How to find further informations on specific options?

2006-10-31 Thread Roger Bivand
spatial package is documented in full in Venables & Ripley (2002) Modern Applied Statistics with S, Chapter 15, section 2, pp. 425-430 (in the References section of the help page). However, on ?surf.gls, the See Also section provides links to help pages describing expcov, gaucov, and sphercov,

Re: [R] for importing "data"

2006-10-30 Thread Roger Bivand
PROTECTED] > > [[alternative HTML version deleted]] > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html &

Re: [R] any good way to convert sp class objects to splancs object

2006-10-25 Thread Roger Bivand
? Have you tried the spspatstat wrapper package on the R-spatial sourceforge repository? The as() coerce method should get you there. If you really mean splancs, there are not wrappers yet, but are on their way. (Consider posting on R-sig-geo for specific questions like this). Roger > > ch

Re: [R] ReadLines question

2006-10-21 Thread Roger Bivand
On 21 Oct 2006, Peter Dalgaard wrote: > Roger Bivand <[EMAIL PROTECTED]> writes: > > > On Sat, 21 Oct 2006, Jonathan Greenberg wrote: > > > > > That looks to me like an infinity sign (I have no idea why that is part of > > > the header of this fi

Re: [R] ReadLines question

2006-10-21 Thread Roger Bivand
he column names anyway, jump over the header and insert them yourself. Alternatively filter the non-ASCII character out before reading, it looks predictably like a degree sign. In any case, the character is not very practical in a column name. Roger > > --j > > > On 10/21/0

Re: [R] ReadLines question

2006-10-21 Thread Roger Bivand
7.446, > 37,10/1/2005 1:30,47.982, > 38,10/1/2005 2:00,48.517, > 39,10/1/2005 2:30,49.228, > > Why am I getting this error? Are those quotation marks causing the hiccup? > If so, how do I get around this programmatically? > > --j > > -- Roger Bivand E

Re: [R] one is not one

2006-10-21 Thread Roger Bivand
at.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Roger Bivand Economic Geography Section, Department of Eco

Re: [R] conversion of LL coordenates to UTM problems (ED50-WGS84 format)

2006-10-18 Thread Roger Bivand
> Berta. > > [[alternative HTML version deleted]] > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html

Re: [R] R and shapefiles

2006-10-16 Thread Roger Bivand
ng-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95

Re: [R] Problem loading SpareM package

2006-10-12 Thread Roger Bivand
; __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.

Re: [R] Rank Function

2006-10-10 Thread Roger Bivand
nimal, self-contained, reproducible code. > > > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented

Re: [R] merge and polylist

2006-10-09 Thread Roger Bivand
l to the row names of the output data frame - but can be in a different order. Constructing the SpatialPolygonsDataFrame will put the data frame rows in the order of the polygons. Roger > Thanks so much for your help! - Original Message From: Roger Bivand <[EMAIL PROTECTED]

Re: [R] Probability of exceedance function question

2006-10-09 Thread Roger Bivand
yULcorner <- yLLcorner + (cellsize * (nrow(area) - 1)) > yURcorner <- yULcorner > yLRcorner <- yLLcorner > coordsa <- expand.grid(y = seq(yULcorner, yLRcorner, by = -20),x = > seq(xULcorner, xLRcorner, by = 20)) > area<- data.frame(coordsa, tmin = as.vector(c(area,recu

Re: [R] Probability of exceedance function question

2006-10-08 Thread Roger Bivand
, as I have to do this on 10 datasets?) > > Thanks for any advice you can offer to this endevour > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-proj

Re: [R] merge and polylist

2006-10-08 Thread Roger Bivand
ld-style classes. Roger > #_____ > > All works fine, but merge() changes the rownames and the link between the > polygons and the corresponding rows is lost. I tried numerous other > solutions (such as

[R] (no subject)

2006-10-07 Thread Roger Bivand
t;y_rdm<-coord$y_utm[1]+radius*sin(angle) > >>result<-as.data.frame(cbind(x_rdm,y_rdm, x_utm, y_utm)) > ># We can calculate the distance between the original and the random > ># location > >> result$dist_m<-sqrt(((coord$x_utm-result$x_rdm)^2+ > > (coord$y_utm-resul

Re: [R] compiling rgdal package on windows / macos

2006-10-05 Thread Roger Bivand
ye's frameworks (rgdal binaries are provided in harmony with PROJ.4 and GDAL). By the way: RSiteSearch("rgdal macosx") first hit takes you to a recent reply on this topic on the R-sig-geo list. > any tips on getting the rgdal package up and running on MacOS or Windows > would

Re: [R] (installing on SUSE readline failure)

2006-10-02 Thread Roger Bivand
ASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Admi

Re: [R] autologistic model? - what package?

2006-09-30 Thread Roger Bivand
ersion deleted]] > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contai

Re: [R] hcc not found, rcmd build

2006-09-29 Thread Roger Bivand
_ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Roger Bivand Economic Ge

  1   2   3   4   5   >