similar to: Matrix subscripting to wrap around from end to start of row

Displaying 20 results from an estimated 9000 matches similar to: "Matrix subscripting to wrap around from end to start of row"

2007 Sep 20
2
Superimposing vector polygons over raster grid in a plot
Hello: I would like to superimpose vector polygons (state outlines) from a Shape file on top of a satellite image, imported into a SpatialGridDataFrame from GEOTIFF via gdal_translate and readGDAL. When I plot polygon and point shape files in R, into SpatialPointDataFrame and SpatialPolygonDataFrame, the two feature sets line up geographically, so it seems logical that a SpatialGridDataFrame
2008 May 22
15
Pros and Cons of R
Hi, I am doing a very informal presentation for my office about R capabilities to deal with and analyze spatial data, display data and maps, and connections with GIS. I've used in my presentation info from the CRAN, the spatial Task view, and the more striking graphics examples from http://addictedtor.free.fr/graphiques/thumbs.php and NCEAS
2007 Dec 05
5
Which Linux OS on Athlon amd64, to comfortably run R?
Dear R-users. I eventually bought myself a new computer with the following characteristics: Processor AMD ATHLON 64 DUAL CORE 4000+ (socket AM2) Mother board ASR SK-AM2 2 Ram Corsair Value 1 GB DDR2 800 Mhz Hard Disk WESTERN DIGITAL 160 GB SATA2 8MB I'm a newcomer to the Linux world. I started using it (Ubuntu 7.10 at work and FC4 on laptop) on a regular basis on May. I must say I'm
2007 Dec 05
5
Which Linux OS on Athlon amd64, to comfortably run R?
Dear R-users. I eventually bought myself a new computer with the following characteristics: Processor AMD ATHLON 64 DUAL CORE 4000+ (socket AM2) Mother board ASR SK-AM2 2 Ram Corsair Value 1 GB DDR2 800 Mhz Hard Disk WESTERN DIGITAL 160 GB SATA2 8MB I'm a newcomer to the Linux world. I started using it (Ubuntu 7.10 at work and FC4 on laptop) on a regular basis on May. I must say I'm
2008 Mar 08
3
Problems with installing the rgl package on Linux
Dear All, I am trying to install the rgl package on R 2.6.1 running on Fedora 8 (Linux), but I am experiencing the following problems: ----------------------------------------- configure: error: X11 not found but required, configure aborted. ERROR: configuration failed for package 'rgl' ** Removing '/usr/lib/R/library/rgl' ----------------------------------------- Any ideas?
1999 Nov 05
1
"break" breaks _outer_ loop -- ugh!
It appears that "break" will break from the outermost enclosing loop not the innermost loop. Is it a bug or language feature? Tim -- Timothy H. Keitt National Center for Ecological Analysis and Synthesis 735 State Street, Suite 300, Santa Barbara, CA 93101 Phone: 805-892-2519, FAX: 805-892-2510 http://www.nceas.ucsb.edu/~keitt/
2007 Dec 03
1
again on ubuntu 7.10 and amd64
Hi there, this is my first post to the list. I'm a newcomer to the linux world. I started using it on a regular basis on May and I must say I'm quite comfortable with it, even if I have to re-learn a lot of things. But this is not a problem, I will improve my knowledge with time. My main problem now is that I bought myself a new computer (described at the end of this e-mail) and I was
2010 Oct 15
0
nomianl response model
Is there a way to estimate a nominal response model? To be more specific let's say I want to calibrate: \pi_{v}(\theta_j)=\frac{e^{\xi_{v}+\lambda_{v}\theta_j}}{\sum_{h=1}^m e^{\xi_{h}+\lambda_{h}\theta_j}} Where $\theta_j$ is a the dependent variable and I need to estimate $\xi_{h}$ and $\lambda_{h}$ for $h \in {1...,m}$. Thank you, Mauricio Romero Quantil S.A.S. Cel: 3112231150
2006 Oct 10
1
png problem on Intel Mac (PR#9287)
Full_Name: Daniel F Higgins Version: 2.4.0 OS: Mac OS X 10.4.8 Submission from: (NULL) (128.111.242.49) When running the commands png(filename='aaa.jpg', width=480, height=480) plot(c(1,2,3)) in the Mac OSX graphical interface window, the png file 'aaa.png' is created if one clicks on the 'X' icon to start the X window application first. However, if you enter
2004 Feb 14
1
speed in batch mode versus interactive mode
Hello R-users, is there a speed gain in submitting R code in batch mode as opposed to the normal interactive. I searched the R website and the archives, and only found a reference R-data.html that "to read in very large objects it may be preferable to use the dumpfile as a batch script rather than source". Is this true for any R code on both Windows and Linux systems, and how much speed
2012 Jul 03
1
how to plot the data in a map?
hi R-users: I have some data related with geographical information. I wonder how to plot some data (in contour,shaded or scatter) on a map. Could anyone tell me which package or reference or examples I can learn ? thank you . -- TANG Jie Email: totangjie@gmail.com [[alternative HTML version deleted]]
2006 Oct 10
1
error in dput applied to dataframe (PR#9286)
Full_Name: Daniel F Higgins Version: 2.4.0 OS: Windows XP and Mac OSX Submission from: (NULL) (128.111.242.49) Create a dataframe as indicated below and apply 'dput' to it; note that the row.names attribute is incorrect! > aaa <- c("AAA","BBB","AAA") > bbb <- c(1,2,3) > df <- data.frame(aaa,bbb) > dput(df) structure(list(aaa =
2012 Jul 18
2
plotting points to a map
Dear R users, I have a city map in shape file (polygon). I also have some points that I hope to plot them to the city map. The only information I have about those points are their relative longitude and latitude to the city center by miles. Is there a way that R can help me to do this? Thanks. Gary [[alternative HTML version deleted]]
1999 Dec 27
1
Anything for fractals ?
Hallo, I am a newbie to R and desperatley seeking some material about fractal geometry. I found the great library on wavelet analysis of images and I'm now also keen on finding a similar package for calculating fractal parameters for given images. Does anybody know something about such a package? Every hint is greatly appreciated!! I searched already the database, but did not find anything
2003 Aug 19
3
Is rl broken?
Greetings, I cvsup'd and rebuilt a FreeBSD 4.8 system last Friday after receiving the realpath security advisory. The machine is remote and the NIC uses the rl driver. After booting the machine I had no network connectivity. The person at the remote site says the boot was normal and he could see that the NIC was properly configured but he could not ping it and I could not login. We booted
2016 Apr 11
2
discussions around upstream documentation
On Mon, Apr 11, 2016 at 10:37 AM, Karsten Wade <kwade at redhat.com> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 04/11/2016 09:18 AM, Jim Perrin wrote: >> What are the thoughts or concerns about this sort of workflow >> change? > > Any chance Moin Moin can store wiki source in git and sync > automatically with a central git repository?
2009 Apr 29
2
Re moving unwanted double values in list
I have a procedure that goes sorts out some numbers based on specidifed criteria and for some reason the list contains double values in some of the rows such as: TAZs <- [[84]] [1] 638 [[85]] [1] 643 [[86]] [1] 644 732 [[87]] [1] 651 801 i would like to check list TAZs for double values and remove any if present. I have tried if (length(TAZDs==2)) rm(TAZDs[2]) but no luck. I cant
2016 Apr 11
6
discussions around upstream documentation
There is a Fedora Activity Day (https://fedoraproject.org/wiki/FAD_Documentation_2016 ) centered around documentation, where I'm going to see what can be done about the state of centos documentation from upstream sources. Most of the tooling for documentation for these two groups is centered around git. For the most part, our documentation currently lives in the wiki, and has a fairly high
2007 Feb 21
3
Examples on how to READ/WRITE to database using R-Project
Hi, We are working on a project on forecast modeling and would like to know if there are any examples on how to READ/WRITE to a database (e.g. PostgreSQL) using R-Project. I do have a sample R Script which takes input as files from a directory and writes back output files to a directory. I would like to convert this script to read from a database and write back the output to a database.
2002 Nov 27
0
subscripting a column from a data frame: row.names are dropped
Hi, When a single column is subscripted from a data frame it doesn't inherit the row names of the data frame. I find it surprising given the extent to which R tries to carry names across computations. Is there a good reason for this? Here is what I mean in details: > y <- data.frame(a=c(1,2), b=c(1,2), row.names=c("x","y")) y <- data.frame(a=c(1,2), b=c(1,2),