Re: [R] How to measure/rank "variable importance" when using rpart?

2011-01-24 Thread Tal Galili
1 at 12:33 AM, Tal Galili wrote: > Hi Andy, > > Thank you for your response. > > I've already came by this function but also noticed that the help file > states that: > "This method does *not* currently provide class–specific measures of > importance when the *res

Re: [R] How to measure/rank "variable importance" when using rpart?

2011-01-24 Thread Tal Galili
Hebrew) | www.r-statistics.com (English) -- On Mon, Jan 24, 2011 at 5:21 PM, Liaw, Andy wrote: > Check out caret::varImp.rpart(). It's described in the original CART > book. > > Andy > &

Re: [R] How to carry out a hierarchical cluster analysis

2011-01-24 Thread Tal Galili
This is a nice tutorial on doing this: http://www.r-tutor.com/gpu-computing/clustering/hierarchical-cluster-analysis Contact Details:--- Contact me: t

Re: [R] How to measure/rank ?variable importance when using rpart?

2011-01-24 Thread Tal Galili
Hi Terry, I've actually already written such a function (based on an old similar question I once asked on this list), which I attached bellow to this e-mail. But I have a few problems with my function: 1) I wasn't sure how to include the surrogate variable importance level into the function (ho

[R] How to measure/rank “variable importance” when using rpart?

2011-01-24 Thread Tal Galili
Hello all, When building a CART model (specifically classification tree) using rpart, it is sometimes interesting to know what is the importance of the various variables introduced to the model. Thus, my question is: *What common measures exists for ranking/measuring variable importance of partic

Re: [R] Implementing step-wise linear regression

2011-01-24 Thread Tal Galili
Hello Troy. A tiny question (without answering your question), why did you choose to do it this way instead of using ?step or ?stepAIC ? Best, Tal Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me:

Re: [R] Installing package in windows 7

2011-01-20 Thread Tal Galili
Haseeb - thank you for republishing your solution. Prof Brian Ripley - thanks for pointing to my error. Best, Tal Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.

Re: [R] Installing package in windows 7

2011-01-20 Thread Tal Galili
You probably need to get your users permissions (in win 7) set properly... Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-stat

Re: [R] How to make a Cluster of Clusters

2011-01-08 Thread Tal Galili
Hi Diego, It sounds like what you want to do is to cluster 18 "observations" (each of them are clusters themselves), and then have each of the 18 tips have the rest of the cluster hierarchy in them. I don't think this is possible through hclust, BUT, it can (relatively) be easier to program using a

Re: [R] t-test or ANOVA...who wins? Help please!

2011-01-05 Thread Tal Galili
Hello Frodo, It is not clear to me from your questions some of the basics of your analysis. If you only have two levels of a factor, and one response - why in the anova do you use more factors (and their interactions)? In that sense, it is obvious that your results would differ from the t-test.

Re: [R] Any functions to manipulate (merge, cut, remove) hclust objects? (maybe through phylo?)

2010-12-29 Thread Tal Galili
l.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) -- On Wed, Dec 29, 2010 at 1:49 PM, Martin Maechler wrote: > >>>

Re: [R] Any functions to manipulate (merge, cut, remove) hclust objects? (maybe through phylo?)

2010-12-29 Thread Tal Galili
45 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) -- On Wed, Dec 29, 2010 at 1:23 PM, Martin Maechler wrote: > >>>>> "TG"

[R] Any functions to manipulate (merge, cut, remove) hclust objects? (maybe through phylo?)

2010-12-27 Thread Tal Galili
Hello all, I'm now working with hclust objects and was hoping to perform some basic editing on them like: - Joining = the merging of two hclust objects (so they will share one root) - Splicing = So to cut/extract a branch out of an hclust object - that by itself will be an hclust obje

Re: [R] Help required: binomial option pricing using package

2010-12-25 Thread Tal Galili
Hi Sonal, The example you gave is not reproducible since we don't have "data" as you do. However, here is an example of how to access the object you are after: tmp <- CRRBinomialTreeOption(TypeFlag = "pa", S = 50, X = 50, Time = 5/12, r = 0.1, b = 0.1, sigma = 0.4, n = 5) t...@price Cheers

Re: [R] Performing basic Multiple Sequence Alignment in R?

2010-12-21 Thread Tal Galili
Hello David, Mike and Thomas Dear David, First, my apologies for the double posting - I'll try to not forget that policy. Regarding agrep, I think it will be easier for me to work with the functions on {Biostrings} (for example stringDist, or pairwiseAlignment), then to open up the C code. Dear

[R] Performing basic Multiple Sequence Alignment in R?

2010-12-21 Thread Tal Galili
Hello everyone, I am not sure if this should go on the general R mailing list (for example, if there is a text mining solution that might work here) or the bioconductor mailing list (since I wasn't able to find a solution to my question on searching their lists) - so this time I tried both, and in

Re: [R] Resource for learning C/R interface

2010-12-18 Thread Tal Galili
Hi Julian, There was also a great thread on this topic just recently here: http://stackoverflow.com/questions/4106174/where-can-i-learn-to-how-to-write-c-code-to-speed-up-slow-r-functions You might find it useful. Cheers, Tal Contact Details:-

Re: [R] box-and-whisker plots based on summary not data

2010-12-17 Thread Tal Galili
It would seem that simply running the boxplot on the relevent numbers will give you a boxplot (Assuming you are not beyond the fences). set.seed(10) x = rnorm(100) boxplot(x) boxplot(summary(x)[-4]) # If beyond the fences - it won't work set.seed(10) x = c(rnorm(100), 10) boxplot(x) boxplot(s

Re: [R] test whether all elements of a vector are identical

2010-12-16 Thread Tal Galili
How about: length(unique(vector)) >1 ? Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) -

Re: [R] rpart - how to estimate the “meaningful” predictors for an outcome (in classification t rees)

2010-12-15 Thread Tal Galili
f getting around. First create two responses via > dummy variables > > y1 <- ifelse(y=="a", 1, 0) > y2 <- ifelse(y=="b", 1, 0) > > and then built two separate tree models for y1 and y2 separately. > > Hope it helps. > Xiaogang > > > On Tue,

[R] rpart - how to estimate the “meaningful” predictors for an outcome (in classification t rees)

2010-12-14 Thread Tal Galili
Hi dear R-help memebers, When building a CART model (specifically classification tree) using rpart, it is sometimes obvious that there are variables (X's) that are meaningful for predicting some of the outcome (y) variables - while other predictors are relevant for other outcome variables (y's onl

Re: [R] How to change leaf color by group in hclust plot or how to install A2R package in windows?

2010-12-13 Thread Tal Galili
What error do you get when using: install.packages("A2R") ? Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (En

[R] Why do we have to turn factors into characters for various functions?

2010-12-11 Thread Tal Galili
Hello dear R-help mailing list, My question is *not* about how factors are implemented in R (which is, if I understand correctly, that factors keeps numbers and assign levels to them). My question *is* about why so many functions that work on factors don't treat them as characters by default? Her

Re: [R] Could concurrent R sessions mix up variables?

2010-12-11 Thread Tal Galili
Hello Anthony, Since you are working on Windows, also consider using the "doSMP" with the "foreach" package. Although it is not fully GPL as many of us would have preferred (e.g: doSMP is not on CRAN), it is still freely available (with source code and all) to download (even without the need for "R

Re: [R] Encoding problem - I fails to read Hebrew text from online

2010-12-10 Thread Tal Galili
lili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) -- On Fri, Dec 10, 2010 at 12:00 AM, Matt Shotwell wrote: > Tal, > > OK, let me clarify my understanding. T

Re: [R] Encoding problem - I fails to read Hebrew text from online

2010-12-09 Thread Tal Galili
ectly (it does in my > terminal). The next thing to think about is how to automate this in R > without using the web service... We may need to write an HTMLDecode > function if there isn't one already. > > By the way, what's the Hebrew text in English? > > Best, > Matt

Re: [R] Trouble Loading doBy and coin Packages

2010-12-09 Thread Tal Galili
I Adam, Have you tried deleting the package files and then reinstalling them from a different CRAN mirror? Tal Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.bios

Re: [R] Encoding problem - I fails to read Hebrew text from online

2010-12-09 Thread Tal Galili
I am bumping this question in the hopes that someone might be able to advise. This Hebrew and R business is not as smooth as I had hoped... Thanks, Tal Older massage: On Tue, Dec 7, 2010 at 2:30 PM, Tal Galili wrote: > Hello all, > > # I am trying to read the text in this URL: >

[R] Encoding problem - I fails to read Hebrew text from online

2010-12-07 Thread Tal Galili
Hello all, # I am trying to read the text in this URL: u <- http://google.com/complete/search?output=toolbar&q=%d7%a9%d7%9c%d7%95%d7%9d # By using this command: readLines(u) And no matter what variation I tried, I keep getting this output: [1] "< (etc...) Instead of this output: ___

Re: [R] Problem storing lm() model in a list

2010-12-05 Thread Tal Galili
Hi Harold, I think the error stems from the data.frame you are entering into the predict function. Your data.frame must have the EXACT column name as the one used for the creation of the model object. Is that the case in your code? Best, Tal Contact Details:--

Re: [R] what is this averaging function called ?, has R a built in function for it ?

2010-12-05 Thread Tal Galili
Hi there, I didn't fully follow your code, but allow me to ask: *What is your input - and what do you want to output to be?* Is you input a vector (array) of points? Is your output some sort of averaging of the points according to order? If you searching for a function to "smooth" a sequance of p

Re: [R] Is there an implementation for "URL Encoding" (/format) in R?

2010-11-25 Thread Tal Galili
Thank you Duncan, Romain and Gustavo for referring me to both: URLencode and curlEscape I see that both functions work great for English, but fail to provide with the proper translation for Hebrew characters. For example, the word שלום (Peace, in Hebrew) Should be this: %D7%A9%D7%9C%D7%95%D7%

[R] Is there an implementation for "URL Encoding" (/format) in R?

2010-11-25 Thread Tal Galili
Hello all, I would like some R function that can translate a string to a "URL encoding" (see here: http://www.w3schools.com/tags/ref_urlencode.asp) Is it implemented? (I wasn't able to find any reference to it) Thanks, Tal Contact Details:

Re: [R] Wilcoxon Rank Sum in R with a multiple testing correction

2010-11-23 Thread Tal Galili
For the BH, you can use the command ?p.adjust(..., "BH") For reading the files in and doing the analysis, here is an example: http://www.r-tutor.com/elementary-statistics/non-parametric-methods/wilcoxon-signed-rank-test You'd then need to extract all the P values like this: x <- wilcox.test(... )

Re: [R] Three-way ANOVA shows me two-way results

2010-11-23 Thread Tal Galili
It seems your model defines more parameters then your data permits (e.g: singular). What you can do is try something like this: summary(aov(formula('FP ~ (lum + obj + man)^2 - Error(vp/(lum + obj + man)^2)),data=dataf)) (notice the use of + and ^) This is something your data might permit (assumi

[R] Catching a RCurl error?

2010-11-23 Thread Tal Galili
Hi all, I'm running a complex script which accesses the internet, and sometimes it stops with the error: Error in curlPerform(url = url, headerfunction = header$update, curl = curl, > : Failure when receiving data from the peer Is there a way to make the script "wait" longer, or not crash w

Re: [R] Calculating correlation

2010-11-23 Thread Tal Galili
th all … and so on > > > Probably in the given input I should get 5 outputs because of 5 samples > S1,2,3,4,n. > > If they are more like 69 or some thing then I should get 69 outputs or > everything in one output if possible. > > > Please let me know if it is still conf

Re: [R] Calculating correlation

2010-11-22 Thread Tal Galili
Hi there, I'm not sure I understand your question. What are the two vectors you wish to check their correlation? Are they the two rows x and a? Because from your example it seems you are trying to do a correlation between two singular numbers (so probably I didn't get something straight). Tal

Re: [R] RGoogleDocs stopped working

2010-11-20 Thread Tal Galili
Dear Farrel, Now, using the most updated version of the packages, I was able to make your example work for me - thank you very much for your help! Best, Tal Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845

Re: [R] Where can I find a working libeay32.dll file for RCurl ?

2010-11-20 Thread Tal Galili
glish) -- On Sat, Nov 20, 2010 at 2:32 PM, Tal Galili wrote: > Hi all, > I was trying to run the latest version of RCurl on windows 7 with R 2.12 > and got a "missing libeay32.dll" error. > I now downloaded such a file from here: > > http://code.google.com/p/ai

[R] Where can I find a working libeay32.dll file for RCurl ?

2010-11-20 Thread Tal Galili
Hi all, I was trying to run the latest version of RCurl on windows 7 with R 2.12 and got a "missing libeay32.dll" error. I now downloaded such a file from here: http://code.google.com/p/aion-inside/source/browse/trunk/out/libeay32.dll?spec=svn10&r=10 And placed it in the system32 folder. Now I ge

Re: [R] RGoogleDocs stopped working

2010-11-19 Thread Tal Galili
I second Harlan's call. Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) --

Re: [R] Help me with R plotting

2010-11-18 Thread Tal Galili
s" > > Also I tried legend... which creates small boxes below the dots which is Do > not what I want exactly. I would like below every plot to write some text > but not inside any box that will cover part of the image. > > Best Regards > Alex > > --- On *Thu, 11/18/10,

Re: [R] Help me with R plotting

2010-11-18 Thread Tal Galili
?plot Will give a good solution #Example: set.seed(5) xx <- data.frame(x = runif(50), y = runif(50), z = sample(c(1:3), 50, T)) with(xx, plot(x, y, col = z, pch = 19)) Now you can start going into how to play with the colors, and how to add ?legend to the image... Tal Contact

Re: [R] AOV/LME

2010-11-16 Thread Tal Galili
Hi janesense, You might find it useful to go through the tutorial listed here for help: http://www.r-statistics.com/2010/04/repeated-measures-anova-with-r-tutorials/ Cheers, Tal Contact Details:--- Contact me: tal.gal...@gmail.c

Re: [R] About upgrade R

2010-11-15 Thread Tal Galili
20:42, csrabak escreveu: > > Em 14/11/2010 18:24, Tal Galili escreveu: >> >>> Hi John, thank you for that input. >>> It could be that the code I wrote here: >>> >>> http://www.r-statistics.com/2010/04/changing-your-r-upgrading-strategy-and-the-r-code

Re: [R] About upgrade R

2010-11-14 Thread Tal Galili
Hi Stephen, It doesn't exist before you'll make it (that's one of the thing the code in my post does) Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistic

Re: [R] About upgrade R

2010-11-14 Thread Tal Galili
Hi John, thank you for that input. It could be that the code I wrote here: http://www.r-statistics.com/2010/04/changing-your-r-upgrading-strategy-and-the-r-code-to-do-it-on-windows/ Should be updated so every time you install a new R version, you run the code for it to: 1) copy all packages from t

Re: [R] About upgrade R

2010-11-14 Thread Tal Galili
Hi Stephen, I just happened to have upgraded my R today. Tips: 1) Make sure the folder has full permissions so that you'll be able to install/update packages on it. 2) I still find the advices (and code) I gave in that article to be worthwhile. And do pay attention to the directory into which you

[R] Looking for R bloggers in non-English languages

2010-11-13 Thread Tal Galili
Hello everyone, Today I started a non-English version of R-bloggers, at: http://www.r-bloggers.com/lang/ R-bloggers.com is a blog aggregator (or a meta-blog) that offers content about R from 133 bloggers, publishing about 1 to 5 new posts a day. I am happy to see over 2700 people had already sub

Re: [R] R on an iPad

2010-11-13 Thread Tal Galili
Hi Erin, I wrote about this half a year ago, I imagine most of the information there still holds true: http://www.r-statistics.com/2010/06/could-we-run-a-statistical-analysis-on-iphoneipad-using-r/ Contact Details:--- Contact me:

Re: [R] Adding meta-data when creating objects. e.g: changing "<-" so to (for example) add "creation time" - how-to and pros/cons?

2010-11-11 Thread Tal Galili
at 12:30 PM, Barry Rowlingson < b.rowling...@lancaster.ac.uk> wrote: > On Thu, Nov 11, 2010 at 9:37 AM, Tal Galili wrote: > > > 4) My real intention is to somehow change the "<-" operator (not simply > the > > assign). I am unsure as to how to do that.

[R] Adding meta-data when creating objects. e.g: changing "<-" so to (for example) add "creation time" - how-to and pros/cons?

2010-11-11 Thread Tal Galili
My objective is to start having meta-data on objects that I create. For example, consider the following function: assign2 <- function(x, ...) { assign("x", ...) attr(x, "creation time") <- Sys.time() x <<- x } assign2("x", 1:4) "assign2" assigns to x the vector 1:4, and it then also adds the c

Re: [R] Merge Data

2010-11-10 Thread Tal Galili
> to extending the x axis.) Would you please help me with it? > > Thanks for your help! > > > On Tue, Nov 9, 2010 at 12:23 PM, Tal Galili wrote: > >> Hello Nasrin, >> >> I think you might be wanting to use >> r

Re: [R] Merge Data

2010-11-09 Thread Tal Galili
Hello Nasrin, I think you might be wanting to use rbind instead of merge Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-

[R] Is there a way to have 'comment' keep a list?

2010-11-09 Thread Tal Galili
Hello all, I recently discovered the "comment" command. I see it can only hold a vector of characters. Is there a way (or an alternative), to make it possible to have it keep a list? (for example, to keep different pieces of information like date of creation, information of each variable and so o

Re: [R] "repeated"repeated measures in ANOVA or mixed model

2010-11-09 Thread Tal Galili
Hi Paul, Here are a bunch of tutorials on the topic: http://www.r-statistics.com/2010/04/repeated-measures-anova-with-r-tutorials/ I suggest a more specific question for people to help :) Best, Tal Contact Details:--- Contact m

[R] Why doesn't ?match keep the original (x) data.frame order?

2010-11-09 Thread Tal Galili
Hello all, Following on my question here ( http://www.mail-archive.com/r-help@r-project.org/msg116075.html), I understand now that when using sort = FALSE the order of the merged data frame is "unspecified". But why was it designed this way? Why not keep the original order (when possible)? Tha

Re: [R] Help with getting ?match to not sort

2010-11-08 Thread Tal Galili
attr(myMerge, "creation time") <- Sys.time() >myMerge[order(myMerge$myOrder), colnames(myMerge) != "myOrder"] > } > > but I'm not sure this will work in all circumstances in which people might > use merge(). > > HTH ... > > Peter Alspa

[R] Help with getting ?match to not sort

2010-11-08 Thread Tal Galili
Hello all, I think I am missing something about the sorting parameter in the "match" command/ Here is an example: a1 <- data.frame(name = c("D", "B", "C", "A", "A", "C")) a2 <- data.frame(name = c("A", "B", "C", "D"), num = 1:4) a1 a2 merge(a1, a2, sort = F, by.x = T) The result is: name n

Re: [R] can't load nlme on windoze 7

2010-11-07 Thread Tal Galili
Hello Mika, Most of my problems with win7 where permission problems. You can check if that is the case, by setting R to ran with administrator privileges, and see if that solves the problem. Best, Tal Contact Details:--- Contac

Re: [R] Plotting a vector data

2010-11-04 Thread Tal Galili
Hi Nasrin, 1) You didn't define mean.radiation in your code (for example using mean.radiation<-NULL) 2) Also, you're using "attach", which is a good recipe for forgetting something in your environment which will lead into troubles. 3) You didn't define i (for example i <- 1:30) Tal -

Re: [R] For loop

2010-10-30 Thread Tal Galili
I can't see how to vectorized your code, maybe it's possible. That leaves you with either using parallel processing (for example using the foreach package) Or, If you know C, you could put that calculation into a C code inside the R code using Rcpp. There was a recent video on the topic on a goo

Re: [R] compare quality of clustering methods?

2010-10-30 Thread Tal Galili
It depends on how your clustered objects are stored. As written here: http://www.statmethods.net/advstats/cluster.html The function *cluster.stats() *in the *fpc * package provides a mechanism for comparing the similarity of two cluster solut

[R] Which version control system to learn for managing R projects?

2010-10-26 Thread Tal Galili
Hello all, I wish to learn a version control system for managing my R (data analysis) projects. I know of SVN and github, and wonder if there is any reason for which I should prefer the one over the other (or any other platform). An example for a reason could be if it will make it easier for me t

Re: [R] .R file

2010-10-25 Thread Tal Galili
There is most of what you need here: http://www.statmethods.net/interface/workspace.html Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebr

Re: [R] wait for graph to finish plotting

2010-10-23 Thread Tal Galili
) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) -- On Sat, Oct 23, 2010 at 4:53 PM, wrote: > David Winsemius writes: > > > On Oct 22, 2010, at 12:50 PM, wrote: > > >

Re: [R] wait for graph to finish plotting

2010-10-22 Thread Tal Galili
.il (Hebrew) | www.r-statistics.com (English) -- On Fri, Oct 22, 2010 at 9:50 PM, wrote: > Tal Galili writes: > > > I suspect that using "dev.copy2eps" Is not going to help you here. &g

Re: [R] wait for graph to finish plotting

2010-10-22 Thread Tal Galili
I suspect that using "dev.copy2eps" Is not going to help you here. Please try again using: pdf(...) # Check: ?pdf for(i in something) { plot(things) } dev.off() But give pdf() the file path. Make sure you can make it work with simple plots. then check it on your situation, and let us

Re: [R] (no subject)

2010-10-22 Thread Tal Galili
Hi Penny, Could you provide the code you are using? (also, using a subject to the e-mail, would have been nice :) ) Tal Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) |

Re: [R] wait for graph to finish plotting

2010-10-22 Thread Tal Galili
There are several ways. What I often use is: pdf(...) # Check: ?pdf for(i in something) { plot(things) } dev.off() And it works fine. Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talg

Re: [R] question about decision trees

2010-10-22 Thread Tal Galili
You get a model that enables you to predict future outcomes. Nice examples are available here: http://www.statmethods.net/advstats/cart.html Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.ta

Re: [R] create sequence of numbers

2010-10-22 Thread Tal Galili
Hi Alex, Could you give us the values you used, by providing the output of: dput(CRagent[[1]]$xy[1]) dput(CRagent[[2]]$xy[1]) ? Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (

[R] Dragging an .RData file into R on win-7 doesn't work?

2010-10-22 Thread Tal Galili
Hi all, I sometimes drag an .RData file into an open R console so to load that data into the file. I use windows 7, and it works fine. But, if I open R by using: -> properties -> compatibility -> (mark the box) "run this program as an administrator" Then I can no longer drag the .RData into the

Re: [R] unbalanced repeated measurements Anova with mixed effects

2010-10-17 Thread Tal Galili
Hello Thijs, I think that as you wrote, the aov wouldn't work for you here (due to the unbalanced design). I'd recommend you to have a look at the {ez } package, which offers a nice wrapping of the car Anova functions. I've listed a bunch of tu

Re: [R] Parallel processing

2010-10-10 Thread Tal Galili
Hello Partha, Both questions are answered here: http://www.r-statistics.com/2010/04/parallel-multicore-processing-with-r-on-windows/ I would also recommend you to have a look here: http://www.r-statistics.com/20

[R] A competition to create a recommendation engine for R packages

2010-10-09 Thread Tal Galili
Hello everyone. There is a new competition, outlined on the blog dataists, inviting us to analyse statistics of the use of R packages (collected from 52 R users), to create a R-package suggestion engi

Re: [R] Looking for a book/tutorial with the following context:

2010-10-06 Thread Tal Galili
Hello Alex, I recently published a post titled: "Managing a statistical analysis project – guidelines and best practices " This post might prove useful to you: http://www.r-statistics.com/2

Re: [R] forecasting from a linear regression

2010-10-05 Thread Tal Galili
Hello Brima, I might be missing something, but how is that theoretically done ? Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r

Re: [R] Deducer and Contingency Tables

2010-10-03 Thread Tal Galili
Hi Jim, It might be worth to also ask this in the deducer google group: http://groups.google.com/group/deducer?pli=1 Best, Tal Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (H

Re: [R] Include externally generated pdf in output (without Sweave)

2010-10-03 Thread Tal Galili
Hello Dieter, Looking at this thread (from 2005) http://tolstoy.newcastle.edu.au/R/help/05/10/14320.html It seems you can't read a pdf file to R (at least then, I hope there was an update since). BUT You could potentially read an image file (like, for example, tiff) using something like read.pic

Re: [R] Non-Parametric Adventures in R

2010-10-03 Thread Tal Galili
Dear Jamesp, This might be (more?) fitting for a blog then the R-help mailing list. I'd suggest you to open a blog on (it takes less then 4 minutes): wordpress.com It now has syntax highlighting for R code: http://www.r-statistics.com/2010/09/r-syntax-highlighting-for-bloggers-on-wordpress-com/ I

Re: [R] Tinn R

2010-10-02 Thread Tal Galili
Hi Raphael, Why won't you try notepad++ with npptor ? It does almost everything tinnR does. I moved to it after not being happy with tinnR lack of support for R in their newer versions. Best, Tal Contact Details:--- Contact me:

Re: [R] plotting wind rose data (Karl Ropkins)

2010-10-02 Thread Tal Galili
Hi Karl, There is an example of using Deducer's with ggplot2 to produce a rose plot (including a video of use), I thought you might find it useful: http://www.r-statistics.com/2010/08/rose-plot-using-deducers-ggplot2-plot-builder/

Re: [R] R 2.11.1 crashes

2010-10-01 Thread Tal Galili
Hello Steve, You'll need to give more information for people to help you. 1) Is this the first time you installed R? Or was it a working R version that suddenly started having this problem? 2) Did you try uninstalling this version, downloading a new version, installing it - and seeing what happen

Re: [R] A problem with plotting a long expression in ylab ?

2010-09-29 Thread Tal Galili
My honor. A short question: if there is something in the device that is sensitive to the overlapping of the text, then is it possible to add a warning massage output when the length of the text is longer then the device dimensions? With much respect, Tal Contact Details:-

Re: [R] A problem with plotting a long expression in ylab ?

2010-09-28 Thread Tal Galili
On Tue, Sep 28, 2010 at 11:29 AM, Barry Rowlingson < b.rowling...@lancaster.ac.uk> wrote: > On Tue, Sep 28, 2010 at 10:03 AM, Tal Galili wrote: > > Hello, > > > > It seems that there is a proble

[R] A problem with plotting a long expression in ylab ?

2010-09-28 Thread Tal Galili
Hello, It seems that there is a problem when plotting an expression in the ylab of a plot in case it is too long. Example: plot(1) title(ylab = "test looong ") # work plot(1) title(ylab = expression(paste("test (% of 360" *d

Re: [R] Output Graphics GIF

2010-09-27 Thread Tal Galili
I am guessing you are saving the plot using the menu system. If that is the case, have a look at: ?pdf ?png Generally, I like saving my graphics to pdf since it is vectorized. Cheers, Tal Contact Details:--- Contact me: tal.g

Re: [R] textplot

2010-09-27 Thread Tal Galili
Have a look at ?textplot >From the gplots package: http://cran.r-project.org/web/packages/gplots/index.html Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostat

Re: [R] (no subject)

2010-09-25 Thread Tal Galili
Did you look at: ?curve Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) ---

Re: [R] Web forum - should I make one?

2010-09-21 Thread Tal Galili
And of course there is also: http://stats.stackexchange.com/questions/tagged/r Cheers, T Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebre

Re: [R] Package for calculating bandwidths

2010-09-21 Thread Tal Galili
Bandwidth of what? Internet traffic/some sort of smoother? Your question is not clear to me. Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (H

Re: [R] Sorting and subsetting

2010-09-20 Thread Tal Galili
Hi Harold, I thought of one way to do this, but maybe (probably) there is a faster way: tmp <- data.frame(index = gl(3,20), foo = rnorm(60)) subset.first.x.elements <- function(INDEX, num.of.elements = 5) { t.INDEX <- table(factor(INDEX, levels = unique(INDEX))) running.indexes <- unlist(sappl

Re: [R] Tal Galili wants to stay in touch on LinkedIn

2010-09-20 Thread Tal Galili
t; Please check your contact e-mail address! > > Edwin > -- > On Mon, 20 Sep 2010 02:14:17 -0700 (PDT) > Tal Galili via LinkedIn wrote: > > LinkedIn > > Tal Galili requested to add you as a connection on > > LinkedIn: > >

[R] Tal Galili wants to stay in touch on LinkedIn

2010-09-20 Thread Tal Galili via LinkedIn
LinkedIn Tal Galili requested to add you as a connection on LinkedIn: -- Arnaud, I'd like to add you to my professional network on LinkedIn. - Tal Galili Accept invitation from Tal Galili http://www.linkedin.com/e/qi2mhu-geb4dj

Re: [R] R Founding

2010-09-18 Thread Tal Galili
(English) -- On Thu, Sep 16, 2010 at 12:49 PM, jaropis wrote: > A few days ago Tal Galili posted a message about some controversies > concerning the future of R. Having read the discussions, espe

Re: [R] R Founding

2010-09-16 Thread Tal Galili
- On Thu, Sep 16, 2010 at 12:49 PM, jaropis wrote: > A few days ago Tal Galili posted a message about some controversies > concerning the future of R. Having read the discussions, especially those > following Ross Ihaka's post, I have come to the conclusion, that, as us

Re: [R] Object oriented programming in R.

2010-09-14 Thread Tal Galili
Hello Alaios, I see a bunch of good materials here: http://www.google.co.il/search?sourceid=chrome&ie=UTF-8&q=Object+oriented+programming+in+R Did you look into them ? Contact Details:-

[R] The future of R - Ross Ihaka stirs discussions around the web

2010-09-13 Thread Tal Galili
Hello all, There is currently a (very !) lively discussions happening around the web, surrounding the following topics: 1) Is R efficient? (scripting wise, and performance wise) 2) Should R be written from scratch? 3) What should be the license of R (if it was made a new)? Very serious people hav

<    1   2   3   4   5   6   7   8   >