Re: [R] R Code and the Pygments Python SyntaxHighlighter

2010-12-20 Thread Liviu Andronic
(reviving from the grave) On Thu, Mar 27, 2008 at 5:44 PM, Hans W. Borchers hwborch...@gmail.com wrote: is someone going to write a R/S language lexer for the Pygments Python syntax highlighter http://pygments.org/? As it is used now by Trac, Django, or the Python documentation tool Sphinx,

Re: [R] Matching a pattern of vector of character strings in another vector of character strings

2010-12-17 Thread Liviu Andronic
On Fri, Dec 17, 2010 at 2:34 PM, Jing Liu quiet_jing0...@hotmail.com wrote: M- matrix(c(0,0,1,1,0,1,1,0,0,*,1,1,0,1,*),nrow=3) colnames(M)- c(2006,2007,2008,2009,2010) M     2006 2007 2008 2009 2010 [1,] 0  1  1  *  0 [2,] 0  0  0  1  1 [3,] 1  1  0  1  * pattern- c(0,1) I would like

Re: [R] editor for MacOS

2010-12-17 Thread Liviu Andronic
On Thu, Dec 16, 2010 at 11:09 PM, stephen sefick ssef...@gmail.com wrote: You will get as many suggestions as there are people and here is mine- I like gedit. Personally I keep suggesting Geany over gedit. :) I would move that this be added to the FAQs as it seems to pop up quite often.

Re: [R] calculating mean of list components

2010-12-15 Thread Liviu Andronic
On Wed, Dec 15, 2010 at 2:22 PM, Jim Maas jimmaa...@gmail.com wrote: I get a list object from an iterative function.  I'm trying to figure out the most efficient way to calculate the mean of one element, across all components of the overall list. I've tried output - mean

Re: [R] Applying function to a TABLE and also apply, tapply, sapply etc

2010-12-15 Thread Liviu Andronic
On Wed, Dec 15, 2010 at 4:18 PM, Amelia Vettori amelia_vett...@yahoo.co.nz wrote: Dear R-help forum members, Suppose I have a data-frame having two variables and single data for each of them, as described below. variable_1   variable_2     10  20 I

Re: [R] Saving iterative components

2010-12-14 Thread Liviu Andronic
On Tue, Dec 14, 2010 at 10:34 AM, Annalaura annalaura.ru...@imaa.cnr.it wrote: Thanks a lot Uwe Ligges, I've abandoned R for a few time but now I'm working with it, so I've a question about the last problem that you solved: instead to write cv_1994- idw.cv(X01_1994) cv_1995- idw.cv(X01_1995)

Re: [R] Integration with LaTex and LyX

2010-12-13 Thread Liviu Andronic
On Mon, Dec 13, 2010 at 4:55 PM, Jonathan P Daily jda...@usgs.gov wrote: ?Sweave LyX is a bit harder, although you can probably export LyX docs to a *.tex and Sweave those fairly painlessly. LyX can play very nicely with Sweave and R. For the 1.6.x series, you could get started here [1]. If

Re: [R] Summary (Re: (S|odf)weave : how to intersperse (\LaTeX{}|odf) comments in source code ? Delayed R evaluation ?)

2010-12-13 Thread Liviu Andronic
On Mon, Dec 13, 2010 at 12:30 AM, Emmanuel Charpentier emm.charpent...@free.fr wrote: Therefore, I let this problem to sleep. However, I Cc this answer (with the original question below) to Max Kuhn and Friedrich Leisch, in the (faint) hope that this feature, which does not seem to have been

Re: [R] (S|odf)weave : how to intersperse (\LaTeX{}|odf) comments in source code ? Delayed R evaluation ?

2010-12-12 Thread Liviu Andronic
On Sun, Dec 12, 2010 at 2:24 PM, Gabor Grothendieck ggrothendi...@gmail.com wrote: Try the brew package. There is another package, markup, which is similar to brew and Sweave. See some comments in this thread [1]. To my knowledge it was never officially released, but you could still try it out.

Re: [R] How to print colorful R output??

2010-12-11 Thread Liviu Andronic
Hello On Fri, Dec 10, 2010 at 10:53 PM, casperyc caspe...@hotmail.co.uk wrote: I wonder if there is a way to print the R output with COLOR? Not the color plots, but the outputs in the console. I once asked for this on the list [1], and the are two points: - although technically feasible, say

Re: [R] Sequence generation in a table

2010-12-09 Thread Liviu Andronic
On Thu, Dec 9, 2010 at 12:41 PM, Vincy Pyne vincy_p...@yahoo.ca wrote: The biggest constraint for me is here as an example I have taken only three cases i.e. c(257, 520, 110), however in reality I will be dealing with no of cases and that number is unknown. But your code will certainly

Re: [R] Sequence generation in a table

2010-12-09 Thread Liviu Andronic
On Thu, Dec 9, 2010 at 1:24 PM, Vincy Pyne vincy_p...@yahoo.ca wrote: yy - lapply(c(257, 520, 110), seq, to=0, by=-100) yy/360, I get following error. Error in yy/360 : non-numeric argument to binary operator On the other hand, yy[[1]]/365  fetches me [1] 0.7138889 0.436

Re: [R] Urgent Help with R calculation correlation coefficient

2010-12-06 Thread Liviu Andronic
On Mon, Dec 6, 2010 at 11:02 AM, chintan85 chintanpatha...@yahoo.com wrote: Hi, I am trying to calculate correlation coefficient for gene expression data. Tab delimited file looks like this Id v1   v2    v3 df 56   90    45 gh 87   98    78 ty 89    78    67 I used this code [code]

Re: [R] Urgent Help with R calculation correlation coefficient

2010-12-06 Thread Liviu Andronic
On Mon, Dec 6, 2010 at 11:30 AM, Peter Ehlers ehl...@ucalgary.ca wrote: If you have a *tab*-delimited file, then why are your using read.csv?? Try this: 1. read your data with read.table() or read.delim() If you're very new to R, try Rcmdr. Data Import Text file. Liviu

[R] pca analysis: extract rotated scores?

2010-11-30 Thread Liviu Andronic
Dear all I'm unable to find an example of extracting the rotated scores of a principal components analysis. I can do this easily for the un-rotated version. data(mtcars) .PC - princomp(~am+carb+cyl+disp+drat+gear+hp+mpg, cor=TRUE, data=mtcars) unclass(loadings(.PC)) # component loadings

Re: [R] pca analysis: extract rotated scores?

2010-11-30 Thread Liviu Andronic
(pca$loadings))) # same scores as from ?principal #for differeneces between ?princomp and ?principal scores #see last paragraph of Details in ?principal On Tue, Nov 30, 2010 at 10:22 AM, Liviu Andronic landronim...@gmail.com wrote: Dear all I'm unable to find an example of extracting

Re: [R] Where is gdata?

2010-11-28 Thread Liviu Andronic
On Sun, Nov 28, 2010 at 12:44 PM, Stephen Liu sati...@yahoo.com wrote: library(gdata) gdata Error: object 'gdata' not found gdata() Error: could not find function gdata Please advise what mistake I have committed.  TIA Try help(package=gdata) Regards Liviu B.R. Stephen L        

Re: [R] How to remove a package.

2010-11-28 Thread Liviu Andronic
On Sun, Nov 28, 2010 at 4:58 PM, Stephen Liu sati...@yahoo.com wrote: data() displays Data sets in package ‘AER’: But; library(Ecdat) data() displays Data sets in package ‘datasets’: a large datasets including those in package Ecdat?  NOt only Ecdat separately. Read ?data. Try

Re: [R] Where is gdata?

2010-11-28 Thread Liviu Andronic
On Mon, Nov 29, 2010 at 7:01 AM, Stephen Liu sati...@yahoo.com wrote: ?read.xls I must run ??read.xls Not if you library(gdata) first. Then ?read.xls should work. Regards Liviu __ R-help@r-project.org mailing list

Re: [R] Where is gdata?

2010-11-28 Thread Liviu Andronic
regards Liviu      Spencer On 11/28/2010 10:40 PM, Liviu Andronic wrote: On Mon, Nov 29, 2010 at 7:01 AM, Stephen Liusati...@yahoo.com  wrote: ?read.xls I must run ??read.xls Not if you library(gdata) first. Then ?read.xls should work. Regards Liviu

Re: [R] Calculating correlation

2010-11-23 Thread Liviu Andronic
Hello On Tue, Nov 23, 2010 at 7:57 AM, gireesh bogu girishb...@gmail.com wrote: Hi guys I have an input file with multiple columns and and rows. Is it possible to calculate correlation of certain value of certain No (For example x of S1 = 112) with all other values (for example start with x

Re: [R] Variable Editor

2010-11-17 Thread Liviu Andronic
On Wed, Nov 17, 2010 at 1:11 PM, Alaios ala...@yahoo.com wrote: Hello everoyne, If you have ever used matlab you should know the variable editor. You click over the value of a variable in the workspace and it opens like a excel sheet. Do you know if there is something like that in R . This

Re: [R] help on IDE

2010-11-17 Thread Liviu Andronic
On Wed, Nov 17, 2010 at 7:41 PM, Partha Sinha pnsinh...@gmail.com wrote: I am new comer in R.There r few IDE like Tinn R,VIM etc.I mean How to use them? Do I need to install R and then install them to use or they can work alone? Also does one install packages on R or IDEs? Can I call/use the

Re: [R] Factor analysis

2010-11-13 Thread Liviu Andronic
On Sat, Nov 13, 2010 at 2:07 PM, Brima adamsteve2...@yahoo.com wrote: Thanks very much. However, I got an error message when I tried. What I did is that I created a correlation matrix named dat which is the only data I have and tried using the below fa- factanal(covmat = dat, factors=2,

Re: [R] Factor analysis

2010-11-12 Thread Liviu Andronic
Hello On Sat, Nov 13, 2010 at 7:57 AM, Brima adamsteve2...@yahoo.com wrote: Hi all, This could be very basic. I want to do exploratory factor analysis but I don't have the data, rather I have the correlation matrix. How do I do this with just the correlation matrix? I know for principal

[R] error on R CMD rtags

2010-11-10 Thread Liviu Andronic
Dear all I'm getting a strange error when trying to use rtags() to generate tags in Emacs format. r...@liv-laptop:/usr/lib/R# R CMD rtags -o /usr/local/build/ETAGS --no-Rd --no-c library/ Tagging R files under library/; writing to /usr/local/build/ETAGS (overwriting)... [..] Error: '\.' is an

Re: [R] Using changing names in loop in R

2010-11-06 Thread Liviu Andronic
On Sat, Nov 6, 2010 at 5:22 PM, Tuatara franziskabro...@gmail.com wrote: Hello everybody, I have usually solved this problem by repeating lines of codes instead of a loop, but it's such a waste of time, I thought I should really learn how to do it with loops: Would the following construct

Re: [R] one function with 2 returnh points

2010-10-30 Thread Liviu Andronic
On Sat, Oct 30, 2010 at 11:09 AM, Alaios ala...@yahoo.com wrote: Hello everyone. I have written quite a big function that at the end correctly returns the values I want. I found a rare exception that I want to cover also. The easier for me would be to write something like that function(){

Re: [R] Best IDE for R

2010-10-27 Thread Liviu Andronic
On Wed, Oct 27, 2010 at 4:05 PM, Lee Hachadoorian lee.hachadooria...@gmail.com wrote: For an R-enabled text editor, I would suggest Tinn-R for Windows or RGedit (a gedit plugin) for Linux/Gnome-desktop. Since both are just text editors, they will work with whatever version R you have installed

Re: [R] Best IDE for R

2010-10-27 Thread Liviu Andronic
. Daily Technician - USGS Leetown Science Center 11649 Leetown Road Kearneysville WV, 25430 (304) 724-4480 Is the room still a room when its empty? Does the room, the thing itself have purpose? Or do we, what's the word... imbue it.     - Jubal Early, Firefly From: Liviu Andronic landronim

Re: [R] Best IDE for R

2010-10-27 Thread Liviu Andronic
On Wed, Oct 27, 2010 at 9:21 PM, steven mosher mosherste...@gmail.com wrote: Thanks for the pointer, After looking at the many folders of R code I have I decided it was time to start working in an IDE and also getting my stuff under version control ( for my own sanity) I'll have a look at

Re: [R] Feedback on you manual

2010-10-24 Thread Liviu Andronic
On Sun, Oct 24, 2010 at 10:33 AM, Patrick Burns pbu...@pburns.seanet.com wrote: If you look at 'Introduction' through the eyes of a complete novice, it is really, really scary. Ditto. I had no programming background prior to learning R, and after half a minute glancing through the 'Intro to R'

Re: [R] preferred x-delimited data format for R?

2010-10-24 Thread Liviu Andronic
On Wed, Oct 20, 2010 at 5:30 PM, Nutter, Benjamin nutt...@ccf.org wrote: I run into that problem frequently. I can usually circumvent it by using the  quote = \ Argument.  The default is quote = \'  which uses the double and single quote as quoting symbols.  If you change it to \ it will read

Re: [R] Importing CSV File

2010-10-24 Thread Liviu Andronic
On Mon, Oct 25, 2010 at 12:26 AM, Jason Kwok jayk...@gmail.com wrote: Thanks for the response Erik. In this case, I would like to keep the row name as the month.  How would I do that? You can do this in Rcmdr. First Data Import From text file (or select your data.frame as active data set),

[R] command to start R and Rcmdr?

2010-10-23 Thread Liviu Andronic
Dear all I would like to start R with Rcmdr from the cli, without tweaking Rprofile.site. This has been discussed in the past [1], but I don't see a solution that (1) could be used with any working directory and (2) would avoid starting Rcmdr on every R start-up. Personally I tried the following,

Re: [R] Feedback on you manual

2010-10-23 Thread Liviu Andronic
(off-topic) Dear Patrick On Sat, Oct 23, 2010 at 10:57 AM, Patrick Burns pbu...@pburns.seanet.com wrote: Perhaps 'Some hints for the R beginner' http://www.burns-stat.com/pages/Tutor/hints_R_begin.html Do you provide a PDF version of this human-friendly introduction to R? :) Regards Liviu

Re: [R] help

2010-10-23 Thread Liviu Andronic
Hello On Sat, Oct 23, 2010 at 10:43 AM, Mastaki Kambale jkmast...@hotmail.com wrote: Dears R I am a self taught novice user of R. I begin to understand its philosophy and some basics like objects, vectors, arrays, lists etc...I still am not able to manipulate variables (objects!) in

Re: [R] command to start R and Rcmdr?

2010-10-23 Thread Liviu Andronic
On Sat, Oct 23, 2010 at 2:07 PM, Henrique Dallazuanna www...@gmail.com wrote: You've tried removing the quotes around require? Yes, but it fails: l...@liv-laptop:~$ R --interactive -e require(Rcmdr) bash: syntax error near unexpected token `(' l...@liv-laptop:~$ R -e require(Rcmdr) --interactive

Re: [R] help

2010-10-23 Thread Liviu Andronic
On Sat, Oct 23, 2010 at 4:37 PM, David Winsemius dwinsem...@comcast.net wrote: That wasn't what I understood him to be asking, but rather how to create new variables within existing dataframes. My suggestion would be to work with the examples on the help(with) and help(transform) pages. Oh,

Re: [R] command to start R and Rcmdr?

2010-10-23 Thread Liviu Andronic
On Sat, Oct 23, 2010 at 5:30 PM, Henrique Dallazuanna www...@gmail.com wrote: In windows it work's fine After further experimentation, it does work when I escape the parentheses. However, both l...@liv-laptop:~$ R --interactive -e require\(Rcmdr\) and l...@liv-laptop:~$ R -e require\(Rcmdr\)

Re: [R] command to start R and Rcmdr?

2010-10-23 Thread Liviu Andronic
On Sat, Oct 23, 2010 at 6:43 PM, Lee Hachadoorian lee.hachadooria...@gmail.com wrote: sh -c 'R_DEFAULT_PACKAGES=$R_DEFAULT_PACKAGES Rcmdr R $@' Oh, nice! Thanks a lot, it works like a charm. Regards Liviu __ R-help@r-project.org mailing list

Re: [R] command to start R and Rcmdr?

2010-10-23 Thread Liviu Andronic
On Sat, Oct 23, 2010 at 6:43 PM, Lee Hachadoorian lee.hachadooria...@gmail.com wrote: sh -c 'R_DEFAULT_PACKAGES=$R_DEFAULT_PACKAGES Rcmdr R $@' This is pulled directly from the launcher that Ubuntu creates when it installs Rcmdr from the repository. It seems that the CRAN Rcmdr also ships an

Re: [R] R step-by-step execution

2010-10-22 Thread Liviu Andronic
Hello On Fri, Oct 22, 2010 at 11:33 AM, Alaios ala...@yahoo.com wrote: I wouldl ike to ask you if R supports step by step execution.  I have written some nested loops and  I would like to check on every  step what are the values of some variables. fortune('browser') My solution when I

[R] preferred x-delimited data format for R?

2010-10-20 Thread Liviu Andronic
Dear all What is the preferred spreadsheet-like x-delimited data format for use with R? Should I prefer tab-, comma-, space- or some_other_delimitor-seprated data? I'm asking this because I've been once bitten by CSV data containing ` ' ' (apostrophe) symbols that R couldn't easily digest.

Re: [R] ANOVA stuffs_How to save each result from FOR command?

2010-10-19 Thread Liviu Andronic
Hello On Tue, Oct 19, 2010 at 12:16 PM, BumSeok Jeong bumseok.je...@gmail.com wrote: Dear R experts, I'm new in R and a beginner in terms of statistics. It should be simple question, but definitely difficult to solve it by myself. I'd like to see main effect of group(gender: sample size is

Re: [R] how can i do anova

2010-10-11 Thread Liviu Andronic
Hello On Mon, Oct 11, 2010 at 5:33 PM, Mauluda Akhtar maulud...@gmail.com wrote:  Hi, I've a table like the following. I want to do ANOVA. Could you please tell me how can i do it. I want to show whether the elements (3 for each column) of a column are significantly different or not. Just

Re: [R] same random numbers in different sessions

2010-10-10 Thread Liviu Andronic
Dear all Thanks for all the pointers. On Sat, Oct 9, 2010 at 11:39 PM, Daniel Nordlund djnordl...@frontier.com wrote: Could you be reloading a workspace at start-up that is setting the seed?   What happens if you start R using the --vanilla option? It seems that this is the culprit. For some

Re: [R] same random numbers in different sessions

2010-10-10 Thread Liviu Andronic
Hello On Sun, Oct 10, 2010 at 1:16 AM, jim holtman jholt...@gmail.com wrote: You need to set the set.seed yourself.  There are some simulation where I do want the same numbers generated and can use the set.seed to set it to a know value.  If you want something random each time, then use the

Re: [R] Hausman test for endogeneity

2010-10-09 Thread Liviu Andronic
Hello On Sat, Oct 9, 2010 at 2:37 PM, Holger Steinmetz holger.steinm...@web.de wrote: can anybody point me in the right direction on how to conduct a hausman test for endogeneity in simultanous equation models? Try install.packages('sos') require(sos) findFn('hausman') Here I get these

[R] same random numbers in different sessions

2010-10-09 Thread Liviu Andronic
Dear all I'm using Xubuntu Lucid and I keep getting the same random numbers whenever I start a new session of R. For example, I keep getting sample(1:1000, 1) [1] 87 or rnorm(1:10) [1] -1.3618103 0.4241701 1.0720076 0.2208145 -0.5375314 -0.4846588 [7] 0.7576768 0.6527407 -0.6868786

Re: [R] Installing JGR

2010-10-06 Thread Liviu Andronic
Hello It would be better to address JGR-related questions to stats-rosuda-de...@listserv.uni-augsburg.de. Regards Liviu On Wed, Oct 6, 2010 at 1:27 AM, lord12 trexi...@yahoo.com wrote: When I installed rJava, and try to run the examples from JRI on eclipse, these: import

Re: [R] R editor in ubuntu!

2010-10-05 Thread Liviu Andronic
On Tue, Oct 5, 2010 at 5:43 PM, Christopher W Ryan cr...@binghamton.edu wrote: As an alternative to emacs-ess, you could try gedit with the R plugin. Another alternative is to use Geany [1]. It would save you the trouble of learning Emacs, and I find it better designed for code editing than

Re: [R] R editor in ubuntu!

2010-10-05 Thread Liviu Andronic
On Tue, Oct 5, 2010 at 4:52 PM, Mehdi Zarrei gagzar...@yahoo.com wrote: I am looking for an editor to be able to execute commands into R in Linux ubuntu. Is there any suggestion? There is a wiki page on the subject [1]. Everyone: Please contribute your favorite editor to that list. Regards

Re: [R] How many R packages are not free?

2010-10-02 Thread Liviu Andronic
On Sat, Oct 2, 2010 at 12:58 AM, Paul Miller pjmiller...@yahoo.com wrote: Does anyone have any information about this? Looking at cran2deb [1] you can get an idea of the CRAN packages that may qualify for Debian's restrictive notion of 'free'. Regards Liviu [1]

Re: [R] Use R in Visual Basic Environment

2010-09-29 Thread Liviu Andronic
Hello On Tue, Sep 28, 2010 at 1:39 PM, Soumen Pal soumen.4...@gmail.com wrote: I need your kind help regarding the following: I wish to know is there any way to use R in Visual Basic environment. I want to develop a VB application where R can be embedded (R will work as a back end

Re: [R] Good documentation about Sweave

2010-09-26 Thread Liviu Andronic
Hello On Sun, Sep 26, 2010 at 3:41 PM, statquant2 statqu...@gmail.com wrote: I am looking for a good and detailed documentation about Sweave... but can't find anything more that 15 pages asking Google... Any hint on that point ? In the search below the third link is the user manual, which

Re: [R] Combined plot: Scatter + density plot

2010-09-21 Thread Liviu Andronic
On Tue, Sep 21, 2010 at 8:34 AM, Ralf B ralf.bie...@gmail.com wrote: in order to save space for a publication, it would be nice to have a combined scatter and density plot similar to what is shows on Not quite the same thing, but I like the scatterplots in Rcmdr, which feature boxplots instead

Re: [R] apply over parallel lists and their elements

2010-09-14 Thread Liviu Andronic
On Tue, Sep 14, 2010 at 12:44 AM, David Winsemius dwinsem...@comcast.net wrote: The second argument to mean is trim. I am not sure what mean(1, 3) is supposed to do but what it return is 1. Thanks for the info. On this particular point I find the documentation confusing. In ?mapply : '‘mapply’

Re: [R] Object oriented programming in R.

2010-09-14 Thread Liviu Andronic
On Tue, Sep 14, 2010 at 12:55 PM, Alaios ala...@yahoo.com wrote: Thank you very much. I checked the tutorials that on that list but still I do not know how to create many objects of the same type. Can you please help me with that? Is this what you need? for(i in 1:100){

Re: [R] apply over parallel lists and their elements

2010-09-13 Thread Liviu Andronic
Hello On Sun, Sep 12, 2010 at 5:37 PM, Sebastian Gibb li...@sebastiangibb.de wrote: Hello, thanks for your answer. mapply fits to my needs. One thing that seems strange is that if you use tree[[1]]$node$values - 1:10 tree[[2]]$node$values - 3:12 you still get mapply(mean,

Re: [R] apply over parallel lists and their elements

2010-09-12 Thread Liviu Andronic
On Sun, Sep 12, 2010 at 9:40 AM, Sebastian Gibb li...@sebastiangibb.de wrote: But I want to do a sapply over the values vectors. Try multivariate apply. For more on loops and the apply family check [1]. You might also want to check the plyr package and its documentation. Liviu [1]

Re: [R] Sweave.sty

2010-08-24 Thread Liviu Andronic
On Tue, Aug 24, 2010 at 10:40 PM, r.ookie r.oo...@live.com wrote: Does anyone know where I can download the latest version of Sweave.sty? I have looked all over the site http://www.stat.umn.edu/~charlie/Sweave/ with no luck. Not exactly an answer, Frank Harrell once published a fork of

Re: [R] Fitting a GARCH model in R

2010-08-23 Thread Liviu Andronic
Hello You can find functions related to GARCH by searching on Rseek.org or by running in R: install.packages('sos', dep=T) require(sos) findFn('garch') Regards Liviu On Mon, Aug 23, 2010 at 5:59 AM, Aditya Damani adicoo...@gmail.com wrote: Hi, I want to fit a mean and variance model jointly.

Re: [R] easiest way to write an R dataframe to excel?

2010-08-23 Thread Liviu Andronic
On Mon, Aug 23, 2010 at 10:50 PM, Eva Nordstrom eva.nordst...@yahoo.com wrote: I am using R 2.11.1 in a Microsoft Windows 7 environment. I tried using WriteXLS, but get the message In system(cmd) : perl not found What is the easiest way to write an R dataframe to Excel?  (I am familiar

Re: [R] R reports

2010-08-21 Thread Liviu Andronic
On Sat, Aug 21, 2010 at 3:32 PM, Donald Paul Winston satchwins...@yahoo.com wrote: Good grief. Adding a report function is not going to make R less flexible. Don't you want to use a tool that's relevant to the rest of the world? That world is much bigger then your world. This is ridiculous.

Re: [R] Type 3 sum of squares

2010-08-16 Thread Liviu Andronic
Hello On Mon, 16 Aug 2010 11:17:41 -0700 Dennis Fisher fis...@plessthan.com wrote: Colleagues, R 2.11.1, OS X. Please forgive my ignorance of some issues related to ANOVA. This has already been discussed at length on this list. You might try searching the archives and using Rseek.

Re: [R] Problem with installing a package in R!

2010-08-08 Thread Liviu Andronic
On Sun, 8 Aug 2010 13:55:28 -0700 (PDT) gagea gagzar...@yahoo.com wrote: ERROR: failed to lock directory ‘/home/ubuntu/R/i486-pc-linux-gnu-library/2.9’ for modifying Try removing ‘/home/ubuntu/R/i486-pc-linux-gnu-library/2.9/00LOCK’ Are you installing from user? Perhaps try from root. Liviu

Re: [R] several figures from one Sweave chunk? [solved]

2010-08-07 Thread Liviu Andronic
(on-list) Hello Cameron On Fri, 6 Aug 2010 19:02:22 +0100 Liviu Andronic landronim...@gmail.com wrote: On Fri, 6 Aug 2010 11:30:59 -0600 Cameron Bracken cameron.brac...@gmail.com wrote: There is no real good way to deal with this in Sweave. Sweave does not actually know anything about

Re: [R] r sig for tcl/tk?

2010-08-06 Thread Liviu Andronic
On Fri, 6 Aug 2010 14:51:59 -0500 Erin Hodgess erinm.hodg...@gmail.com wrote: Dear R People: Is there an R sig for Tcl/Tk, please? There is r-sig-gui that should fit most tcltk questions. Liviu __ R-help@r-project.org mailing list

[R] brew equivalent of R CMD Sweave

2010-08-06 Thread Liviu Andronic
Dear all Is there an equivalent of R CMD Sweave for brew [1] documents? Something in the lines of R CMD brew? Can R be configured to parse brew documents from the commandline, without opening an interactive R session and issuing the following? require(brew) brew(featurefull.brew) I would like to

Re: [R] brew equivalent of R CMD Sweave

2010-08-06 Thread Liviu Andronic
Dear Duncan On Fri, 06 Aug 2010 18:46:55 -0400 Duncan Murdoch murdoch.dun...@gmail.com wrote: You can run a single R command from the command line using the -e option, so R -e brew::brew('featurefull.brew') (or some variation on that, depending on how your shell handles quotes) will run

Re: [R] PageUp/Down in gnome-terminal

2010-08-05 Thread Liviu Andronic
On Thu, 05 Aug 2010 08:56:30 +0200 Olga Lyashevska o...@herenstraat.nl wrote: I am using gnome-terminal to run R, and I noticed that standard PageUp/Down do not work but they do work for other programs within the same terminal window (e.g. irssi). Scroll bar does not work either. Try

Re: [R] Output (graphics and table/text)

2010-08-05 Thread Liviu Andronic
On Wed, 4 Aug 2010 18:02:41 -0400 Ralf B ralf.bie...@gmail.com wrote: b) the output is actually presented as a little table without the need to use a LaTeX solution? If it's not imperative to have the ks.test output in the graphic, why not copy/paste and use some monospace font? Liviu

Re: [R] PageUp/Down in gnome-terminal

2010-08-05 Thread Liviu Andronic
On Thu, 05 Aug 2010 11:13:00 +0200 Olga Lyashevska o...@herenstraat.nl wrote: shift+pagep/pagedown doesnt work either. xfce is a desktop environment similar to gnome or kde, right? Yes, with less dependencies and less hungry on resources. I do not have any desktop environment (running R on a

[R] several figures from one Sweave chunk?

2010-08-05 Thread Liviu Andronic
Dear all It seems that it is not possible [1] to generate several graphs in a loop within an Sweave document. For example, fig=TRUE for (i in 1:4) plot(rnorm(100)+i) @ will not work. Since this limitation dates from old times (at least 2005), I was curious whether workarounds other than

[R] retrieve name of an object?

2010-08-04 Thread Liviu Andronic
Dear all Is there an easier way to retrieve the name of an object? For example, tmp - 1:10 as.character(quote(tmp)) [1] tmp as.character(quote(mtcars$cyl)) [1] $ mtcars cyl as.character(quote(mtcars$cyl))[3] [1] cyl The last call more than anything seems a hack. Is there a better

Re: [R] retrieve name of an object?

2010-08-04 Thread Liviu Andronic
Dear Duncan On Wed, 04 Aug 2010 08:33:49 -0400 Duncan Murdoch murdoch.dun...@gmail.com wrote: As other have pointed out, in a function you can use substitute(arg) to retrieve the expression passed as arg, and deparse(substitute(arg)) to turn it into a string that's suitable for using as a

Re: [R] remove extreme values or winsorize – loop - dataframe

2010-08-03 Thread Liviu Andronic
On Tue, 3 Aug 2010 10:00:08 +1000 Glen Barnett glnbr...@gmail.com wrote: This might help some: RSiteSearch(winsorize) Or require(sos) findFn(winsorize) Liviu __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Linux Editor

2010-08-02 Thread Liviu Andronic
On Mon, 2 Aug 2010 08:48:54 -0700 seeliger.c...@epamail.epa.gov wrote: Is there anything comparable to the mac version of R with its built in console, editor, etc?? Aside from ESS/EMACS, you might try JGR, Tinn-R and Eclipse with StatET. The later has the most features and is the best IDE,

Re: [R] a Chebyshev ....really important

2010-07-30 Thread Liviu Andronic
On Thu, 29 Jul 2010 19:01:52 -0400 hussain abu-saaq hussain...@hotmail.com wrote: Hi. i have one question. is there any command to use a Chebyshev in R. i need them to fit the data and get a Chebyshev polynomial. thank you. Please try

Re: [R] Statistical mailing list

2010-07-29 Thread Liviu Andronic
On Wed, 28 Jul 2010 22:36:08 -0400 Ralf B ralf.bie...@gmail.com wrote: I am looking for a mailing list for general statistical questions that are not R related. Do you have any suggestions for lists that are busy and helpful and/or lists that you use and recommend? Maybe StackExchange [1]?

Re: [R] apply is slower than for loop?

2010-07-12 Thread Liviu Andronic
On Fri, Jul 9, 2010 at 9:11 PM, Gene Leynes gleyne...@gmail.com wrote: I thought the apply functions are faster than for loops, but my most recent test shows that apply actually takes a significantly longer than a for loop.  Am I missing something? Check Rnews for an article discussing proper

Re: [R] r code exchange site?

2010-07-05 Thread Liviu Andronic
Hello There is http://www.r-cookbook.com/, but I'm not sure that it is what you're looking for. Liviu On Mon, Jul 5, 2010 at 10:54 AM, pdb ph...@philbrierley.com wrote: Does there exist a site where snippets of r code examples can be deposited, such as the one that exists for matlab?

Re: [R] question regarding panel data analysis

2010-07-01 Thread Liviu Andronic
Hello On Thu, Jul 1, 2010 at 1:12 AM, amatoallah ouchen at.ouc...@gmail.com wrote: serious  issue for me . I'm currently running a panel data analysis i've used the plm package to perform the Tests of poolability as results intercepts and coefficients are assumed different. so my The above is

Re: [R] Export Results

2010-06-26 Thread Liviu Andronic
On Sat, Jun 26, 2010 at 7:42 AM, Tal Galili tal.gal...@gmail.com wrote: And there are also the brew, and Sweave packages (as Henrique mentioned). Also, odfWeave and Sweave via LyX. I believe that this is FAQed. Liviu __ R-help@r-project.org mailing

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-25 Thread Liviu Andronic
On Sun, Jun 20, 2010 at 2:31 PM, Muenchen, Robert A (Bob) muenc...@utk.edu wrote: come up with so far at http://r4stats.com/popularity . I'm sure people will have plenty of ideas on how to improve this, so please let me know what you think. This is not much of a metric, probably not even a

Re: [R] Fortune?

2010-06-25 Thread Liviu Andronic
On Fri, Jun 25, 2010 at 4:17 PM, Bert Gunter gunter.ber...@gene.com wrote: On average, any data manipulation that can be described in a sentence or two of English can be programmed in one line in R. If you find yourself writing a long 'for' loop to do something that sounds simple, take a step

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-22 Thread Liviu Andronic
On Tue, Jun 22, 2010 at 2:06 PM, John Kane jrkrid...@yahoo.ca wrote: You may well have a point.  Also a lot of my use of R is more data manipulation and cleaning often with no more than a couple of graphs as the final output so another term makes sense.  But what should it be? Data analysis?

Re: [R] Garch in the mean

2010-06-21 Thread Liviu Andronic
On Mon, Jun 21, 2010 at 3:48 PM, Aaron Plavnick/MSINVESTORS aaron.plavn...@msinvestors.com wrote: I was wondering if anyone knew how to fit a series using a Garch-M (Garch in the mean) model. From what I gathered from the documentation, it does Perhaps rgarch [1]? Also, you might get better

Re: [R] R licensing query

2010-06-18 Thread Liviu Andronic
Dear Gina On Thu, Jun 17, 2010 at 10:28 AM, McAllister, Gina gina.mcallis...@luht.scot.nhs.uk wrote: S-plus or any other stats programme.  Can anyone suggest anything or send me a suitable email? This issue pops up regularly on r-help, so there are many ideas available in the ML archives. One

Re: [R] R in Linux: problem with special characters

2010-06-11 Thread Liviu Andronic
On Fri, Jun 11, 2010 at 2:48 PM, daniel fernandes danielpas...@hotmail.com wrote: This as problem has something to do with the locale settings? If I run the locale command in the Linux server, I get: Possibly. print(dúvida) [1] dúvida sessionInfo() R version 2.10.1 (2009-12-14)

Re: [R] Row binding

2010-06-10 Thread Liviu Andronic
On Thu, Jun 10, 2010 at 10:37 AM, Patrick Burns pbu...@pburns.seanet.com wrote: See 'The R Inferno' Circle 2 for why this takes so long, and what to do about it. Also check this Rnews issue [1], page 46, on how to make loops faster. Liviu [1]

Re: [R] Error in inspect(), package asuR

2010-05-24 Thread Liviu Andronic
Hello On 5/24/10, Joanne Hosking joanne.hosk...@pms.ac.uk wrote: I am using R version 2.11.0, asuR_0.08-24, and lme4_0.999375-33 You might want to try asuR_0.10 [1]. The CRAN version seems badly outdated. Liviu [1] http://www.evolution.unibas.ch/teaching/r_course/asuR.htm

Re: [R] need help to retrieve the previous commands by usin g ↑ and ↓ keys.

2010-05-24 Thread Liviu Andronic
Hello On 5/24/10, makhdoomi abraufs...@gmail.com wrote: hi, I am using R version 2.10.0.when i am trying to retrieve the previous used R commands by using ↑ and ↓ keys,but i get the output like this ^[[A^[[A^[[A^[[B^[[C^[[A. can any one tell me how i can solve this problem. It would

Re: [R] need help to retrieve the previous commands by usin g ↑ and ↓ keys.

2010-05-24 Thread Liviu Andronic
On 5/24/10, makhdoomi abraufs...@gmail.com wrote: I am using R version 2.10.0,os fedora 11i terminal.when i am trying to retrieve the previous used There might be an issue with your terminal. Did you try with xterm? Here accessing history items with R running in an xterm works just fine.

[R] plm(..., model=within, effect=twoways) is very slow on unablanaced data (was: Re: Regressions with fixed-effect in R)

2010-05-17 Thread Liviu Andronic
Hello Giovanni I made a minor modification to your function, which now allows to compute the within R-sq in Twoways Within models (see below). However I ran into an issue that I have already encountered before: whenever I try to fit Twoways Within models on my unbalanced data, the process is

Re: [R] Regressions with fixed-effect in R

2010-05-11 Thread Liviu Andronic
On 5/11/10, chen jia chen_1...@fisher.osu.edu wrote: Are there any functions that specifically deal with fixed-effects? Other than plm and its vignette, you may want to check this document [1]. Liviu [1] http://cran.r-project.org/doc/contrib/Farnsworth-EconometricsInR.pdf

Re: [R] Regressions with fixed-effect in R

2010-05-11 Thread Liviu Andronic
Dear Daniel On 5/11/10, Daniel Malter dan...@umd.edu wrote: R-squared of interest is typically the within R-squared, not the overall or Could you point to an example on how to compute the within R-squared in R, either via lm() or plm()? Thank you Liviu

Re: [R] OLS Regression diagnostic measures check list - what to consider?

2010-05-05 Thread Liviu Andronic
On 5/5/10, Tal Galili tal.gal...@gmail.com wrote: Although this is a great list, I am wondering if there is any newer methods that are overlooked, or important consideration to take into account that are not described in that page. Two on-line resources would be REGRESSION DIAGNOSTICS by

Re: [R] Off Topic: teenie weenie numbers -- Was: Precision level

2010-05-02 Thread Liviu Andronic
On 3/26/10, Bert Gunter gunter.ber...@gene.com wrote: represented) is important for numerical calculations, what is the smallest number that anyone has actually seen describing physical phenomena in science? There was a recent article in The Economist (The force is weak with this one, Apr

<    1   2   3   4   5   6   >