Displaying 20 results from an estimated 500 matches similar to: "R-crash using read.shape (maptools)"
2003 Jul 11
3
VMware and NetBios Problem
With WinXP host, RH8 VMware guest, at level 3, I issue:
mount -t smbfs -o user,noauto,dmask=777,fmask=777,username=xx,
password=yy //DELLBOX/linuxShare /mnt/linuxShare
and get:
Connection to DELLBOX failed
SMB connection failed
timeout connecting to 192.168.113.1:139
Error connecting to 192.168.113.1
I cannot find this IP address anywhere. My tables indicate
that port 139 is
2010 Jan 25
4
R Output and ArcGIS
Dear all,
I've been using R on a Mac to process some data for export to ArcMap GIS (which only runs on Windows). ArcMap seems to require tab-delimited data (my data are in 3 columns), so I've been using the sep="\t" argument. However, this resulted in strange end-of-line characters when displayed on a PC. I looked in the write.table help file to find that eol="\r\n"
2007 Jun 14
1
blotched y-axis text in plot function
Hi List,
I have recently upgraded to opensuse10.2 and R 2.5 (compiled from
source). Now, whenever I use plot the y-axis and labels are black
blotches while x-axis and labels are fine.
Using demo(graphics) this occurs with plot/boxplot/hist/pairs/coplot but
not in the pie graphs and in the "The level of Interest in R" plot,
which uses axis to define the y-axis.
I presume this has to
2006 Nov 27
2
[R-sig-Geo] plot() and Jpeg() increase font size and resolution
Thanks to Edzer and Roger,
I can now plot with increased font sizes. However, jpeg still does not
reproduce these, nor does it show up in high quality. What I would like
to do is produce some highresolution jpegs.
Any help would be appreciated
Thanx
Herry
R2.4 on Mandriva 10.2 linux.
Dr Alexander Herr
Spatial and statistical analyst
CSIRO, Sustainable Ecosystems
Davies Laboratory,
University
2003 Sep 11
1
Is there any MFC-R2 implementation for asterisk?
The last thing that I read about it was:
Steve Underwood [steveu@coppice.org] wrote on Sep 3:
>> Is E&M designed to work with the E1 driver code? I think probably not. I
>> had to fix some things to get proper access to the CAS signaling bits
>> when I implemented MFC/R2...
So, apparently he implemented it.
I was trying to contact Steve, but he isn't answering me.
Does
2007 May 18
1
error: GLX extension missing on server
Hi List,
when loading library(rgl) I get error "RGL: GLX extension missing on
server". I have Mesa and xgl installed, but xgl info sais its an highly
experimental code. Does this mean I shouldn't bother for a while with
opengl or are there alternatives?
Any help appreciated
Thanx
Herry
R 2.4.1 on x86_64 opensuse 10.2
Dr Alexander Herr - Herry
Spatial and statistical analyst
2008 Jul 09
3
rbinom for a matrix
I have a large matrix full of probabilities; I would like to convert each
probability to a 1 or a 0 using rbinom.
How can I do this on the entire matrix? The matrix was converted from a
raster ArcMap dataset, so the matrix is essentially a map. Because of this,
I have no column headings.
Thanks!
--
View this message in context: http://www.nabble.com/rbinom-for-a-matrix-tp18366867p18366867.html
2009 Oct 19
1
Spatstat: xy binary data into mask type to use in owin(mask=)
Dear users,
I am trying to export polygons from Arcmap into Spatstat to run some
simulations using functions available in Spatstat package.
One particular area to be exported is formed by a number of polygons
defining the external boundaries of the area (as a groups of islands) and a
number of polygons inside the previous ones, as ?holes? not to be
considered as part of the area.
I have
2006 Nov 24
2
plot() and Jpeg() increase font size and resolution
Dear list,
I am having troubles increasing the fontize when plotting a
variogram{gstat} and its model (vgm) with plot and using jpeg(). Also
the resolution in the jpeg call does not work. I am using R2.4 on
Mandriva 10.2 linux.
I can change fontsize with cex.axis in a normal plot, so I presume it
has to do with plotting the variogram model. Any help on how to increase
the font size and
2003 Jul 09
1
RH8 guest: bad fs?
I recently reinstalled RH8 as a VMware guest on a WinXP box.
I used a previously proven script at level 3, containing, in
one line with no inappropriate spaces:
mount -t smbfs -o user,noauto,dmask=777,fmask=777,username=xx,
password=yy //DELLBOX/linuxShare /mnt/linuxShare
I get a failure that reports numerous possibilities including
bad fs, and other other things. I suspect I omitted a
2013 Apr 24
1
extract function extracting only NA values
Hello,
I have five raster files in ASCII format. With four of them I have no
problem extracting values based on a set of X and Y coordinates.
Unfortunately with one of the files all I managed to extract is NA
values. To verify the problem I have opened the raster with ArcMap and
there are no NA values where I am extracting. I have also plotted the
spatial point class on top of the raster in
2003 Jan 13
2
summarizing dataframe
Hi Listers,
Surely, I just have a mental block and there is a more elegant way of
creating a summary count (other than extracing it from ftable). I''d like to
create a new data.frame containing counts of spell by loc ie have three
columns showing spell,loc,count. Below the data.frame...
Any help appreciated
Thanks Herry
spell loc
101 Parts 1
102 Overall 2
105 Parts 1
106
2007 Jul 06
3
?replace characters within vector data
Hi List,
I want replace characters within a vector. Outside R I could use sed,
but I'd like to automate it in R. For example
vectorx
xxxyyz
xxxyyza
xxxyyzzb
I want to change to:
vectorx
aaayyz
aaayyza
aaayyzzb
The obvious replace command only deals with whole data entries?
Any hints would be appreciated.
Thanks
Herry
2018 Mar 06
0
raster time series statistics
Hi Herry,
This is probably due to a call to strptime (or similar). No, it
doesn't accept %Y-%m as a valid format. Maybe add a constant day to
all the dates as that will work:
dt<-list(ID=seq(1:24),month=rep(formatC(1:12,flag=0,width=2),2),
year=sort(rep(2016:2017,12)))
timelst<-paste(unlist(dt['year']),unlist(dt['month']),"01",sep="-")
2006 Dec 18
2
surface3d grid from xyz dataframe
Hi List,
I am trying to plot a grid with an overlayed height. I have a dataframe
with four variables:
x,y,gridvalue,height. The dataframe has 2.5mio observations (ie grid
points),
I assign colors through the gridvalue using map_color_gradient thus
producing:
x,y,gridvalue,height,gridcol as variables of the dataframe. The grid
dimensions are 1253 x 2001 (=2507253 data points).
My attempts with
2002 Dec 18
3
summary stats including NA's into new dataframe
List,
I am trying to extract summary statistics from a data frame with several
variables (and NAs) into a dataframe with the columns: Variablename (ie the
colnames of original data), mean, stdev, max, min, Valid N, Missing Values.
Extracting the statistics is straightforward using stack and aggregate.
However, I haven''t succeeded in obtaining the number of Missing Values. I
can extract
2007 Sep 19
4
fontsize in mosaic plot lables
Hi List,
I am trying unsucessfully to modify the fontsize of lables in mosaic:
require(vcd)
mosaic(Titanic, pop=FALSE,
labeling_args=list(rot_labels=c(bottom=90,top=90),
set_varnames = c(Sex = "Gender"),
gp_text=gpar(fontsize=20))) #can't get it to resize text
tab <- ifelse(Titanic < 6, NA, Titanic)
# it works for labeling_cells
labeling_cells(text = tab,
2018 Feb 15
3
using cat to log to file with sapply
Hi List,
I am trying to write unsuccessfully to a logfile with cat. Here my example code:
letters[1:5]->x
logf<-"test.txt"
cat('%%%%%%%%%%%%%%%%%%%%%%%%%%\n',file=logf)
catf<-function(x,...,logfile='log.txt', append=TRUE){ cat(x,'\n', file=logfile, append=append)}
testit<-function(x,...){
paste0('this is x: ',x)->y
return(y)
2018 Mar 05
4
raster time series statistics
Hi List,
The following code returns an "Error in as.POSIXlt.character(x, tz, ...) : character string is not in a standard unambiguous format"
require(raster)
require(rts)
require(stringi)
r <- raster(ncol=100, nrow=100)
values(r) <- runif(ncell(r))
list(ID=seq(1:24),month=rep(str_pad(1:12, pad = 0,width = 2 , "left"),2),year=sort(rep(2016:2017,12)))->dt
2010 Mar 05
1
hier.part
Hi everyone,
A beguinner question.
- How shall i import 9 different ascii (created from a gis layer (arcmap
grid)) into R to create a single dataframe for using in hier.part?
Should i use read.table, then turn each created object into a single vector
using unlist and finally use data.frame to joint all the vectors into a
unique data frame (xcan in the usage of hier.part) ?
I´ve been trying to