Re: [R] two questions for R beginners

2010-03-25 Thread Jim Lemon
On 03/26/2010 02:58 PM, Steve Powell wrote: For psychologists like me (possibly for others) by far the most time-consuming detail is variable labels. I need them for just about every analysis I do. We can use special packages like Hmisc and its function spss.get to import the labels, but then nea

Re: [R] two questions for R beginners

2010-03-25 Thread Steve Powell
For psychologists like me (possibly for others) by far the most time-consuming detail is variable labels. I need them for just about every analysis I do. We can use special packages like Hmisc and its function spss.get to import the labels, but then nearly all the other packages don't respect the l

Re: [R] two questions for R beginners

2010-03-04 Thread Kevin Wright
Patrick, 1. Implicit intercepts. Implicit intercepts are not too bad for the main model, but they creep in occasionally in strange places where they might not be expected. For example, in some of the variance structures specified in lme, (~x) automatically expands to (~1+x). Venables said in th

Re: [R] two questions for R beginners

2010-03-04 Thread David A.G
gt; Subject: Re: [R] two questions for R beginners > > Liviu Andronic escribió: > > On Mon, Mar 1, 2010 at 11:49 PM, Liviu Andronic > > wrote: > > > >> On 3/1/10, Keo Ormsby wrote: > >> > >>> Perhaps my biggest problem was

Re: [R] two questions for R beginners

2010-03-03 Thread kMan
with some of the niceties. Sincerely, KeithC. -Original Message- From: John Sorkin [mailto:jsor...@grecc.umaryland.edu] Sent: Tuesday, March 02, 2010 4:46 AM To: Karl Ove Hufthammer; r-h...@stat.math.ethz.ch Subject: Re: [R] two questions for R beginners Please take what follows no

Re: [R] two questions for R beginners

2010-03-03 Thread Jim Lemon
On 03/04/2010 08:20 AM, David Winsemius wrote: ... Perhaps the print methods for data.frame and matrix should announce the class of the object being printed. Yes! An enthusiastic vote for highlighting this fundamental distinction. There is already quite enough conflation of these two very diss

Re: [R] two questions for R beginners

2010-03-03 Thread David Winsemius
: r-help@r-project.org Subject: Re: [R] two questions for R beginners I think Duncan's example of a list that is a matrix is a compelling argument not to do the change. A matrix that is a list with both names and dimnames *is* probably rare (but certainly imaginable). A matrix that is a li

Re: [R] two questions for R beginners

2010-03-03 Thread John Sorkin
nounce the class of the object being printed. Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com > -Original Message- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of Patrick Burns > Sent: Wednesday, March 03, 2010 2:44 AM > To: r-

Re: [R] two questions for R beginners

2010-03-03 Thread William Dunlap
...@r-project.org] On Behalf Of Patrick Burns > Sent: Wednesday, March 03, 2010 2:44 AM > To: r-help@r-project.org > Subject: Re: [R] two questions for R beginners > > I think Duncan's example of a list that is > a matrix is a compelling argument not to do > the change

Re: [R] two questions for R beginners

2010-03-03 Thread Petr PIKAL
Hi that is why I consider matrix is just a vector with dimensions and data.frame is a rectangular structure similar to Excel table. That saved me a lot of surprises. But I must admit I am not a real beginner nowadays although I still learn when using R, reading help list and trying sometimes

Re: [R] two questions for R beginners

2010-03-03 Thread John Sorkin
Petr, On the other hand . . . > mat<-matrix(1:12, 3,4) > dat<-as.data.frame(mat) > mat [,1] [,2] [,3] [,4] [1,]147 10 [2,]258 11 [3,]369 12 > dat V1 V2 V3 V4 1 1 4 7 10 2 2 5 8 11 3 3 6 9 12 What you are demonstrating by your example is th

Re: [R] two questions for R beginners

2010-03-03 Thread Petr PIKAL
"John Sorkin" napsal dne 01.03.2010 15:19:10: > If it looks like a duck and quacks like a duck, it ought to behave like a duck. > > To the user a matrix and a dataframe look alike . . . except a dataframe can Well, matrix looks like a data.frame only on the first sight. mat<-matrix(1:12, 3

Re: [R] two questions for R beginners

2010-03-03 Thread Patrick Burns
March 02, 2010 3:46 AM > To: Karl Ove Hufthammer; r-h...@stat.math.ethz.ch > Subject: Re: [R] two questions for R beginners > > Please take what follows not as an ad hominem statement, but > rather as an attempt to improve what is already an excellent > program, that has be

Re: [R] two questions for R beginners

2010-03-02 Thread Keo Ormsby
Liviu Andronic escribió: On Mon, Mar 1, 2010 at 11:49 PM, Liviu Andronic wrote: On 3/1/10, Keo Ormsby wrote: Perhaps my biggest problem was that I couldn't (and still haven't) seen *absolute beginners* documents. there was once a link posted on r-sig-teaching that would prob

Re: [R] two questions for R beginners

2010-03-02 Thread John Sorkin
n the future. John John Sorkin jsor...@grecc.umaryland.edu -Original Message- From: "William Dunlap" To: John Sorkin To: Karl Ove Hufthammer To: Sent: 3/2/2010 11:53:45 AM Subject: RE: [R] two questions for R beginners > -Original Message- > From: r-help-

Re: [R] two questions for R beginners

2010-03-02 Thread Duncan Murdoch
bject: Re: [R] two questions for R beginners > > Please take what follows not as an ad hominem statement, but > rather as an attempt to improve what is already an excellent > program, that has been built as a result of many, many hours > of dedicated work by many, many unpaid, unsun

Re: [R] two questions for R beginners

2010-03-02 Thread William Dunlap
> -Original Message- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of John Sorkin > Sent: Tuesday, March 02, 2010 3:46 AM > To: Karl Ove Hufthammer; r-h...@stat.math.ethz.ch > Subject: Re: [R] two questions for R beginners >

Re: [R] two questions for R beginners

2010-03-02 Thread Gabor Grothendieck
On Tue, Mar 2, 2010 at 7:27 AM, Duncan Murdoch wrote: > John Sorkin wrote: >> >> Please take what follows not as an ad hominem statement, but rather as an >> attempt to improve what is already an excellent program, that has been built >> as a result of many, many hours of dedicated work by many, m

Re: [R] two questions for R beginners

2010-03-02 Thread Duncan Murdoch
John Sorkin wrote: Please take what follows not as an ad hominem statement, but rather as an attempt to improve what is already an excellent program, that has been built as a result of many, many hours of dedicated work by many, many unpaid, unsung volunteers. It troubles me a bit that when a

Re: [R] two questions for R beginners

2010-03-02 Thread John Sorkin
Please take what follows not as an ad hominem statement, but rather as an attempt to improve what is already an excellent program, that has been built as a result of many, many hours of dedicated work by many, many unpaid, unsung volunteers. It troubles me a bit that when a confusing aspect of

Re: [R] two questions for R beginners

2010-03-02 Thread Liviu Andronic
On Mon, Mar 1, 2010 at 11:49 PM, Liviu Andronic wrote: > On 3/1/10, Keo Ormsby wrote: >>  Perhaps my biggest problem was that I couldn't (and still haven't) seen >> *absolute beginners* documents. >> > there was once a link posted on r-sig-teaching that would probably fit > your needs, but I cann

Re: [R] two questions for R beginners

2010-03-02 Thread Karl Ove Hufthammer
On Mon, 01 Mar 2010 10:00:07 -0500 Duncan Murdoch wrote: > Suppose X is a dataframe or a matrix. What would you expect to get from > X[1]? What about as.vector(X), or as.numeric(X)? All this of course depends on type of object one is speaking of. There are plenty of surprises available, and

Re: [R] two questions for R beginners

2010-03-02 Thread Karl Ove Hufthammer
On Tue, 2 Mar 2010 08:58:25 +1300 Peter Alspach wrote: > This brings up another confusion for new users. Simply typing the > object name at the command line gives just one view of the object (that > provided by print()). Good point. Any good introduction to R should include a brief discussion

Re: [R] two questions for R beginners

2010-03-01 Thread RICHARD M. HEIBERGER
>I would love to see a text oriented towards someone who has never used anything but Excel, but realizes >that to do science today you have to go beyond the "Data analysis" toolbar from Excel. >(Plese tell me if you know of any) >Best to all, >Keo. Please look at *R through Excel, *the book that E

Re: [R] two questions for R beginners

2010-03-01 Thread Tony B
Background: During my uni days, I was taught to use MAPLE, MATLAB, SPSS, SAS, C++ and Java. Then after uni, several years went by without me ever using any of them again and was told to just use Excel. Then I started my PhD and was told I should start using R instead (something I'd never even heard

Re: [R] two questions for R beginners

2010-03-01 Thread Keo Ormsby
Liviu Andronic escribió: On 3/1/10, Keo Ormsby wrote: Perhaps my biggest problem was that I couldn't (and still haven't) seen *absolute beginners* documents. Perhaps http://www.r-tutor.com/? Also recently a webinar on R [2] was held and it hosts complete course notes and recordings. O

Re: [R] two questions for R beginners

2010-03-01 Thread Liviu Andronic
On 3/1/10, Keo Ormsby wrote: > Perhaps my biggest problem was that I couldn't (and still haven't) seen > *absolute beginners* documents. > Perhaps http://www.r-tutor.com/? Also recently a webinar on R [2] was held and it hosts complete course notes and recordings. Otherwise, there was once a link

Re: [R] two questions for R beginners

2010-03-01 Thread Keo Ormsby
Patrick Burns escribió: * What were your biggest misconceptions or stumbling blocks to getting up and running with R? * What documents helped you the most in this initial phase? I especially want to hear from people who are lazy and impatient. Feel free to write to me off-list. Definitely wri

Re: [R] two questions for R beginners

2010-03-01 Thread Ted Harding
On 01-Mar-10 22:44:22, Jim Lemon wrote: > On 03/02/2010 02:02 AM, Karl Ove Hufthammer wrote: >>... >> Of course I agree that 'the idea of a list is so fundamental to R that >> it needs to be something learned pretty early', but is there any harm >> in >> slightly 'blur[ing] the distinction between

Re: [R] two questions for R beginners

2010-03-01 Thread Jim Lemon
On 03/02/2010 02:02 AM, Karl Ove Hufthammer wrote: ... Of course I agree that 'the idea of a list is so fundamental to R that it needs to be something learned pretty early', but is there any harm in slightly 'blur[ing] the distinction between dataframes and matrices', as a convenience to the user

Re: [R] two questions for R beginners

2010-03-01 Thread Peter Alspach
> On 01/03/2010 9:19 AM, John Sorkin wrote: > If it looks like a duck and quacks like a duck, it ought to > behave like a duck. > This brings up another confusion for new users. Simply typing the object name at the command line gives just one view of the object (that provided by print()). Rea

Re: [R] two questions for R beginners

2010-03-01 Thread Duncan Murdoch
On 01/03/2010 11:33 AM, hadley wickham wrote: > Suppose X is a dataframe or a matrix. What would you expect to get from > X[1]? What about as.vector(X), or as.numeric(X)? > > The point is that a dataframe is a list, and a matrix isn't. If users don't > understand that, then they'll be confused

Re: [R] two questions for R beginners

2010-03-01 Thread Albert-Jan Roskam
;-) Albert-Jan ~~ In the face of ambiguity, refuse the temptation to guess. ~~ --- On Mon, 3/1/10, Patrick Burns wrote: From: Patrick Burns Subject: Re: [R] two questions for R beginners To: r-help@r-p

Re: [R] two questions for R beginners

2010-03-01 Thread hadley wickham
> Suppose X is a dataframe or a matrix.  What would you expect to get from > X[1]?  What about as.vector(X), or as.numeric(X)? > > The point is that a dataframe is a list, and a matrix isn't.  If users don't > understand that, then they'll be confused somewhere.  Making matrices more > list-like in

Re: [R] two questions for R beginners

2010-03-01 Thread Patrick Burns
If it looks like a duck and quacks like a duck, you ought to treat it like a duck. That is, use two subscripts: x[i, j] If you are an ornithologist, then you will know more precisely what can be done. Pat On 01/03/2010 14:19, John Sorkin wrote: If it looks like a duck and quacks like a duck

Re: [R] two questions for R beginners

2010-03-01 Thread Karl Ove Hufthammer
On Mon, 01 Mar 2010 14:50:57 - (GMT) ted.hard...@manchester.ac.uk wrote: > as.character(pi) > # [1] "3.14159265358979" > > That raises a few questions about "expectations" too! Expectations can indeed be dangerous. I have been bitten by this one: as.numeric(as.character(pi)) It works

Re: [R] two questions for R beginners

2010-03-01 Thread Karl Ove Hufthammer
On Mon, 01 Mar 2010 12:25:20 - (GMT) ted.hard...@manchester.ac.uk wrote: > > A similar type of overloading is used in the 'sp' class functions, > > where you can basically treat a 'SpatialPointsDataFrame', a > > 'SpatialLinesDataFrame' or a 'SpatialPolygonsDataFrame' as a data > > frame, >

Re: [R] two questions for R beginners

2010-03-01 Thread Gustaf Rydevik
On Mon, Mar 1, 2010 at 4:02 PM, Karl Ove Hufthammer wrote: > On Mon, 01 Mar 2010 09:09:11 -0500 Duncan Murdoch > wrote: >> >> The reason for the difference is that data.frames are lists organized >> >> into columns (so the $ handling comes from the list, where it means >> >> "extract the componen

Re: [R] two questions for R beginners

2010-03-01 Thread hadley wickham
> One of the things about R which many (and that certainly includes > me) have to find out the hard way is that you have to *learn* > what to expect! You can't just import it from prior experience in > other contexts. So, by the time you have learned that a matrix > is such that all its elements mu

Re: [R] two questions for R beginners

2010-03-01 Thread Karl Ove Hufthammer
On Mon, 01 Mar 2010 09:09:11 -0500 Duncan Murdoch wrote: > >> The reason for the difference is that data.frames are lists organized > >> into columns (so the $ handling comes from the list, where it means > >> "extract the component") whereas a matrix is a single vector displayed > >> in colum

Re: [R] two questions for R beginners

2010-03-01 Thread Duncan Murdoch
On 01/03/2010 9:19 AM, John Sorkin wrote: If it looks like a duck and quacks like a duck, it ought to behave like a duck. To the user a matrix and a dataframe look alike . . . except a dataframe can hold non-numeric values. Thus to the users, a matrix looks like a special case of a DF, or perh

Re: [R] two questions for R beginners

2010-03-01 Thread Ted Harding
On 01-Mar-10 13:57:08, Petr PIKAL wrote: > Hi > r-help-boun...@r-project.org napsal dne 01.03.2010 13:03:24: > < snip> >> > I understand that 2 dimensional rectangular matrix looks quite >> > similar to data frame however it is only a vector with dimensions. >> > As such it can have items of only o

Re: [R] two questions for R beginners

2010-03-01 Thread John Sorkin
If it looks like a duck and quacks like a duck, it ought to behave like a duck. To the user a matrix and a dataframe look alike . . . except a dataframe can hold non-numeric values. Thus to the users, a matrix looks like a special case of a DF, or perhaps conversely. If you can address elements

Re: [R] two questions for R beginners

2010-03-01 Thread Duncan Murdoch
Karl Ove Hufthammer wrote: On Mon, 01 Mar 2010 06:37:30 -0500 Duncan Murdoch wrote: Some functions output matrices where you would expect them to output data frames, and then this problem occurs. (Is there a reason why '$' could/should not be made to 'work' on matrices too?) The r

Re: [R] two questions for R beginners

2010-03-01 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 01.03.2010 13:03:24: < snip> > > > > I understand that 2 dimensional rectangular matrix looks quite > > similar to data frame however it is only a vector with dimensions. > > As such it can have items of only one type (numeric, character, ...). > > And

Re: [R] two questions for R beginners

2010-03-01 Thread Ted Harding
On 01-Mar-10 12:07:52, Karl Ove Hufthammer wrote: > On Mon, 01 Mar 2010 06:37:30 -0500 Duncan Murdoch > > wrote: >> > Some functions output matrices where you would expect them to output >> > data frames, and then this problem occurs. (Is there a reason why >> > '$' >> > could/should not be made

Re: [R] two questions for R beginners

2010-03-01 Thread Paul Hiemstra
Jack Siegrist wrote: My biggest impediment, as a scientist without previous programming experience, is that the R help is not beginner-friendly. I think it is probably great for experienced programmers and for the people who helped to create the software, to help them remember what they did, but

Re: [R] two questions for R beginners

2010-03-01 Thread Karl Ove Hufthammer
On Mon, 01 Mar 2010 06:37:30 -0500 Duncan Murdoch wrote: > > Some functions output matrices where you would expect them to output > > data frames, and then this problem occurs. (Is there a reason why '$' > > could/should not be made to 'work' on matrices too?) > > > The reason for the differ

Re: [R] two questions for R beginners

2010-03-01 Thread Ted Harding
On 01-Mar-10 11:09:51, Petr PIKAL wrote: > Hi > r-help-boun...@r-project.org napsal dne 01.03.2010 11:26:40: >> On Mon, 1 Mar 2010 11:02:59 +0100 Karl Ove Hufthammer >> >> wrote: >> > > * What were your biggest misconceptions or >> > > stumbling blocks to getting up and running >> > > with R? >>

Re: [R] two questions for R beginners

2010-03-01 Thread Duncan Murdoch
Karl Ove Hufthammer wrote: On Mon, 1 Mar 2010 11:02:59 +0100 Karl Ove Hufthammer wrote: * What were your biggest misconceptions or stumbling blocks to getting up and running with R? Also I found it quite confusing that One more thing that still trips me up sometimes. '$' works

Re: [R] two questions for R beginners

2010-03-01 Thread Duncan Murdoch
Karl Ove Hufthammer wrote: On Fri, 26 Feb 2010 11:56:10 -0800 (PST) Jack Siegrist wrote: What I think would be very helpful is an introduction to programming using R Here you are: A First Course in Statistical Programming with R http://www.cambridge.org/uk/catalogue/catalogue.asp?isbn

Re: [R] two questions for R beginners

2010-03-01 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 01.03.2010 11:26:40: > On Mon, 1 Mar 2010 11:02:59 +0100 Karl Ove Hufthammer > wrote: > > > * What were your biggest misconceptions or > > > stumbling blocks to getting up and running > > > with R? > > > > Also I found it quite confusing that > > One

Re: [R] two questions for R beginners

2010-03-01 Thread Karl Ove Hufthammer
On Mon, 1 Mar 2010 11:02:59 +0100 Karl Ove Hufthammer wrote: > > * What were your biggest misconceptions or > > stumbling blocks to getting up and running > > with R? > > Also I found it quite confusing that One more thing that still trips me up sometimes. '$' works on data frames but not on m

Re: [R] two questions for R beginners

2010-03-01 Thread Karl Ove Hufthammer
On Fri, 26 Feb 2010 11:56:10 -0800 (PST) Jack Siegrist wrote: > What I think would be very helpful is an introduction to programming using > R Here you are: A First Course in Statistical Programming with R http://www.cambridge.org/uk/catalogue/catalogue.asp?isbn=9780521694247 -- Karl Ove Hufth

Re: [R] two questions for R beginners

2010-03-01 Thread Karl Ove Hufthammer
On Thu, 25 Feb 2010 17:31:19 + Patrick Burns wrote: > * What were your biggest misconceptions or > stumbling blocks to getting up and running > with R? I didn't have any major stumbling blocks, but even after years of using R I didn't have a clear concept of what exactly a vector, a list an

Re: [R] two questions for R beginners

2010-02-27 Thread Kingsford Jones
; > Rob > > > > > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Patrick Burns > Sent: Thursday, February 25, 2010 11:31 AM > To: r-help@r-project.org > Subject: [R] two questions for R beginners > >

Re: [R] two questions for R beginners

2010-02-27 Thread xlr82sas
Hi, I don't think you should split the list for beginners. On the SAS list we get questions from novices such as secretaries, janitorial services, human resources and even top executives. They often approach SAS from a very intuitive standpoint. These questions often shake the experts t

Re: [R] two questions for R beginners

2010-02-27 Thread xlr82sas
Hi, I don't think you should split the list for beginners. On the SAS list we get questions from novices such as secretaries, janitorial services, human resources and even top executives. They often approach SAS from a very intuitive standpoint. These questions often shake the experts t

Re: [R] two questions for R beginners

2010-02-27 Thread John Sorkin
ncept of vectorization and its related syntax took a long time to understand. John John Sorkin jsor...@grecc.umaryland.edu -Original Message- From: Saeed Abu Nimeh Cc: To: Sent: 2/26/2010 11:36:38 PM Subject: Re: [R] two questions for R beginners Hi Ivan, On 2/26/10 6:30 AM,

Re: [R] two questions for R beginners

2010-02-27 Thread Johannes Huesing
Dieter Menne [Fri, Feb 26, 2010 at 08:39:14AM CET]: > > > Patrick Burns wrote: > > > > * What were your biggest misconceptions or > > stumbling blocks to getting up and running > > with R? > > > > > (This derives partly from teaching) > [...] > > The concept of environment. With S it was w

Re: [R] two questions for R beginners

2010-02-26 Thread GlenB
Lazy and impatient? That's me! I find it hard to say what my biggest misconceptions were. Here's one thing: What I realized very early on: - many data analysis functions return a bunch of stuff, not all of which you see when you print() it what I *failed* to realize: - The bunch of stuff

Re: [R] two questions for R beginners

2010-02-26 Thread Gabor Grothendieck
On Fri, Feb 26, 2010 at 1:28 PM, Saeed Abu Nimeh wrote: > Pat, > Off the bat, beginners and advanced. In addition, splitting by domain > would be very helpful -- something along the lines of: > http://cran.r-project.org/web/views/. But we should be careful, we do > not want to create 20 other mail

Re: [R] two questions for R beginners

2010-02-26 Thread Saeed Abu Nimeh
sorry meant community not committee On 2/26/10 8:36 PM, Saeed Abu Nimeh wrote: Hi Ivan, On 2/26/10 6:30 AM, Ivan Calandra wrote: You are definitely right... What to do with bad beginner's questions is not a simple issue. If a "beginner's mailing list" is created, who will answer to such quest

Re: [R] two questions for R beginners

2010-02-26 Thread Saeed Abu Nimeh
Hi Ivan, On 2/26/10 6:30 AM, Ivan Calandra wrote: You are definitely right... What to do with bad beginner's questions is not a simple issue. If a "beginner's mailing list" is created, who will answer to such questions? If I subscribe to the beginners mailing list, then I have to expect novi

Re: [R] two questions for R beginners

2010-02-26 Thread Jack Siegrist
My biggest impediment, as a scientist without previous programming experience, is that the R help is not beginner-friendly. I think it is probably great for experienced programmers and for the people who helped to create the software, to help them remember what they did, but I think it is very di

Re: [R] two questions for R beginners

2010-02-26 Thread Seeliger . Curt
Patrick Burns > * What were your biggest misconceptions or > stumbling blocks to getting up and running > with R? I came into R from SAS, with its powerful data step language and very simplified data types. Most of my work is data manipulation prior to a variety of univariate statistical calcu

Re: [R] two questions for R beginners

2010-02-26 Thread Saeed Abu Nimeh
Pat, Off the bat, beginners and advanced. In addition, splitting by domain would be very helpful -- something along the lines of: http://cran.r-project.org/web/views/. But we should be careful, we do not want to create 20 other mailing lists :) We have to group things. This will help splitting the

Re: [R] two questions for R beginners

2010-02-26 Thread Claudia Beleites
Dear Patrick (and all) I'm now working with R a couple of years, before working mostly in Matlab Lazy & impatient is both true for me :-) * What were your biggest misconceptions or stumbling blocks to getting up and running with R? > * What documents helped you the most in this > initial phas

Re: [R] two questions for R beginners

2010-02-26 Thread Paul Hiemstra
Thomas Adams wrote: Paul, I think your point "you need [to] spend at least a few hours a week on it" is key. Since I am not doing statistics daily, more in fits & starts as my latest project -may- require, my approach has been more task oriented. A less-than-ideal approach. So, I think your s

Re: [R] two questions for R beginners

2010-02-26 Thread Thomas Adams
Paul, I think your point "you need [to] spend at least a few hours a week on it" is key. Since I am not doing statistics daily, more in fits & starts as my latest project -may- require, my approach has been more task oriented. A less-than-ideal approach. So, I think your suggestion is on-the-

Re: [R] two questions for R beginners

2010-02-26 Thread Ivan Calandra
Hi again Paul, Hi Ivan (and list), I think the main problem is not as much that there isn't structure in the way R provides documentation / tutorials, but that people have a hard time finding the structure. There are task views for certain specific fields, but I think a lot of beginners do n

Re: [R] two questions for R beginners

2010-02-26 Thread Paul Hiemstra
Ivan Calandra wrote: You are definitely right... What to do with bad beginner's questions is not a simple issue. If a "beginner's mailing list" is created, who will answer to such questions? And moreover, the beginners won't take advantage of the other questions (I've personally learned a lot

Re: [R] two questions for R beginners

2010-02-26 Thread Alain Guillet
I don't want to sound bad but the first thing beginners should do is to look at the manual "An Introduction to R" because most of the simple questions have their answers into it. In the same idea, before posting to this mailing list, people should (must?) follow the posting guide. Indeed it is

Re: [R] two questions for R beginners

2010-02-26 Thread Robert Baer
g [mailto:r-help-boun...@r-project.org] On Behalf Of Patrick Burns Sent: Thursday, February 25, 2010 11:31 AM To: r-help@r-project.org Subject: [R] two questions for R beginners * What were your biggest misconceptions or stumbling blocks to getting up and running with R? * What documents helped you the

Re: [R] two questions for R beginners

2010-02-26 Thread Allen S. Rout
Ivan Calandra writes: > Related to it, the *apply functions are still a bit difficult to > understand. When I have to use them, I just try one and see what > happens. I don't understand them well enough to know which one I > need. Ditto. I have ended up with a small collection of "black magic"

Re: [R] two questions for R beginners

2010-02-26 Thread Ivan Calandra
You are definitely right... What to do with bad beginner's questions is not a simple issue. If a "beginner's mailing list" is created, who will answer to such questions? And moreover, the beginners won't take advantage of the other questions (I've personally learned a lot trying to understand th

Re: [R] two questions for R beginners

2010-02-26 Thread Paul Hiemstra
Ivan Calandra wrote: Since you want input from beginners, here are some thoughts I had and still have two big problems with R: - this vectorization thing. I've read many manuals (including R inferno), but I'm still not completely clear about it. In simple examples, it's fine. But when it gets

Re: [R] two questions for R beginners

2010-02-26 Thread Patrick Burns
On 25/02/2010 20:42, Greg Snow wrote: Patrick, I would add one more question: * where did you look for help expecting answers, but did not find them? Yes, an excellent additional question. Pat If you add hubris to laziness and impatience, you have Larry Wall's 3 virtues of a programmer.

Re: [R] two questions for R beginners

2010-02-26 Thread Patrick Burns
Saeed, If the R-help list were split, what do you see as the pieces? Pat On 26/02/2010 01:53, Saeed Abu Nimeh wrote: On Thu, Feb 25, 2010 at 9:31 AM, Patrick Burns wrote: * What were your biggest misconceptions or stumbling blocks to getting up and running with R? 1- Compared to other prog

Re: [R] two questions for R beginners

2010-02-26 Thread Mario Valle
My difficulties: 1) Statistics :-) well, I'm learning. 2) Understand what is available *per subject area*. Something like the task view for packages, should be compiled for basic commands/functions. Like: all things related to string manipulation, all things related to number formatting, all *app

Re: [R] two questions for R beginners

2010-02-26 Thread Ivan Calandra
Since you want input from beginners, here are some thoughts I had and still have two big problems with R: - this vectorization thing. I've read many manuals (including R inferno), but I'm still not completely clear about it. In simple examples, it's fine. But when it gets a bit more complex, th

Re: [R] two questions for R beginners

2010-02-25 Thread Dieter Menne
Patrick Burns wrote: > > * What were your biggest misconceptions or > stumbling blocks to getting up and running > with R? > > (This derives partly from teaching) The fact that this xapply-stuff was not idempotent (worse: not always) and that you need a monster like do.call() to straighten th

Re: [R] two questions for R beginners

2010-02-25 Thread Saeed Abu Nimeh
On Thu, Feb 25, 2010 at 9:31 AM, Patrick Burns wrote: > * What were your biggest misconceptions or > stumbling blocks to getting up and running > with R? 1- Compared to other programming languages it is hard to learn R by example, because it is hard to find code on the web that will do the exact

[R] two questions for R beginners

2010-02-25 Thread Patrick Burns
* What were your biggest misconceptions or stumbling blocks to getting up and running with R? * What documents helped you the most in this initial phase? I especially want to hear from people who are lazy and impatient. Feel free to write to me off-list. Definitely write off-list if you are ju

Re: [R] two questions for R beginners

2010-02-25 Thread Ralf B
My biggest blocker was my misconception that R is extremely difficult to start with. It is powerful and one can do very complicated things ( that consequently turn things complicated) but it comes with very nice defaults and one can produce great results with standard tasks in very little time - e

Re: [R] two questions for R beginners

2010-02-25 Thread RICHARD M. HEIBERGER
On Thu, Feb 25, 2010 at 5:39 PM, Carl Witthoft wrote: > Well, here goes... > > I still wish there were a really good monograph on the use and > implementation of factors. To get a good handle on factors, and the sets of contrasts they encode, it is really necessary to study a good statistics book

Re: [R] two questions for R beginners

2010-02-25 Thread Tal Galili
My biggest stumbling blocks to getting up and running with R was whenever I was lazy and impatient. The more you love R, the more it loves you back. Tal Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 R

Re: [R] two questions for R beginners

2010-02-25 Thread Sharpie
Patrick Burns wrote: > > * What were your biggest misconceptions or > stumbling blocks to getting up and running > with R? > R was the first scripting language that I *really* invested time in learning. Prior to R I had a few years experience programming in Fortran and had worked on a few pro

Re: [R] two questions for R beginners

2010-02-25 Thread Albert-Jan Roskam
.  Definitely > write off-list if you are just confirming what > has been said on-list. Cheers!! Albert-Jan ~~ In the face of ambiguity, refuse the temptation to guess. ~~~~~~~~~~~~~~~~~~~

Re: [R] two questions for R beginners

2010-02-25 Thread Carl Witthoft
Well, here goes... I still wish there were a really good monograph on the use and implementation of factors. I had to do a certain amount of digging to learn that {assign, get, eval, expression, call, parse, deparse} all existed and how they play together. Sometimes they are look like the C

Re: [R] two questions for R beginners

2010-02-25 Thread Peter Dalgaard
Patrick Burns wrote: * What were your biggest misconceptions or stumbling blocks to getting up and running with R? * What documents helped you the most in this initial phase? I especially want to hear from people who are lazy and impatient. Can't be bothered with questionnaires and can't wait

Re: [R] two questions for R beginners

2010-02-25 Thread Greg Snow
ilto:r-help-boun...@r- > project.org] On Behalf Of Patrick Burns > Sent: Thursday, February 25, 2010 10:31 AM > To: r-help@r-project.org > Subject: [R] two questions for R beginners > > * What were your biggest misconceptions or > stumbling blocks to getting up and running > with R?

Re: [R] two questions for R beginners

2010-02-25 Thread Liviu Andronic
On 2/25/10, Patrick Burns wrote: > * What were your biggest misconceptions or > stumbling blocks to getting up and running > with R? > > * What documents helped you the most in this > initial phase? > > I especially want to hear from people who are > lazy and impatient. > I'm quite resilient

Re: [R] two questions for R beginners

2010-02-25 Thread Patrick Burns
Apparently I need to explain the "lazy and impatient" comment. No offence was intended (quite the contrary). The meaning of it is that the higher your level of frustration, the more valuable your comments are likely to be to me. On 25/02/2010 17:31, Patrick Burns wrote: * What were your bigges

Re: [R] two questions for R beginners

2010-02-25 Thread Clint Bowman
I started using statistical software with the commercial product S+ when I obtained a new HP735 workstation. We kept the S+ license going for a number of years until I heard about R. It was an easy transition and because I have been proficient in fortran and perl, the scripting came naturally