[R] novice questions

Bert Gunter gunter.berton at gene.com
Tue Mar 11 19:43:36 CET 2014


Your English isn't the problem. It's your failure to do your homework
first: Please read "An Introduction to R," the tutorial that ships
with R, or one of the many tutorials on the web (including in your
native language, very likely), so search. Here also is another
possible resource:
http://cran.r-project.org/other-docs.html

Cheers,
Bert

Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374

"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
H. Gilbert Welch




On Tue, Mar 11, 2014 at 8:41 AM, agustin purciariello
<apurciariello at hotmail.com> wrote:
>
>
>
> Good morning,
>
> i'm new in R and i have two questions, i hope someone could help me please:
>
> 1) For example if i put alfa<-X*Y, is there any way that when i put "run
> line on selection" (or ctrl+R) the result
> appears without having to write again "alfa" and then again "run line on
> selection" to see the result?
>
> 2) When i select a column vector, for example Y<-datos[,2] ("datos" is in
> spanish, it means "data"), R doesnt
> recognize that column as a vector; if i put dim(Y) it says "null". What i do
> is to transplant the variable twice and put Y<-t(t(Y)), and then R recognize
> the column as a vector. Is there a way to make R recognize the vectors as
> vector in a first place (and avoid to do what i do)?
>
> Many many thanks and sorry for my english!
> Agustín
>
>         [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>




More information about the R-help mailing list