--------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity.
I think you meant help() ... R is case sensitive ;P On Sat, Jan 7, 2012 at 3:35 PM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote:> > --------------------------------------------------------------------------- > Jeff Newmiller ? ? ? ? ? ? ? ? ? ? ? ?The ? ? ..... ? ? ? ..... ?Go Live... > DCN:<jdnewmil at dcn.davis.ca.us> ? ? ? ?Basics: ##.#. ? ? ? ##.#. ?Live Go... > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Live: ? OO#.. Dead: OO#.. ?Playing > Research Engineer (Solar/Batteries ? ? ? ? ? ?O.O#. ? ? ? #.O#. ?with > /Software/Embedded Controllers) ? ? ? ? ? ? ? .OO#. ? ? ? .OO#. ?rocks...1k > --------------------------------------------------------------------------- > Sent from my phone. Please excuse my brevity. > > ______________________________________________ > 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.-- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/
Hi, I'm pretty new at programming and with the R language. I'm just trying to get familiar with R and wrote a script in gedit (should I use emacs instead?), x <- [10.4 5.6 3.1 6.4 21.7] y <- [12,5.6, 7.2, 1.0, 9.3] plot(x,y) then I went to the command window in the terminal (I'm using unix) to run this with source("name_of_file"), but it doesn't work. Shouldn't a plot come up automatically when I run it? What am I doing wrong? It knows what x and y is, but I don't get an error of what might be wrong.> source("name_of_file") > x[1] 10.4 5.6 3.1 6.4 21.7 Best, Anna