Re: [R] Adding a column into the file

2012-06-03 Thread John
On Fri, 1 Jun 2012 09:27:58 -0700 (PDT) pigpigmeow gloryk...@hotmail.com wrote: Dear all, I have a lot of problems on R-programming. for example my csv. file is .. Date wrfRH wrfsolar wrfwindspeed wrfrain wrftd wrfta 21/10/2010 92.97 22.11 53.27 0 1546.337861 61.00852664

[R] Add a dim to an array

2012-06-03 Thread Patrick Hausmann
Dear list, I'm trying to add a new dim to a multidimensional array. My array looks like this a1 - array(1:8, c(2, 2, 2)) dimnames(a1) - list(A = c(A1, A2), B = c(B1, B2), D = c(D1, D2)) I would like to add a new dim 'group' with the value low. Right

Re: [R] Average curve in R

2012-06-03 Thread QAMAR MUHAMMAD UZAIR
Arun and Rui Barradas: thankyou very much for sorting out my issue. I got what I wanted. Rainer Schuermann and Jeff Newmiller: thankyou very much for your suggestion. I will take care of it in future. regards - On Fri, 1 Jun 2012 19:47:05 -0700 (PDT) arun

[R] Log-normal probability plot

2012-06-03 Thread eliza botto
Dear R users, You can literally safe my life my telling me the solution of my problem. I have created matrix of a data frame with 3 columns, with each column representing data of different year. 2 1 5 3 4 4 4 3

[R] Memory-random forest

2012-06-03 Thread MYRIAM TABASSO
Hi all, I am working with random forest on the large data set( 39). I have a warning message : In matrix(integer(nrnodes * nt), ncol = nt) : Reached total allocation of 3766Mb: see help(memory.size). Can you have any suggestions? Thanks, Myriam [[alternative HTML version deleted]]

[R] Compare data between two groups/countries on 5-point Likert scale questionnare?

2012-06-03 Thread Frankfoot
Hi everyone, I'm stuck on my dissertation which is due next week. I'm a business major student and my project is a comparative research on corporate social responsibility (CSR) between Chinese and German firms. According to my literature review, it's quite obvious that German firms have much

Re: [R] points() function will not plot

2012-06-03 Thread Sarah Goslee
Looks like you've swapped x and y. Sarah On Friday, June 1, 2012, David Winsemius wrote: On Jun 1, 2012, at 4:09 PM, jcrosbie wrote: I can not get the point function to work with in my code. The code: AggOfTempMatrix$**CumSumPercentSize-c( 0.05265450, 0.05738490, 0.05865403,

[R] igraph and igraph0

2012-06-03 Thread jalantho...@verizon.net
Could someone tell me the difference between igraph and igraph0? I searched the CRAN web site, but cannot find an explantion of the differences. Thanks, Alan [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] R and igraph problems

2012-06-03 Thread jalantho...@verizon.net
Why is igraph 0.5.5 not on the igraph sourceforgwe home page? [[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

Re: [R] Help with this web scrape function

2012-06-03 Thread Sven D
Would like to see this at the top again, as I think it did not get pick up when I posted it initially. Apologies, last try. -- View this message in context: http://r.789695.n4.nabble.com/Help-with-this-web-scrape-function-tp4632137p4632169.html Sent from the R help mailing list archive at

Re: [R] About Plot.new

2012-06-03 Thread czar
@mr.parashar4 - If this not resolved yet, here is what can help plot.new is trying to create a new object out of the standard point plot. I believe you have not created a standard point plot, i.e. in your case, plot(xm,ym). This will show the graphical plot window. Keep that window open and then

Re: [R] Add a dim to an array

2012-06-03 Thread Rui Barradas
Hello, Try a3 - array(dim=c(2, 2, 2, 2)) dn - dimnames(a1) dn$group - c(low, high) dimnames(a3) - dn a3[] - a1 # to use [] keeps the dimensions a3 # it fills a3 recycling a1 (two copies) dim(a2) dim(a3) As you can see, 'a2' is not of the right dimensions, and 'a3' has now two

[R] R 15.0 Warning message.

2012-06-03 Thread Jinyan Huang
Dear list, I have install R15.0 on Ubuntu system using the source code. It is install to my home directory. I have no root privilege. When I start R, I got this warning message: During startup - Warning message: Setting LC_CTYPE failed, using C How can I fix this? Thanks.

Re: [R] Add a dim to an array

2012-06-03 Thread Petr Savicky
On Sat, Jun 02, 2012 at 05:17:36PM +0200, Patrick Hausmann wrote: Dear list, I'm trying to add a new dim to a multidimensional array. My array looks like this a1 - array(1:8, c(2, 2, 2)) dimnames(a1) - list(A = c(A1, A2), B = c(B1, B2), D =

[R] Modify pdf file with Illustrator.

2012-06-03 Thread Jinyan Huang
Dear list, Some times I want to modify the pdf file which produced by R with illustrator. But when I use Illustrator open the pdf file, it often makes the pdf some little changed. Anyone have some suggestions? Is it better to use other file type, not pdf? Or when I produced the pdf, I should set

Re: [R] R 2.15.0 and 2.14.2 crash on the same code that runs on 2.14.1

2012-06-03 Thread peter dalgaard
On Jun 3, 2012, at 07:40 , Ebrahim Jahanshiri wrote: Dear list, My code runs on 2.14.1 smoothly (with no error) but makes R crash on 2.14.2 and 2.15.0 with the usual windows message about R for windows GUI front-end has stopped working... and as such I dont have any access to R to get any

Re: [R] R and igraph problems

2012-06-03 Thread peter dalgaard
On Jun 2, 2012, at 15:43 , jalantho...@verizon.net wrote: Why is igraph 0.5.5 not on the igraph sourceforgwe home page? You'll have to ask the igraph developers... Possibly, they just ran out of round tuits. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School

Re: [R] R 2.15.0 and 2.14.2 crash on the same code that runs on 2.14.1

2012-06-03 Thread Ebrahim Jahanshiri
Thank you very much. Memory problem or heat (of CPU?) is the main suspect here for me. But how is it that 2.14.1 can run it but others can not I dont know (maybe some mechanisms that prevent memory problem in 2.14.1 are not working in the latest versions. One thing for sure is that the speed of

Re: [R] R 15.0 Warning message.

2012-06-03 Thread Prof Brian Ripley
On 03/06/2012 07:34, Jinyan Huang wrote: Dear list, I have install R15.0 on Ubuntu system using the source code. It is install to my home directory. I have no root privilege. When I start R, I got this warning message: During startup - Warning message: Setting LC_CTYPE failed, using C How

[R] fine control of plots after use of layout(matrix ...

2012-06-03 Thread Matthew Johnson
Sir, I would like to create a combined line-bar plot, with the line up top and bar plot below, but with the x-axes suppressed on the topmost plot, the line and bar plot areas joined by a common line, and the x-axes (of dates) joined to the bottom part of the bar plot. i have been able to format

Re: [R] Add a dim to an array

2012-06-03 Thread Rui Barradas
Hello again, Sorry, I've misread your post and thought that you wanted the new dim to have 'low' and 'high' values. It's just 'low'. So dim=c(2, 2, 2, 1) and set dn$group to the first value only. And forget the final comments. Rui Barradas Em 03-06-2012 07:31, Rui Barradas escreveu: Hello,

Re: [R] R 15.0 Warning message.

2012-06-03 Thread Jinyan Huang
Yes. I think it is my environment variables problem. But I donot know how to fix. echo $LC_ALL echo $LANG en_US.UTF-8 On Sun, Jun 3, 2012 at 4:07 PM, Prof Brian Ripley rip...@stats.ox.ac.uk wrote: LANG __ R-help@r-project.org mailing list

Re: [R] R 15.0 Warning message.

2012-06-03 Thread Prof Brian Ripley
On 03/06/2012 09:27, Jinyan Huang wrote: Yes. I think it is my environment variables problem. But I donot know how to fix. That is described in the same manual. echo $LC_ALL echo $LANG en_US.UTF-8 On Sun, Jun 3, 2012 at 4:07 PM, Prof Brian Ripleyrip...@stats.ox.ac.uk wrote: LANG No,

Re: [R] mtext bug

2012-06-03 Thread Duncan Murdoch
On 12-06-02 8:42 PM, Matthew Johnson wrote: Sir, I am now having a similar problem with the barplot: i cannot get the margin text to 'stick'. png(paste(drive, MoMUnit.png, sep=)) par(mar=c(10, 3, 2, 2), opar=(1,0,0,0)) I think opar is a typo. Duncan Murdoch mainnameUnit =

Re: [R] R 15.0 Warning message.

2012-06-03 Thread peter dalgaard
On Jun 3, 2012, at 10:27 , Jinyan Huang wrote: Yes. I think it is my environment variables problem. But I donot know how to fix. echo $LC_ALL echo $LANG en_US.UTF-8 On Sun, Jun 3, 2012 at 4:07 PM, Prof Brian Ripley rip...@stats.ox.ac.uk wrote: LANG First, use locale to check

Re: [R] R 15.0 Warning message.

2012-06-03 Thread Jinyan Huang
locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE=UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8

Re: [R] R 15.0 Warning message.

2012-06-03 Thread Prof Brian Ripley
On 03/06/2012 10:31, Jinyan Huang wrote: locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE=UTF-8 That's wrong: see the manual I pointed you to!

Re: [R] R 15.0 Warning message.

2012-06-03 Thread peter dalgaard
On Jun 3, 2012, at 11:36 , Prof Brian Ripley wrote: ls -ld /usr/share/locale/en_US* drwxr-xr-x 2 root root 4096 Dec 15 15:19 /usr/share/locale/en_US This is clearly not an R issue: so ask your IT support for help. Or check out the Ubuntu docs/forums for information on which package of

Re: [R] R 2.15.0 and 2.14.2 crash on the same code that runs on 2.14.1

2012-06-03 Thread Rainer Hurling
On 03.06.2012 09:17 (UTC+2), peter dalgaard wrote: On Jun 3, 2012, at 07:40 , Ebrahim Jahanshiri wrote: Dear list, My code runs on 2.14.1 smoothly (with no error) but makes R crash on 2.14.2 and 2.15.0 with the usual windows message about R for windows GUI front-end has stopped working...

Re: [R] community finding in a graph and heatplot

2012-06-03 Thread Gábor Csárdi
The problem is that your graph is unconnected, it has two components and the as.dendrogram() function in igraph cannot handle that. fastgreedy.community() returns a matrix of merges that is not a complete dendrogram, the final top level merge of the components is missing. A workaround is to

Re: [R] R 2.15.0 and 2.14.2 crash on the same code that runs on 2.14.1

2012-06-03 Thread Prof Brian Ripley
Since this appears to be Windows (not explicitly said), the likely change is the compilers used for R = 2.14.2 differ from those used for 2.14.1. The posting guide does ask for 'at a minimum' information with good reason. How big the change was depends on whether this was 32- or 64-bit

Re: [R] About Plot.new

2012-06-03 Thread Uwe Ligges
Perhaps not at all, since you are posting to the R-help list rather than to the original poster of the question. You also forgot to quote the original question as the posting guide asks you to do. Uwe Ligges On 03.06.2012 08:12, czar wrote: @mr.parashar4 - If this not resolved yet, here is

Re: [R] Modify pdf file with Illustrator.

2012-06-03 Thread Uwe Ligges
On 03.06.2012 08:42, Jinyan Huang wrote: Dear list, Some times I want to modify the pdf file which produced by R with illustrator. But when I use Illustrator open the pdf file, it often makes the pdf some little changed. Anyone have some suggestions? Is it better to use other file type, not

Re: [R] Partial R-square in multiple linear regression

2012-06-03 Thread Uwe Ligges
On 01.06.2012 21:05, Jin Choi wrote: Hello, I am trying to obtain the partial r-square values (r^2 or R2) for individual predictors of an outcome variable in multiple linear regression. I am using the 'lm' function to calculate the beta coefficients, however, I would like to know the

Re: [R] Modify pdf file with Illustrator.

2012-06-03 Thread Jinyan Huang
Thank you. 1, I want to put some text and title. Then put several figures into one. On Sun, Jun 3, 2012 at 10:59 PM, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: On 03.06.2012 08:42, Jinyan Huang wrote: Dear list, Some times I want to modify the pdf file which produced by R with

Re: [R] Compare data between two groups/countries on 5-point Likert scale questionnare?

2012-06-03 Thread Uwe Ligges
This is the R-help mailing list. It is not a statistical consulting list nor the others write my thesis list. On 02.06.2012 14:56, Frankfoot wrote: Hi everyone, I'm stuck on my dissertation which is due next week. Interesting. The question given below should arise two years before the

Re: [R] Modify pdf file with Illustrator.

2012-06-03 Thread Uwe Ligges
On 03.06.2012 17:03, Jinyan Huang wrote: Thank you. 1, I want to put some text and title. Then put several figures into one. So just do it within R and use title() within R and use par() and its argument mfrow to arrange several figures in rows and columns. Uwe Ligges On Sun, Jun 3,

Re: [R] Memory-random forest

2012-06-03 Thread Uwe Ligges
On 02.06.2012 16:11, MYRIAM TABASSO wrote: Hi all, I am working with random forest on the large data set( 39). I have a warning message : In matrix(integer(nrnodes * nt), ncol = nt) : Reached total allocation of 3766Mb: see help(memory.size). Can you have any suggestions? Use anther

Re: [R] How to make a transaction class data?

2012-06-03 Thread Uwe Ligges
On 01.06.2012 20:08, jasminedawn wrote: Hi, I have encounter a problem that my data a_data.frame is of data.frame class with columns: sequenceID, eventID, items. when I convert it to transaction class: as(a_data.frame, transactions) All columns are grouped together under items, which is

Re: [R] Partial R-square in multiple linear regression

2012-06-03 Thread peter dalgaard
On Jun 3, 2012, at 17:00 , Uwe Ligges wrote: On 01.06.2012 21:05, Jin Choi wrote: Hello, I am trying to obtain the partial r-square values (r^2 or R2) for individual predictors of an outcome variable in multiple linear regression. I am using the 'lm' function to calculate the beta

[R] Regions of significance plots with ggplot2

2012-06-03 Thread Dominic Comtois
I'd like to create a plot similar to this one from Kochanska et al. (Development and Psychopathology, 2011): http://pages.videotron.com/do999/r-help/Kochanska_graph_ros.jpg http://pages.videotron.com/do999/r-help/Kochanska_graph_ros.jpg I am new to ggplot2 and can't see any obvious way to

[R] Problems installing Packages

2012-06-03 Thread Sven D
Hello, I am going through Zhao's RDataMining PDF, and to redo all the graphics on my computer, I need several packages, 'coin' and 'party' to name two. I get the following error: install.packages(coin) Installing package(s) into ‘/home/sven/R/i686-pc-linux-gnu-library/2.15’ (as ‘lib’ is

Re: [R] How can I export a paired t-test output table to an excel file?

2012-06-03 Thread Kay Cichini
If you wish to use the table in a write-up or something like this, there is a package for exporting to MS Word - see http://cran.r-project.org/web/packages/R2wd/index.html http://cran.r-project.org/web/packages/R2wd/index.html and these examples

[R] pre-clinical results analysis in R using the function 'aov'

2012-06-03 Thread Amit Novik
Hi. I hope someone could help me with my question. I have clinical scores of a longitudinal study: 4 treatments. In each treatment j there are nj different subjects that were measured few times (of course for each subject the measurements are dependent during time). I want to check it with

Re: [R] Bug in truncgof package?

2012-06-03 Thread Andreea Picu
Dear Carlos, Duncan and everyone You may have already sorted the matter by now, but since I have not seen anything posted since Duncan's reply, here I go. I apologize in advance for the spam, if it turns out I've missed some post. I think the test and the implementation of the truncgof package

[R] a question about subsetting

2012-06-03 Thread jacaranda tree
Hi all, I started using R about 3 weeks ago, and now I've pretty much figured out how to do the types of statistical modeling, graphs, tables etc. that I frequently   use (with zero background in computer languages or other statistical packages that are similar to R like S or SAS!). So it's been

[R] plotting evolution of dates

2012-06-03 Thread stef salvez
Dear R users, I have the following problem I have a panel data across countries and individuals. For each country I have a sequence of dates For France for example 22/02/09 22/03/09 19/04/09 17/05/09 12/07/09 09/08/09 06/09/09 04/10/09 01/11/09 29/11/09 27/12/09 31/01/10 For Italy 14/06/09

[R] Multiple imputation, multinomial response random effects

2012-06-03 Thread Davina Hill
Dear R-group, Could somebody recommend a package that can deal with a multinomial response variable (choice of breeding tactic in mice, which has four unordered levels), multiply-imputed data (generated using the Amelia package) and two non-nested random effects: individual identity (133

[R] reduced variate in R

2012-06-03 Thread eliza botto
Dear R users, is there a way in R to calculate normal reduced variate?? eliza [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Adding a column into the file

2012-06-03 Thread David Winsemius
On Jun 1, 2012, at 4:08 PM, David Winsemius wrote: On Jun 1, 2012, at 12:27 PM, pigpigmeow wrote: Dear all, I have a lot of problems on R-programming. for example my csv. file is .. That certainly does not look like any csv file I have ever seen. Date wrfRH wrfsolar

Re: [R] a question about subsetting

2012-06-03 Thread Jorge I Velez
Hi jacaranda, Try with(subset(mydata, Group1 == 1), cor.test(Gen, MSELEL, method = pearson)) HTH, Jorge.- On Sun, Jun 3, 2012 at 11:51 AM, jacaranda tree wrote: Hi all, I started using R about 3 weeks ago, and now I've pretty much figured out how to do the types of statistical modeling,

Re: [R] Log-normal probability plot

2012-06-03 Thread David Winsemius
On Jun 2, 2012, at 9:38 PM, eliza botto wrote: You might consider the strategy of reading the Posting Guide, followed by posting an intelligible message. Dear R users, You can literally safe my life my telling me the solution of my problem. I have created matrix of a data frame with 3

Re: [R] reduced variate in R

2012-06-03 Thread peter dalgaard
On Jun 3, 2012, at 17:57 , eliza botto wrote: Dear R users, is there a way in R to calculate normal reduced variate?? Yes. It depends on what you mean, though. AFAICT reduced is just what others call standard normal (mean 0, variance 1), so rnorm(n, 0, 1) is one answer; z - (X - mu)/s is

Re: [R] reduced variate in R

2012-06-03 Thread eliza botto
thankyou very much for answer. i want to calculate normal reduced variate of a matix consisting of 366 rows and 92 columns. how can i do that?? please reply if you know the answer.. eliza Subject: Re: [R] reduced variate in R From: pda...@gmail.com Date: Sun, 3 Jun 2012 19:11:55 +0200 CC:

Re: [R] reduced variate in R

2012-06-03 Thread Rui Barradas
Hello, Try scale(x) Half of homework done. The other half is to have a quick look at R-intro.pdf, it comes with every installation of R. Chapters 8 and 12. Hope this helps, Rui Barradas Em 03-06-2012 18:15, eliza botto escreveu: thankyou very much for answer. i want to calculate normal

Re: [R] mgcv (bam) very large standard error difference between versions 1.7-11 and 1.7-17, bug?

2012-06-03 Thread Martijn Wieling
Dear useRs, I've ran some additional analyses (see below), which strongly suggest the standard errors of the bam (and gam) function are much too low in mgcv version 1.7-17, at least when including an s(X,bs=re) term. Until this issue has been clarified, it's perhaps best to use an older version

Re: [R] Problems installing Packages

2012-06-03 Thread Jeff Newmiller
The error says you are missing the BLAS library... so install it? --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...

[R] memory usage benefit from anonymous variable constructions.

2012-06-03 Thread Paul Johnson
This is an I was just wondering question. When the package dataframe was announced, the author claimed to reduce the number of times a data frame was copied, I started to wonder if I should care about this in my projects. Has anybody written a general guide for how to write R code that doesn't

Re: [R] Partial R-square in multiple linear regression

2012-06-03 Thread Paul Johnson
On Fri, Jun 1, 2012 at 2:05 PM, Jin Choi oohps...@gmail.com wrote: Hello, I am trying to obtain the partial r-square values (r^2 or R2) for individual predictors of an outcome variable in multiple linear regression. I am using the 'lm' function to calculate the beta coefficients, however, I

[R] merging single column from different dataframe

2012-06-03 Thread Kai Mx
Hi all, probably really simple to solve, but having no background in programming I haven't been able to figure this out: I have two dataframes like df1 - data.frame(names1=c('aa','ab', 'ac', 'ad'), var1=c(1,5,7,12)) df2 - data.frame(names2=c('aa', 'ab', 'ac', 'ad', 'ae'), var2=c(3,6,9,12,15))

Re: [R] plotting evolution of dates

2012-06-03 Thread David Winsemius
On Jun 3, 2012, at 9:27 AM, stef salvez wrote: Dear R users, I have the following problem I have a panel data across countries and individuals. For each country I have a sequence of dates For France for example 22/02/09 22/03/09 19/04/09 17/05/09 12/07/09 09/08/09 06/09/09 04/10/09 01/11/09

Re: [R] merging single column from different dataframe

2012-06-03 Thread Rui Barradas
Hello, One way, with limited applicability, would be df4 - cbind(df2, var1=NA) df4$var1[ df2$names2 %in% df1$names1 ] - df1$var1 df4 Limited because it doesn't resist to duplicate key values (the columns names1/2). But with unique keys it should be much more efficient, speed- and

Re: [R] community finding in a graph and heatplot

2012-06-03 Thread Aziz, Muhammad Fayez
Hmm interesting. To come to think of it there could be many disconnected components in the graph and thus there should be a generic way to either mitigate the disconnectedness in the dendrogram or in the original graph. I had no luck in finding such a trick though google search. I then ran the

Re: [R] fine control of plots after use of layout(matrix ...

2012-06-03 Thread Sarah Goslee
On Sun, Jun 3, 2012 at 4:05 PM, Matthew Johnson mcoog...@gmail.com wrote: Thanks. So i can call par after the layout command? I did not realise. Some par options are set by calling par() directly, while others must be included in the plot command itself. Sarah Sent from my iPad On

Re: [R] package grid: mirror grob objects along an axis

2012-06-03 Thread Thomas Zumbrunn
My question was answered off list by Paul Murrell, author of 'grid'. Here's am excerpt of our email exchange for the records of R-help. Paul Murrell In some special cases, you would be able to flip shapes. If the coordinates of the shapes are given in native coordinates,

Re: [R] merging single column from different dataframe

2012-06-03 Thread David Winsemius
On Jun 3, 2012, at 3:22 PM, Kai Mx wrote: Hi all, probably really simple to solve, but having no background in programming I haven't been able to figure this out: I have two dataframes like df1 - data.frame(names1=c('aa','ab', 'ac', 'ad'), var1=c(1,5,7,12)) df2 - data.frame(names2=c('aa',

[R] Dummies guide to getting HPC working on R

2012-06-03 Thread Jonathan Greenberg
R-folks: Sorry for the cross-posting, but I wanted to share a link to a (fairly long) blog post I created which tries to take the mystery out of getting R setup for doing high performance/parallel computing if you have to compile R from scratch:

Re: [R] fine control of plots after use of layout(matrix ...

2012-06-03 Thread Matthew Johnson
Thanks. The solution i have been persuing is reading Murrell - and trying to figure out grid / Viewport commands. Is it best to stay in the base graphics package if possible? Sent from my iPad On 04/06/2012, at 6:20 AM, Sarah Goslee sarah.gos...@gmail.com wrote: On Sun, Jun 3, 2012 at 4:05 PM,

Re: [R] fine control of plots after use of layout(matrix ...

2012-06-03 Thread Sarah Goslee
On Sun, Jun 3, 2012 at 5:02 PM, Matthew Johnson mcoog...@gmail.com wrote: Thanks. The solution i have been persuing is reading Murrell - and trying to figure out grid / Viewport commands. Is it best to stay in the base graphics package if possible? It really depends on what you need to do.

Re: [R] package grid: mirror grob objects along an axis

2012-06-03 Thread baptiste auguie
Hi, Another option that you might want to try is the tikzDevice package; tikz has functions to flip and rotate objects and could it from R with tikzAnnotate / tikzAnnotateGrob. Of course these objects would not really be grobs but tikz code, though for text the end result would probably be the

Re: [R] fine control of plots after use of layout(matrix ...

2012-06-03 Thread Matthew Johnson
Thank you. Sent from my iPad On 04/06/2012, at 7:12 AM, Sarah Goslee sarah.gos...@gmail.com wrote: On Sun, Jun 3, 2012 at 5:02 PM, Matthew Johnson mcoog...@gmail.com wrote: Thanks. The solution i have been persuing is reading Murrell - and trying to figure out grid / Viewport commands. Is it

Re: [R] Problems installing Packages

2012-06-03 Thread R. Michael Weylandt
I'm not really an expert on BLAS-y things, but wouldn't there be more problems upstream with R if it weren't able to find the local BLAS? I was under the impression that R shipped it's own BLAS but could also be directed to one at compile time -- either way, I would guess that many other would

[R] CRAN (and crantastic) updates this week

2012-06-03 Thread Crantastic
CRAN (and crantastic) updates this week New packages * anametrix (0.1) Maintainer: Roman Jugai Author(s): Roman Jugai License: LGPL http://crantastic.org/packages/anametrix Connects to Anametrix API and extracts data into R data structure * assertive (0.1-4)

Re: [R] regsubsets (Leaps)

2012-06-03 Thread Thomas Lumley
On Sat, Jun 2, 2012 at 3:19 AM, farmedgirl ksteinm...@cdpr.ca.gov wrote: Hi i need to create a model from 250 + variables with high collinearity, and only 17 data points (p = 250, n = 750). I would prefer to use Cp, AIC, and/or BIC to narrow down the number of variables, and then use VIF to

[R] Variate

2012-06-03 Thread eliza botto
Dear R users, We are working on a project called,”Environmental Impact Assessment”. We are stationed at alpine regions of Ireland to see the impact of rainfall on localities. We have divided our study area into 92 stations. We have also collected 1 year data from each station. Afterwards we

Re: [R] Variate

2012-06-03 Thread Duncan Mackay
Hi Eliza You will not want 1 panel with 96 lines - too confusing after about 20 Instead 1 per panel or with groups using useOuterStrips and combineLimits from latticeExtra package Try this -- a minimal example with an 12 row 8 col grid done on the fly setseed(12) Sites - 1:92 dat -

Re: [R] Modify pdf file with Illustrator.

2012-06-03 Thread Jinyan Huang
Thank you for your suggestion. Do you have some example codes using ggplot2 or grid.arrange() and arrangeGrob to composite figures? On Mon, Jun 4, 2012 at 7:36 AM, Neil Collier neilander...@gmail.com wrote: ggplot2 handles all of these requirements. I highly recommend using it for composite

[R] Legend colors not matching with Intxplot line colors

2012-06-03 Thread arun
Dear R help, I am using intxplot() from the library(HH).  I have a dataset with 12 treatment groups.  At first, I tried intxplot with no color settings.  Then, the legend color was matching with the plot line colors, but some of the colors were repeated.  So, I set the colors using

[R] Separate Array Variable Content

2012-06-03 Thread arun
Hi Antony, I am sending this message again as it was not yet posted by the rhelp.   One more solution: dat2-read.table(text=  ABC PQR XYZ  42  29  22  65  22  78       10  20  30  40  50  60  70  80  90  61  15  24   ,sep=,header=T) exprv - expression(c( ABC10 XYZ 30 PQR 90,ABC 9 XYZ

Re: [R] a question about subsetting

2012-06-03 Thread arun
HI, I am not sure about whether your subset function is correct.  If you look into this link (http://stat.ethz.ch/R-manual/R-devel/library/base/html/subset.html), it says about how to use subset (subset(data, condition) instead of (subset=data==condition).  Also, the one I am describing about

[R] Dummies guide to getting HPC working on R

2012-06-03 Thread Jonathan Greenberg
R-folks. Sorry for the cross-posting, but I wanted to share a link to a (fairly long) blog post I created which tries to take the mystery out of getting R setup for doing high performance/parallel computing if you have to compile R from scratch:

[R] Rexcel question

2012-06-03 Thread blue honour
I am using the worksheet functions of RExcel. I am trying to pass a datatable to a function in the following call: =RApply(O14:O18,D6) Cells O14:O18 contain the definition of the function. This is a function that takes one argument which is a data.table. Cell D6 has the name of the

Re: [R] Modify pdf file with Illustrator.

2012-06-03 Thread Neil Collier
ggplot2 handles all of these requirements. I highly recommend using it for composite figures. Try the grid.arrange() and arrangeGrob in the 'gridExtra' package in addition to ggplot2. On Mon, Jun 4, 2012 at 1:08 AM, Uwe Ligges lig...@statistik.tu-dortmund.dewrote: On 03.06.2012 17:03, Jinyan

Re: [R] Fwd: Rgraphviz installation problem

2012-06-03 Thread slipkid90515
Martin -- I know this is about a year late, but I have to thank you for taking the time to answer Ram's question in this thread. It helped me get Rgraphviz up and running. I've been struggling with this for about 90 minutes, so thank you so much! And to anyone else who may run upon this

[R] Plotting with Rgraphviz

2012-06-03 Thread slipkid90515
Hi All, After a lengthy battle just to get the package installed, I am not able to actually use Rgraphviz to generate any plots. I tried just using the sample code in the documentation (http://www2.warwick.ac.uk/fac/sci/moac/people/students/peter_cock/r/rgraphviz/) and I get the following: *

Re: [R] R 15.0 Warning message.

2012-06-03 Thread Jinyan Huang
At last, the administrator provide me this command to fix this problem. echo setenv LC_ALL en_US.UTF8 ~/.cshrc.aliases On Sun, Jun 3, 2012 at 5:47 PM, peter dalgaard pda...@gmail.com wrote: On Jun 3, 2012, at 11:36 , Prof Brian Ripley wrote: ls -ld /usr/share/locale/en_US* drwxr-xr-x 2

[R] Error while trying to install RPostgreSQL.

2012-06-03 Thread Prakash Thomas
Hi, I am getting the following error while trying to install RPostgreSQL. I tried all three methods(install.packages(RPostgreSQL, type = source),install.packages(RPostgreSQL) R CMD INSTALL RPostgreSQL_0.3-1.tar.gz ) , but none of them is working. ++

[R] Re : Error while trying to install RPostgreSQL.

2012-06-03 Thread Pascal Oettli
Hello, You got the detail of the error: RS-PostgreSQL.h:23:26: fatal error: libpq-fe.h: No such file or directory compilation terminated. Please searc on Internet libpq-fe.h. You will get answer to your problem. Regards - Mail original - De : Prakash Thomas pthomas2...@gmail.com À :