Hello I have been searching for almost 2 hours for a certain plug-in/package, so im making this thread as i hope you can help me find it. I had my first lesson in "Statistics in use" today, and when we worked on the school computers, we could do this to import data from excel: Data > Import Data > Import from excel or "something else" Now i downloaded it for my laptop as i want to work with it from home, but there is no button to import from excel in my edition. Is there anyone who knows how to get this feature, so i dont have to type in commands or change my excel documents everytime? Thanks in advance /Nick -- View this message in context: http://r.789695.n4.nabble.com/Import-from-excel-button-in-R-command-tp4529023p4529023.html Sent from the R help mailing list archive at Nabble.com.
On Apr 3, 2012, at 10:57 AM, nimoke wrote:> Hello > > I have been searching for almost 2 hours for a certain plug-in/ > package, so > im making this thread as i hope you can help me find it. > > I had my first lesson in "Statistics in use" today, and when we > worked on > the school computers, we could do this to import data from excel: > > Data > Import Data > Import from excel or "something else" > > Now i downloaded it for my laptop as i want to work with it from > home, but > there is no button to import from excel in my edition. Is there > anyone who > knows how to get this feature, so i dont have to type in commands or > change > my excel documents everytime?You were probably set up with one of the GUI's, perhaps the Rcmdr GUI http://socserv.mcmaster.ca/jfox/Misc/Rcmdr/ This would be a widely cited set of instructions about how to do it without dependance on a GUI: http://rwiki.sciviews.org/doku.php?id=tips:data-io:ms_windows -- David Winsemius, MD West Hartford, CT
I see that David W has already suggested some possibilities for GUI solutions, but I would like to add that avoiding typing commands is counter-productive with R even if you have a GUI. Collecting sequences of commands in a text file and copy/pasting them into the command line is the most productive way to use R, because you accumulate a collection of useful snippets that can be much more tuned to your analysis needs than a point and click interface can be. --------------------------------------------------------------------------- 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. nimoke <tha_slipknot at hotmail.com> wrote:>Hello > >I have been searching for almost 2 hours for a certain plug-in/package, >so >im making this thread as i hope you can help me find it. > >I had my first lesson in "Statistics in use" today, and when we worked >on >the school computers, we could do this to import data from excel: > >Data > Import Data > Import from excel or "something else" > >Now i downloaded it for my laptop as i want to work with it from home, >but >there is no button to import from excel in my edition. Is there anyone >who >knows how to get this feature, so i dont have to type in commands or >change >my excel documents everytime? > >Thanks in advance >/Nick > >-- >View this message in context: >http://r.789695.n4.nabble.com/Import-from-excel-button-in-R-command-tp4529023p4529023.html >Sent from the R help mailing list archive at Nabble.com. > >______________________________________________ >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.
if I had a data file like this: 1.42 1.29 -0.13 1.46 1.34 -0.12 1.45 1.32 -0.13 1.36 1.26 -0.10 1.33 1.29 -0.04 I want to create a image plot like this: data1<-read.table("A") image.plot(t(data1), axes=FALSE, xlab=NA, ylab=NA) I cant get the labels for the x axis right can some kind person help me? axis(1.....???????.....labels=c("A", "B", "C")) Many thanks in advance!
On Tue, Apr 3, 2012 at 7:25 PM, David Lyon <david_lyon3 at yahoo.com> wrote:> if I had a data file like this: > 1.42 1.29 -0.13 > 1.46 1.34 -0.12 > 1.45 1.32 -0.13 > 1.36 1.26 -0.10 > 1.33 1.29 -0.04 > > I want to create a image plot like this: > data1<-read.table("A") > > image.plot(t(data1), axes=FALSE, xlab=NA, ylab=NA) > > I cant get the labels for the x axis right can some kind person help me?axis(1,at=seq(0,1,l=ncol(data1)),labels=LETTERS[1:ncol(data1)])> axis(1.....???????.....labels=c("A", "B", "C")) > > > Many thanks in advance! > > ______________________________________________ > 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.
Sorry that didnt work for me, any ideas? ----- Original Message ----- From: ilai <keren at math.montana.edu> To: David Lyon <david_lyon3 at yahoo.com> Cc: "r-help at r-project.org" <r-help at r-project.org> Sent: Tuesday, April 3, 2012 10:43 PM Subject: Re: [R] image.plot adding x-axis labels. Please Help On Tue, Apr 3, 2012 at 7:25 PM, David Lyon <david_lyon3 at yahoo.com> wrote:> if I had a data file like this: > 1.42 1.29 -0.13 > 1.46 1.34 -0.12 > 1.45 1.32 -0.13 > 1.36 1.26 -0.10 > 1.33 1.29 -0.04 > > I want to create a image plot like this: > data1<-read.table("A") > > image.plot(t(data1), axes=FALSE, xlab=NA, ylab=NA) > > I cant get the labels for the x axis right can some kind person help me?axis(1,at=seq(0,1,l=ncol(data1)),labels=LETTERS[1:ncol(data1)])> axis(1.....???????.....labels=c("A", "B", "C")) > > > Many thanks in advance! > > ______________________________________________ > 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.