[R] seeking alternative method to copy a large section of my R program

2014-02-22 Thread Julie Royster
Is there any way I can insert markers at the beginning and end of a large
section of R statements and then copy all text in between to clipboard?

I have trouble scrolling to select long sections, so if there is another way
I would like to know it!

Julie (for husband Larry)

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] names error message

2013-12-02 Thread Julie Royster
Hello wise R folks,

I ran a job to combine 2 dataframes using rbind.
I received this error message that the names were not the same

Error in match.names(clabs,names(xi)): names do not match previous names

BUT when I entered this statement

Identical (names(data1[[1]]),names(data2[[2]]) ) 

R responded TRUE to this query, indicating the names are identical

So I am baffled.  visually checking each dataset using str they look the
same, and R says they are the same when queried,
But I still get the error when I give this command 

newname <- rbind (data1,data2)  

Any ideas?
THANKS!
Julie

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Windows Vista computer will not use changes I made to R console file

2013-06-01 Thread Julie Royster
My newer laptop died so I installed R on an older Vista laptop.
I did follow the online instructions about giving myself full control under
the R properties security tab.
I made changes in the R console file under the etc folder to use bold type
in color Black, but it is not doing what I ask.
I am still getting blue type that is not bold.
This previously worked great on the other computers I have used.
Can anyone tell me what to do?  THANKS!!!
Julie in Raleigh NC

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] seeking tip to keep first of multiple observations per ID

2013-03-15 Thread Julie Royster
Dear R community,

I am a neophyte and I cannot figure out how to accomplish keeping only the
first record for each ID in a data.frame that has assorted numbers of
records per ID.

I studied and found references to packages plyr and sql for R, and I fear
the documentation for those was over my head and I could not identify what
may be there to reach my goal.

If someone could point me toward a method I will gladly study documentation,
or if there is an example posted someplace I will follow it.

THANKS!
Julie 

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.