Displaying 20 results from an estimated 200 matches similar to: "importing .bil files"
2006 Jun 14
4
write data from function into external table
Dear list,
My apologies if a solution / explanation to this already exists on the list,
but it is difficult to assign it to a certain keyword.
test<-c(1:3)
testfct <- function(x) {test[1]<-100}
test
[1] 1 2 3
testfct(1)
[1] 1 2 3
Basically, I would like to write data into an external table that the function
does not know. Why is this not working / what alternatives exist?
Thanks,
2008 Jan 07
4
is there something like or() ?
hi, this may be trivial, but we can't seem to find anything adequate,
(although there is a work around with match() ). We are looking for something
along the lines of
plot(table1[table1$var2==or("a","b","c","d"),"var1"])
would be handy, with the potential or() function leading to what
plot(table1[table1$var2=="a" |
2008 Jun 18
4
Editor for Mac OSX
Dear R-list
I am (forced) to change from Linux to Mac and am now looking for a new editor for R. I would like one that features a split window (console + editor) as well as syntax highlighting. Can anyone help? Especially the split-window feature does not seem to be easily available in the editors desribed on the R-help site, except Emacs, which I am reluctant to start using. I am on a MacBook Air
2004 Oct 20
2
common axis label in multiple plot area
Hello
A very short question: Using multiple plots with par(mfrow=c(3,3)), how
can I get R to indicate one common y- and x-axis label? I tried to use
text() in par, but this is then overwritten when I plot the graphs.
--
Sebastian Leuzinger
Institute of Botany, University of Basel
Schönbeinstr. 6 CH-4056 Basel
Ph. 0041 (0) 61 267 3511
fax 0041 (0) 61 2673504
email: Sebastian.Leuzinger@unibas.ch
2004 Feb 12
1
Importing BSQ/BIP/BIL files into R
I was hoping I could get some help with an import question. I work with
remote sensing imagery which commonly comes in binary form in various
interleaving formats (byte interleaved by line, by pixel, etc..). These
files are 2d spatial x B bands in size, and I want to be able to extract the
band values from various pixels (so each line of data into R would be one
pixel x B bands).
What's the
2005 Dec 13
2
interruption when pasting code into R under linux
hello,
has anyone come across the following rather mysterious problem:
when pasting large bits of code (100 and more lines) into the R console with
the central mouse button (under linux), only part of the code is pasted, and
the text interrupts somewhere arbitrarily. It does not happen when smaller
bits are pasted subsequently.
I use linux suse 9.3 with the latest version of R
2005 Jul 28
1
stl()
Hello, anyone got an idea on how to use stl() so that the remainder eventually
becomes white noise? i used stl repeatedly but there is autocorrelation in
the remainder that i can't get rid of.
os: linux suse9.3
------------------------------------------------
Sebastian Leuzinger
Institute of Botany, University of Basel
Sch??nbeinstr. 6 CH-4056 Basel
ph 0041 (0) 61 2673511
fax 0041 (0)
2005 Dec 01
4
suppress tick labels
hello,
is R able to suppress tick labels (not tick marks)? i know there is a way
around this with axes=F and then draw new axes, but it would be easier to
suppress them in the first place.
--
------------------------------------------------
Sebastian Leuzinger
Institute of Botany, University of Basel
Sch??nbeinstr. 6 CH-4056 Basel
ph 0041 (0) 61 2673511
fax 0041 (0) 61 2673504
email
2005 Apr 27
3
libz library missing while installing RMySQL
Hello
Trying to install the MySQL package, I get the following error. The help
archive contains something on this issue but did not help. I work on linux
suse 9.3
Configuration error:
Could not locate the library "libz" required by MySQL.
The library libz however is not on any mirrors I checked.
------------------------------------------------
Sebastian Leuzinger
web
2007 Aug 21
7
Signin to LinkedIn
Hi,
Does anyone have the formula for getting logged into LinkedIn?
Here''s my current attempt:
require ''rubygems''
require ''mechanize''
agent = WWW::Mechanize.new
home_page = agent.get(''http://www.linkedin.com'')
signin_page = agent.click home_page.links.text(''Sign in'')
puts "\nSIGNIN PAGE"
2005 Apr 26
2
.libPaths()
Hello
I use the function .libPaths()
> .libPaths()
[1] "/usr/local/lib/R/library"
> .libPaths(c("/usr/local/lib/myRlib","/usr/local/lib/library"))
> .libPaths()
[1] "/usr/local/lib/R/library"
but it simply does not pick up the new path. Can anybody help?
(The problem originates from the inability to install packages
into
2005 Oct 18
1
change factor labels
it must be terribly simple, can someone quickly help me?
test <- data.frame(y=c(1:10), x=as.factor(c(rep("a",5),rep("b",5))))
how can i change the factor labels from "a" and "b" to for example "u" and
"v"?
i don't succeed with factor()
thanks a lot
------------------------------------------------
Sebastian Leuzinger
2006 Aug 10
1
installing rimage
dear list
while installing the package rimage, i get the error message
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
configure: error: Sorry, can't find jpeglib header
ERROR: configuration failed for package 'rimage'
although i have installed jpeglib as required. does R not find this library?
but why did it find the fftw library
2005 May 03
3
RMySQL installation: libz missing
Hi
I run suse linux 9.1 and I installed MySQL server, client, devel, bench.
DBI is installed, when I try to install RMySQL I get an error saying,
that libz is missing.
(paths to libs were set:export PKG_CPPFLAGS="-I/usr/include/mysql/"
export PKG_LIBS="-L/usr/lib/mysql/ -lmysqlclient")
so my question: where do I get the libz files (are these mysql files? if
yes, why were
2007 Feb 11
2
"no camping required" deployment?
Hi,
So Lennon got me going with my database-less Camping app,
but I''ve just realized that, I have no deployment strategy.
This app is to provide a GUI front end to our FUN3D fluid
flow simulation monster, which is used by ourselves, companies,
universities, hobbyists, and the military. The end result
of which, is a file of (key, value) pairs read by FUN3D.
Requiring our users to have
2008 Jul 09
1
matplot help
Hi,
My question is how do I gain control over what values the X and Y axis show. Below is a sample plot I have made and want the X axis to represent a time vector with values taking the form Q1.60, Q2.60, Q3.60...Q1.90..etc...Currently the X axis starts with value 0 and increases by 1 through the end of the sample.
win.graph()
matplot(v.0,log.diff.v.6,type="l",lty=1, col=2,
2007 Feb 09
2
a series of tabbed forms
Hi,
I''ve previously described one of my wish list items,
http://kleb.tadalist.com/lists/public/427170
in
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/217068
where I basically take a hash of hashes and create
a set of tabbed dialogs for each key of the large hash
where each tab has a form to set each key-value pair
of the embedded hashes.
Toward this end I looked
2006 Feb 08
3
Newbie and MySQL
Please forgive me if this has been answered in another post. I''ve looked
around but couldn''t find a solution.
I bought the book "Agile Web Development with Rails" and think I''m going
to really like it. I went through the first chapter with no problems.
However, as I begin developing the database on page 57, I get a
consitent error:
Before updating scaffolding
2007 Apr 28
6
RESTful web service tutorial?
Hi,
I would like to turn some of our simulation codes
out to pasture and string some of them together
by draping them in web services.
I''m looking for a RESTful Camping tutorial to get
started ... pointers appreciated.
Some simple example applications:
airfoil force calculator: feed it an airfoil
geometry, an angle of attack, and a Mach number,
and it returns the lift, drag, and
2006 Mar 21
6
Native MOH - Convert mp3 to ulaw
I'd like to use native moh instead of with mpg123... for some reason the processes never bloody die.
For native moh to not spawn an external player, I'd need to convert the default supplied moh sound files in /var/lib/asterisk/mohmp3 to ulaw and g729 format. Anyone know of a free, easy way to convert them?
Thanks,
Doug.