Displaying 20 results from an estimated 20000 matches similar to: "plot does not work"
2010 Sep 06
1
Two images functions
Hello everyone.
I would like to ask you what happens when two functions with the same name
exist. I discovered this today when I wrote
?images (I was trying to understand how it works)
?images gave me the following output:
Help on topic 'image' was found in the following packages:
Image
(in package raster in library
/home/apa/R/x86_64-unknown-linux-gnu-library/2.11)
Display a Color
2010 Jul 28
2
Beginner stucked with raster + geoR package.
Hello everyone.
I am trying to build up understanding in R by trying to develop just some simple
scenarios.
I would like to explain you what I am trying to do and what I did so far.
I would like to put inside a RasterLayer (raster package) a Gaussian field (for
given covariance) using grf function (geoR package)
1. First I created a Raster Layer object
r <- raster() # Default values are
2013 Oct 24
1
Plot.raster hides the axis layer
Hi all,
I am trying to plot a raster object (I can explain why but the point is that it would be a raster objeçt)..
I have selected a small code to show you exactly the problem
require(raster)
test<-matrix(data=runif(10000),nrow=100)
m<-raster(test)
plot(m,axes="FALSE")
axis(1,at=c(0,1),labels=c("a","b")) # THIS DOES NOT CHANGE THE INVISIBLE AXIS WHILE
2011 Nov 24
1
readGDAL or raster for reading bit map files
Dear all,
I have asked yesterday of how I can read a simple bitmap file in R cran.
I was suggest to use either readGDAL or raster for loading my bitmap
a. I have done it with readGDAL like
store<-readGDAL(fname='lena256.bmp')
and it works,... but it converts my matrix-like notion of a bitmap to a large vector
b. Raster also returns a class that I can not understand.
So 1,
2011 Apr 27
1
Eval to write many files
Dear all
I am looking for a shorter way and more elegant to write the following
for (i in c(1:length(Shadowlist))){
filename<-paste('/home/apa/maps/',model,i,'.mat',sep="")
varname<-paste(model,'_shadow',i,sep="")
eval(parse(text=paste('writeMat(filename,',varname,'=Shadowlist[[i]])',sep="")))
}
actually I do not
2013 Feb 20
1
ggplot2 customizing a plot
Dear all,
I want some help improve my ggplot as following:
Make the plottable area with grid, so is easy one to see where each box refers to x and y values.
Add a color bar but with fixed values, that I want to specify.
How I can do those two?
Before is some code what I have tried so far.
Regards
Alex
2008 Jul 25
3
[LLVMdev] Analysis Passes
Devang Patel wrote:
> On Jul 25, 2008, at 12:58 PM, Marc de Kruijf wrote:
>
> I'd like to write a pass that does both: implements a code transformation and saves information that can be accessed by subsequent passes.
>
> Ideally, we want to use two separate pass. However, it is quiet possible that your requirement is unique. Would it be possible to provide more info. on what
2015 Oct 08
2
Pool allocator + safecode
Thanks for the fast response John.
On Thu, Oct 1, 2015, at 04:51 PM, John Criswell wrote:
> Dear Ed,
>
> First, someone has updated the DSA code in the poolalloc project to LLVM
> 3.7, and a Master's student worked for me over the summer to update a
> large chunk of SAFECode to LLVM 3.7. However, the update to LLVM 3.7
> isn't finished (we need to finish integrating
2015 Oct 09
2
llvm-dev Digest, Vol 136, Issue 22
(Note to self: learn to scan the full digest for later messages in a thread before replying to an earlier message.)
Ed,
Your reply to John answered some of my questions, but not all, and raised a new one:
> Maybe I should have been a bit clearer; we're really interested in full
> memory and type safety. We want to harden the system against memory
> corruption vulnerabilities.
2004 Mar 12
1
Tinc over httptunnel
Hi,
I'm having some trouble trying to run tinc over GNU httptunnel. On
server A I have:
/etc/tinc/netname/tinc-up:
#!/bin/sh
ifconfig $INTERFACE 10.3.0.1 netmask 255.255.0.0
/usr/bin/hts -F localhost:655 8888
/etc/tinc/netname/hosts/A:
Address = foo.com
Subnet = 10.3.0.0/24
TCPonly = yes
/etc/tinc/netname/hosts/B:
ConnectTo = A
Subnet = 10.4.0.0/24
TCPonly = yes
2011 Nov 23
1
REad bitmap files
Dear all,
I am looking for a function that can read a simple bmp file and return me a matrix with their corresponding values.
I have already looked in the packages
require(ReadImages)
require(pixmap)
and also did apropos("image")
but I could not find something that can do something like that.
I have also tried the read.ftable but it also failed.
B.R
Alex
[[alternative HTML
2013 Feb 20
3
Relaying with Icecast - stand-by or active all the time?
The relaying-configuration seems to be straight-forward, unfortunately it
does not work. That's my configuration:
<relays-on-demand>1</relays-on-demand>
<relay>
<server>http://mp3stream7.apasf.apa.at</server>
<port>8000</port>
<mount>/</mount>
<local-mount>/oe3.mp3</local-mount>
<on-demand>1</on-demand>
2011 Sep 21
1
raster plot is empty
Dear R-help,
I have a problem plotting maps using the raster package when I use R
on my workplace server, but not when I use my own desktop. I suspect
the server version must be missing something and was wondering if
anyone would have any ideas.
The problem occurs after
library(raster)
f <- system.file("external/test.grd", package="raster")
r <- raster(f)
plot(f)
On
2006 Jan 07
1
How to DRY with Fixtures (helper or extend Time class, how)?
I have a test/fixtures/users.yml like so:
apa:
id: 1
username: apa
[...]
created_at: <%=Time.now.strftime("%Y-%m-%d %H:%M:%S")%>
updated_at: <%=Time.now.strftime("%Y-%m-%d %H:%M:%S")%>
I don''t like how I''m repeating myself with the strftime bit.
Is there some shorter Time method to format time for a (MySQL) datetime
field that
2009 Feb 21
1
Extracting xy from raster based on raster value
I have a raster (which I called glc), which I read
into R as a raster with "raster.create.from.file" from the raster package (R-forge). Values in glc range between 1 and 27 (whole numbers only). I'd like to extract all cells with a value of 1 to create
a new raster with only the cells that have a value of 1, or to extract
the xy values of all raster cells with a value of 1. Could you
2011 Jan 31
1
str() on raster objects fails for certain dimensions
Hi,
str() on raster objects fails for certain dimensions. For example:
> str(as.raster(0, nrow=1, ncol=100))
'raster' chr [1, 1:100] "#000000" "#000000" "#000000" "#000000" ...
> str(as.raster(0, nrow=1, ncol=101))
Error in `[.raster`(object, seq_len(max.len)) : subscript out of bounds
This seems to do with how str() and
2018 Mar 08
0
add single points to a level plot
Hi all,
I ran the code:
> s <- stack(replicate(2, raster(matrix(runif(100), 10))))
> xy <- data.frame(coordinates(sampleRandom(s, 10, sp=TRUE)),
+ z1=runif(10), z2=runif(10))
> levelplot(s, margin=FALSE, at=seq(0, 1, 0.05)) +
+ layer(sp.points(xy, pch=ifelse(pts$z1 < 0.5, 2, 3), cex=2, col=1),
columns=1) +
+ layer(sp.points(xy, pch=ifelse(pts$z2 < 0.5, 2,
2012 Jan 27
1
Overimposing one map in ssplot onto another
Hello!
I have 2 maps - both created in ssplot and both identical in terms of
outline. Is there any way to superimpose Map1 (which has black borders
between Canadian provinces) onto Map2 (which is also a map of Canada)?
Thanks a lot for your hints!
Dimitri
### A. Reading in Canada data at the province and then at the county level:
library(raster)
getData('ISO3') # Canada's code is
2013 Jan 29
2
Netcdf and Raster Package Questions, Need .asc File for GIS
Hello R-Group,
I am new working with netcdf files and the raster package in R.I am
trying to read in a netcdf file using the package "ncdf".I am able to
get the lat, lon and parameter I need and can plot using
fill.contour.Ultimately, I am trying to create a .asc file to reafd into
GIS.I am using the package "raster" to read the parameter.When I read in
with
2013 Apr 24
2
How to make a raster image in R from my own data set
Hi R-user,
I was trying to make a raster map with WGS84 projection in R, but I could not make it. I found one data set in Google that data is almost the same format as of mine. I wanted to make a raster map of temperature with 1 degree spatial resolution for the global scale.
I could make it in GIS software but I do have many variables (to be many raster images) and ultimately I am importing them