Thanks for your help, John!

I don't know how I missed the Data, Active Data Set sequence.

Todd

________________________________
From: John Fox [via R] [ml-node+s789695n464068...@n4.nabble.com]
Sent: Friday, August 17, 2012 10:51 PM
To: Easton, Todd
Subject: Re: Making data in R available to Rcmdr

Dear Todd,

> -----Original Message-----
> From: [hidden email]<UrlBlockedError.aspx> [mailto:[hidden 
> email]<UrlBlockedError.aspx>]
> On Behalf Of ToddE
> Sent: Friday, August 17, 2012 5:57 PM
> To: [hidden email]<UrlBlockedError.aspx>
> Subject: [R] Making data in R available to Rcmdr
>
> I'm an R newbie.  I'm trying to use Rcmdr to make a 3-D scatterplot of
> data from a two-independent-variable regression and of the regression
> plane.
>
> The object "dat" in R contains the data:
> > print(dat[1:20,])
>          y     x1     x2
> 1   431.69  76.40 132.80
>
> Rcmdr "knows" about dat.  If I click Data, New data set, and enter the
> name dat, Rcmdr won't let me use that name.  I get this message: "Data
> set dat already exists. Overwrite data set?"
>
> However, I don't know how to make dat the active data set in Rcmdr.  Is
> that possible?
>

"Data -> New data set" allows you to enter a new data set in the R data
editor; it doesn't give you access to a data set that's currently in memory.
Assuming that dat is a data frame (and that it really has more than just one
line), you can access it either via "Data -> Active data set -> Select
active data set", or by clicking the "No active dataset" button in the Rcmdr
toolbar.

I hope this helps,
 John

-----------------------------------------------
John Fox
Senator McMaster Professor of Social Statistics
Department of Sociology
McMaster University
Hamilton, Ontario, Canada


> Sorry if this is too basic.  Can't find an answer in "Getting Started
> With the R Commander" or on this list.
>
> Todd
>
>
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Making-data-
> in-R-available-to-Rcmdr-tp4640672.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> [hidden email]<UrlBlockedError.aspx> 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.

______________________________________________
[hidden email]<UrlBlockedError.aspx> 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 you reply to this email, your message will be added to the discussion below:
http://r.789695.n4.nabble.com/Making-data-in-R-available-to-Rcmdr-tp4640672p4640686.html
To unsubscribe from Making data in R available to Rcmdr, click 
here<http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4640672&code=ZWFzdG9uQHVwLmVkdXw0NjQwNjcyfC0yMDMwNjc3MzU1>.
NAML<http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: 
http://r.789695.n4.nabble.com/Making-data-in-R-available-to-Rcmdr-tp4640672p4640767.html
Sent from the R help mailing list archive at Nabble.com.
        [[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.

Reply via email to