Re: [R] Howto view function's source code of an installed package

2008-07-16 Thread Paul Hiemstra
tar.gz source package from CRAN, unpack it and the R source code is available in the "R" subdirectory. cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Ut

Re: [R] [R-sig-Geo] Spatial Sample

2008-07-26 Thread Paul Hiemstra
Hi, One option is: ?spsample cheers, Paul Raphael Saldanha schreef: Hi! How can I make a spatial sample? Can someone recommend theorical books and materials for this? -- Raphael Saldanha UFJF - Brazil [[alternative HTML version deleted]] _

Re: [R] Installing R in Ubuntu

2008-08-13 Thread Paul Hiemstra
ww.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +31302535773 Fax:

Re: [R] Coordinate systems for geostatistics in R

2008-08-22 Thread Paul Hiemstra
es/sp/vignettes/sp.pdf) you transform your data to other projections using the spTransform package. Questions regarding geostatistics and spatial data will result in more answers on the r-sig-geo list. cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosci

Re: [R] printing a dataframe summary to disk

2009-08-18 Thread Paul Hiemstra
, minimal, self-contained, reproducible code. Hi, Does: write.table(summary(your_df), "yourfile") give you something you like? What is the reason that you want to write the summary to a file? cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geoscien

Re: [R] Remove columns

2009-08-18 Thread Paul Hiemstra
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. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508

Re: [R] open txt

2009-08-18 Thread Paul Hiemstra
se setwd() to change to the correct working directory, which is probably the problem. cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 57

Re: [R] Several simple but hard tasks to do with R

2009-08-20 Thread Paul Hiemstra
a file" run regression with X.Rdata data else run regression from the 0. I hope I can find help here. Thanks!! -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 27

Re: [R] print selected variables

2009-08-20 Thread Paul Hiemstra
read the posting guide. It is very hard for us to give good advice right now. cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 5773

Re: [R] Hello

2009-08-20 Thread Paul Hiemstra
/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. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC

Re: [R] creating gantt chart

2009-08-21 Thread Paul Hiemstra
2004-09-09 now i want to create gantt chart for this data. can any body help us in code, it will be very helpful for us. Thanks in Advance. Hi, RSiteSearch("gantt chart") type "R-help gantt chart" in to google cheers, Paul -- Drs. Paul Hiemstra Department of Physical

Re: [R] When factor is better than other types, such as vector and frame?

2009-08-23 Thread Paul Hiemstra
Peng Yu schreef: Hi, It is easy to understand the types vector and frame. But I am wondering why the type factor is designed in R. What is the advantage of factor compare with other data types in R? Can somebody give an example in which case the type factor is much better than other data types?

Re: [R] image plot

2009-08-24 Thread Paul Hiemstra
ogbos okike schreef: Hi, I am trying to use the image function to do a color plot. My matrix columns are labeled y and x. I tried >image(y, x) but I had error message ("Error in image.default(y, x) : increasing 'x' and 'y' values expected"). Could anybody please tell me how to add these increasin

Re: [R] how to set crontab for updating the repositories?

2009-08-26 Thread Paul Hiemstra
re to executed at certain times. The crontab will look something like: # m h dom mon dow command 0 0 * * * /foo/bar where the command /foo/bar will be executed every day (dom, mon and dow are a *, meaning 'for all') at 12 pm. cheers, Paul -- Drs. Paul Hiemstra Department of Phy

Re: [R] Trying to rename spatial pts data frame slot that isn't a slot()

2009-08-31 Thread Paul Hiemstra
name the ID's when I bring them back into R? When is a slot not a slot()? Thanks, TIm Tim Clark Department of Zoology University of Hawaii __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] sppolot: fill below minimum legend value

2009-09-11 Thread Paul Hiemstra
the posting guide for some hints about what kind of information is necessary in an e-mail to r-help, for example a reproducible example. In addition, there is a mailing list specifically meant for geographic data, r-sig-geo, where you are more likely to get the answers you are looking for.

Re: [R] setting plotting device

2009-09-14 Thread Paul Hiemstra
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue P

Re: [R] How to set default plotting colors by treatment?

2009-09-14 Thread Paul Hiemstra
ed, minimal, self-contained, reproducible code. __ R-help@r-project.org 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] How to set default plotting colors by treatment?

2009-09-14 Thread Paul Hiemstra
Western Sydney Hawkesbury Campus Richmond NSW 2753 Dept of Biological Science Macquarie University North Ryde NSW 2109 Australia Mobile: +61 (0)422 096908 www.remkoduursma.com On Mon, Sep 14, 2009 at 9:19 PM, Paul Hiemstra wrote: Remko Duursma wrote: col=c("blue","red")my

Re: [R] installation problem

2009-09-14 Thread Paul Hiemstra
-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utr

Re: [R] call for input

2009-09-14 Thread Paul Hiemstra
variable. __ R-help@r-project.org 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. Hi, Look at the readline() function. cheers, Paul -- Drs. Paul

Re: [R] releasing memory when using the ncdf package

2009-09-15 Thread Paul Hiemstra
__ R-help@r-project.org 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. -- Drs. Paul Hiemstra Department of Physical Geograph

Re: [R] how can we check file empty or not

2009-09-16 Thread Paul Hiemstra
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Hi, file.info("your_file")$size == 0 cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan

Re: [R] How to repeat the names?

2010-02-10 Thread Paul Hiemstra
R-help@r-project.org 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. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geoscien

Re: [R] Total least squares linear regression

2010-02-10 Thread Paul Hiemstra
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. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utr

Re: [R] How can I associate a list of defined names with the dataframes to be downloaded

2010-02-16 Thread Paul Hiemstra
uide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue P

Re: [R] Extending data frame with longer columns

2010-02-17 Thread Paul Hiemstra
uide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113

Re: [R] Bayesian Block Kriging?

2010-02-18 Thread Paul Hiemstra
he posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113

Re: [R] Extracting values from a list

2010-02-18 Thread Paul Hiemstra
chipmaney schreef: I have run a kruskal.test() using the by() function, which returns a list of results like the following (subset of results): Herb.df$ID: 4-2 Kruskal-Wallis chi-squared = 18.93, df = 7, p-value = 0.00841 ---

Re: [R] Plotting multiple table automatically

2010-02-19 Thread Paul Hiemstra
tab %in% list_tables) plot(tab) cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 5773 Wed-Fri http://intamap.geo.uu.nl/~p

Re: [R] dot-dot-dot as an actual argument

2010-02-19 Thread Paul Hiemstra
R-help@r-project.org 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. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosc

Re: [R] Extracting values from a list

2010-02-19 Thread Paul Hiemstra
ect.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +

Re: [R] how to generate graph from dataframe?

2010-02-22 Thread Paul Hiemstra
book R graphics by Paul Murrel is a good book on R graphics. cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 5773 Wed-Fri http

Re: [R] (Somewhat) broken EPS files produced

2010-02-22 Thread Paul Hiemstra
o read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +313

Re: [R] generating reports from database through R

2010-02-23 Thread Paul Hiemstra
analysis and the report. Please read the posting guide carefully, sticking to it will get you much better responses from the mailing list. cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht

Re: [R] export graphics for editing in Illustrator

2010-02-23 Thread Paul Hiemstra
indvidual lines and such. I can imagine Illustrator should also be able to read these pdfs. cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon

Re: [R] Boot R

2010-02-26 Thread Paul Hiemstra
e code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 5773 Wed-Fri http://intamap.geo.uu.nl/~paul ___

Re: [R] two questions for R beginners

2010-02-26 Thread Paul Hiemstra
attice? Dieter __ R-help@r-project.org 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. -- Drs.

Re: [R] two questions for R beginners

2010-02-26 Thread Paul Hiemstra
e some time to become fluent in R. cheers, Paul I hope that this whole discussion might help to make the R world better. Thank you Patrick for initiating it! Regards, Ivan Le 2/26/2010 15:09, Paul Hiemstra a écrit : Ivan Calandra wrote: Since you want input from beginners, here are some thou

Re: [R] two questions for R beginners

2010-02-26 Thread Paul Hiemstra
nd flexibility. cheers, Paul Paul Hiemstra wrote: Ivan Calandra wrote: You are definitely right... What to do with bad beginner's questions is not a simple issue. If a "beginner's mailing list" is created, who will answer to such questions? And moreover, the beginners

Re: [R] Boot R

2010-02-26 Thread Paul Hiemstra
ibgfortran | grep so does it find the file? And in which path? cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 5773 Wed-Fri http://int

Re: [R] Boot R

2010-02-26 Thread Paul Hiemstra
libgfortran.so.3.0.0 /usr/lib/libgfortran.so.3 This should fix the problem. cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 2

Re: [R] R Experts

2010-03-01 Thread Paul Hiemstra
w.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +313

Re: [R] two questions for R beginners

2010-03-01 Thread Paul Hiemstra
up other irrelevant functions. Some function names in the base package are goofy, such as “rowsum” which is used to “compute column sums across rows”, not to be confused with “rowSums” which computes row sums. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences U

Re: [R] Simple Linear Autoregressive Model with R Language

2010-03-02 Thread Paul Hiemstra
quot;, the first hit gives: http://stat.ethz.ch/R-manual/R-patched/library/stats/html/ar.html cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +313

Re: [R] two questions for R beginner

2010-03-02 Thread Paul Hiemstra
g to write script in SPSS and STATA. Brandon Zicha __ R-help@r-project.org 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-

Re: [R] two questions for R beginner

2010-03-02 Thread Paul Hiemstra
ntary information - be to set up? I can't imagine it would be horribly expensive in terms of set up costs. A problem is that there is no company that markets R that could set this up, the community is much looser, much more open source. Probably the R core team would be the closest thing we ha

Re: [R] Random real numbers

2010-03-02 Thread Paul Hiemstra
-number-in-r.html cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 5773 Wed-Fri http://intamap.geo.u

Re: [R] error in R

2010-03-03 Thread Paul Hiemstra
ovide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 5773 Wed-Fri http:/

Re: [R] Redhat Linux Install

2010-03-08 Thread Paul Hiemstra
-project.org 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. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences

Re: [R] Removing Zeros from matrix

2010-03-09 Thread Paul Hiemstra
ide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 5773 Wed-Fri http://i

Re: [R] IMPORTANT - To remove the null elements from a vector

2010-03-09 Thread Paul Hiemstra
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. and, to add to the options already posted: subset(x, x != 0) cheers, Paul -- Drs. Paul Hiemstra

Re: [R] Removing Zeros from matrix

2010-03-09 Thread Paul Hiemstra
Dimitris Rizopoulos wrote: On 3/9/2010 1:36 PM, Paul Hiemstra wrote: Dimitris Rizopoulos wrote: one approach is the following: mat <- matrix(rnorm(100*45), 100, 45) mat[sample(100*45, 50)] <- 0 index <- rowMeans(mat == 0) == 0 mat[index, ] Dimitris, You use quite a complicated

Re: [R] How to select partially (not completely) unique rows?

2009-06-30 Thread Paul Hiemstra
html and provide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 5773 Wed-Fri http://intamap

Re: [R] mapping states with colors

2009-07-03 Thread Paul Hiemstra
ashington', 'west va', 'wisconsin') map('state', proj='bonne', param=50, region = c(syg, dtr), fill=TRUE, col=c('red', 'blue')) Obviously that doesn't work. A couple questions: 1. How do I get Alaska & Hawaii on the map? 2. How to I set the col atttrib

Re: [R] Mathematical annotation axis in lattice

2009-07-07 Thread Paul Hiemstra
ailing 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. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of

Re: [R] changing point style in xyplots depending on groups

2009-07-10 Thread Paul Hiemstra
ommented, minimal, self-contained, reproducible code. Making pch not one value but a list of numbers should work, in this case do not use the groups variable: xyplot(x~y, df, pch = c(1,1,1,1,1,3,3,3,3,3,5,5,5,5,5)) cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Fa

Re: [R] Problems generating image from tiff file

2009-07-17 Thread Paul Hiemstra
tp://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +31

Re: [R] Problems generating image from tiff file

2009-07-18 Thread Paul Hiemstra
file, and used the image () and plot commands to graph them on top of one another. I'm definately a novice when it comes to R, but I am learning. Thanks a lot! On Fri, Jul 17, 2009 at 12:25 AM, Paul Hiemstra <mailto:p.hiems...@geo.uu.nl>> wrote: Hi Mehdi, PLEA

Re: [R] Show representation of a data structure

2009-07-21 Thread Paul Hiemstra
bwgoudey schreef: I'm currently working with some large complex data structures eg list of lists of data_frames containing lots more variables and lists etc. Sometimes, I'd like to be able to bring up a simple representation of the structure I'm working with, minus all of the values it contains

Re: [R] animated grid graphics

2009-07-21 Thread Paul Hiemstra
Hi, Drawing grid graphics always takes long, I would write the images to png's and make the animation. If you use Linux I can suggest some nice tools to do this. This movie is also much more compatible with all kinds of machines. It might be that you can get your grid animation working on you

Re: [R] animated grid graphics

2009-07-22 Thread Paul Hiemstra
Allan Engelhardt wrote: On 21/07/09 14:00, Paul Hiemstra wrote: Hi, Drawing grid graphics always takes long, I would write the images to png's and make the animation. If you use Linux I can suggest some nice tools to do this. Please do suggest! I was thinking about a similar pr

Re: [R] Multi-line comments?

2009-07-22 Thread Paul Hiemstra
se a setup like: if(FALSE) { line1 ... line20 } And set FALSE to TRUE if you want to let the code be executed. These are probably not the only ones, but this is what I could think of right now. cheers and good luck, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of G

Re: [R] All possible linear models given multiple explaining variables

2009-07-22 Thread Paul Hiemstra
producible code. Hi, Take a look at the step() command. cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 5773 Wed-Fri http://intamap

Re: [R] Multi-line comments?

2009-07-22 Thread Paul Hiemstra
Erik Iverson schreef: What editor are you all using to write R code? Many will have ways of doing what you want, e.g., comment-region (bound by default to M-; through comment-dwim) in Emacs. I use Kate, the advanced text editor in KDE. Paul -Original Message- From: r-help-boun...@r

Re: [R] Re ading Image Files

2009-07-23 Thread Paul Hiemstra
cotixan wrote: Hello, I'm rather new to R and I want to do some image analysis. Is there a way to read jpeg files into a matrix like matlab's imread? http://cran.r-project.org/web/packages/rimage/index.html -- Drs. Paul Hiemstra Department of Physical Geography Faculty of G

Re: [R] PDF Compression

2009-07-30 Thread Paul Hiemstra
Hi, You could have a look at exporting the pdfs using the Cairo package. cheers, Paul David Keegan schreef: Hi, I am generating a large number of graphs with pdf() and incorporating them in pdf document using pdflatex. According to the pdf() help: 'pdf' writes uncompressed PDF. It is pr

Re: [R] R-installation regarding.

2010-03-23 Thread Paul Hiemstra
hz.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. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 8

Re: [R] pdf files in loops

2010-04-01 Thread Paul Hiemstra
EASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 350

Re: [R] interpolating between lat/long position data with time

2010-04-10 Thread Paul Hiemstra
mailing list is a more suitable list to ask this question, you will probably get more response there. cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone

Re: [R] Adding country boundaries on field map plots

2010-04-11 Thread Paul Hiemstra
addition, the r-sig-geo mailing list might be a better place to ask this question. If you use spplot, look at the sp.layout argument. cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht

Re: [R] using BLAT in r

2010-04-11 Thread Paul Hiemstra
is a good alternative. cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 5773 Wed-Fri http://intamap.geo.uu.nl/~paul http://nl.linkedin.co

Re: [R] histogram

2010-04-15 Thread Paul Hiemstra
you need. Pass it to panel.densityplot in the darg argument. cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 5773 Wed-Fri http://int

Re: [R] R interactive input like C++

2010-04-15 Thread Paul Hiemstra
[[alternative HTML version deleted]] __ R-help@r-project.org 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] Question about R mode

2010-04-15 Thread Paul Hiemstra
rg/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 5773 We

Re: [R] histogram

2010-04-15 Thread Paul Hiemstra
col="dark green",lwd=2,lty=2) }, strip=strip.custom( strip.names=F, strip.levels=T, par.strip.text=list(cex=0.75)), ) Thanks again, Santosh On Thu, Apr 15, 2010 at 12:41 AM, Paul Hiemstra <mailto:p.hiems.

Re: [R] R and S-Plus: Two programs separated by a common language?

2010-04-23 Thread Paul Hiemstra
ucible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 5773 Wed-Fri http://intamap.geo.uu.nl/~paul http://nl.linkedin.com/pub

Re: [R] How to read contents of a text file into a single string?

2010-04-28 Thread Paul Hiemstra
Dimitri Shvorob wrote: ... Both readLines() and scan() produce a number_of_lines x 1 vector; trying paste(s, collapse = NULL) leaves it unaffected. How can I concatenate vector elements (lines) into a single string? Thank you. try collapse = '' cheers, Paul -- Drs. Pau

Re: [R] using get and paste in a loop to return objects for object names listed a strings

2010-04-29 Thread Paul Hiemstra
o/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utr

Re: [R] Statistical analysis

2009-09-24 Thread Paul Hiemstra
://www.amazon.com/Introductory-Statistics-R-Peter-Dalgaard/dp/0387954759 cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 5773 Wed-Fri http

Re: [R] problem on SUSE Linux Enterprise Server 10 (ia64)

2009-09-25 Thread Paul Hiemstra
ad the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 27

Re: [R] SAS user now converting to R - Help with Transpose

2009-09-28 Thread Paul Hiemstra
Hi, Also take a look at cast(), melt() and recast() from the reshape package. Great and very flexible functions. cheers, Paul Daniel Malter schreef: ?reshape hth, Daniel baxterj wrote: I am just starting to code in R and need some help as I am used to doing this in SAS. I have a data

Re: [R] Something wrong with my function Please Help

2009-09-29 Thread Paul Hiemstra
mmand, this show you which chain of commands led to the error. cheers and good luck, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 2

Re: [R] Change directory to implement same programes

2009-09-30 Thread Paul Hiemstra
www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon

Re: [R] Missing functions

2009-10-01 Thread Paul Hiemstra
output. Any help is greatly appreciated. Thanks, Kenny Hi, Try psych:::theFunctionIWant, does this find the function? cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3

Re: [R] Missing functions

2009-10-01 Thread Paul Hiemstra
ngs me to an empty > then with psych:::function, Error: package 'psych' does not have a name space is there a way to perhaps clean up and reinstall the packages? thanks, kenny On Thu, Oct 1, 2009 at 3:54 PM, Paul Hiemstra <mailto:p.hiems...@geo.uu.nl>> wrote: Kenny Sh

Re: [R] convert RData to txt

2009-10-05 Thread Paul Hiemstra
l you can use the load() command to the RData file, and if it is for example a csv file you can use write.csv to write it to ascii. cheers Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht

Re: [R] Viewing specific data from a dataframe

2009-10-06 Thread Paul Hiemstra
w.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-T

Re: [R] Viewing specific data from a dataframe

2009-10-06 Thread Paul Hiemstra
ions rownames(cor_bla)[apply(cor_bla, 2, function(x) any(!is.na(x)))] cheers, Paul Paul Hiemstra wrote: Hi, I'm not sure I understand what you want. This would have been easier if you had provided a reproducible example. See the following code: bla = matrix(runif(1), 10, 10) cor_bla

Re: [R] Is there a recent book on Q-Q plot and data visualization in general?

2009-10-06 Thread Paul Hiemstra
commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 5773 Wed-Fri http://intamap.geo.uu

Re: [R] Is there a recent book on Q-Q plot and data visualization in general?

2009-10-07 Thread Paul Hiemstra
ition? http://www.amazon.com/Plane-Answers-Complex-Questions-Theory/dp/0387953612/ref=sr_1_1?ie=UTF8&s=books&qid=1254856526&sr=8-1#reader Regards, Peng On Tue, Oct 6, 2009 at 9:50 AM, Paul Hiemstra wrote: Hi Peng Yu, Chapter 13 of the following book provides a good description

Re: [R] problem with CPU usage

2009-10-09 Thread Paul Hiemstra
and provide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 5773 Wed-Fri h

Re: [R] How to read plain text documents into a vector?

2009-10-13 Thread Paul Hiemstra
nes: file_list = list.files("/where/are/the/files") obj_list = lapply(file_list, FUN = yourfunction) yourfunction is probably either read.table or some read function from the tm package. So obj_list will become a list of either data.frame's or tm objects. cheers, Paul -- Dr

Re: [R] two graphs 1 x-axis

2009-10-16 Thread Paul Hiemstra
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht P

Re: [R] system() or shell() with python script

2009-10-20 Thread Paul Hiemstra
e University North Ryde NSW 2109 Australia Mobile: +61 (0)422 096908 www.remkoduursma.com __ R-help@r-project.org 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 commen

Re: [R] How to exclude certain columns by column names?

2009-11-03 Thread Paul Hiemstra
ned, reproducible code. __ R-help@r-project.org 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, reproducib

Re: [R] turn off function output

2009-11-04 Thread Paul Hiemstra
archives: http://tolstoy.newcastle.edu.au/R/e4/help/08/01/0841.html cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 5773 Wed-Fri http

Re: [R] Antw: Re: compiling R-2.9.2 or R-2.10.0 on ubuntu 9.04 (powerpc)

2009-11-09 Thread Paul Hiemstra
Laurin Müller wrote: i installed: libreadline-dev libcnf-dev but configure with no readline brings the same error. regards, laurin >>> Paul Hiemstra 05.11.2009 12:38 >>> sudo apt-get install libreadline-dev Try running with readline turned on (the default). In regar

Re: [R] R and HDF5 Question

2009-11-14 Thread Paul Hiemstra
ject.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274

Re: [R] in excel i can sort my dataset, what do i use in R

2009-11-17 Thread Paul Hiemstra
Hi, Take a look at sort_df from the reshape package. cheers, Paul frenchcr schreef: In excel a handy tool is the sort data by column ...i.e. i can highlight the whole dataset and sort it according to a particular column...like sort the data in a column in acending or decending order where all

  1   2   3   4   >