On 31 Dec 2013, at 17:32 , Duncan Murdoch wrote:
> On 13-12-31 9:48 AM, David Parkhurst wrote:
>> Two or three respondents asked for an example of my problem. Here's
>> what's happening to me now. I can't reproduce how I got to this point,
>> though:
>>
>> > ls()
>> [1] "All8" "All8Sites"
p@r-project.org
> Subject: Re: [R] Where did lost variables go, with example
>
> Thank you. I've tried what you're suggesting, at an earlier suggestion
> from another respondent, and I don't find my variable in any of lists
> ls() through ls(7).
>
> I'm jus
On Mon, 30 Dec 2013 20:42:53 -0500
David Parkhurst wrote:
> I have several variables in a data frame that aren't listed by ls()
> after I attach that data frame. Where did they go, and how can I
> stop the hidden ones from masking the local ones?
> Thanks for any help.
> David
>
You really nee
Thank you. I've tried what you're suggesting, at an earlier suggestion
from another respondent, and I don't find my variable in any of lists
ls() through ls(7).
I'm just going back to using R after being away from statistics for
several years. I'm thinking I might uninstall R, then reinstall
On 13-12-31 11:38 AM, David Parkhurst wrote:
Thank you. I've tried what you're suggesting, at an earlier suggestion
from another respondent, and I don't find my variable in any of lists
ls() through ls(7).
Are you sure that "X" is really the name of a column in the dataframe?
names(All8Sites)
On 13-12-31 9:48 AM, David Parkhurst wrote:
Two or three respondents asked for an example of my problem. Here's
what's happening to me now. I can't reproduce how I got to this point,
though:
> ls()
[1] "All8" "All8Sites" "A" "B" "C" "i" "n" "D" "F"
> X
Error: object 'X' not found
Two or three respondents asked for an example of my problem. Here's
what's happening to me now. I can't reproduce how I got to this point,
though:
> ls()
[1] "All8" "All8Sites" "A" "B" "C" "i" "n" "D" "F"
> X
Error: object 'X' not found
> attach(All8Sites)
> ls()
[1] "All8" "All
Gents:
I would add that:
1) attach() should probably no longer be used in R, for all the
reasons (and more) cited,
2) The preferred alternative these days is to use lists, including
data frames, as containers and make liberal use of the ?with and
?within functions. Environments can also be us
G'day David,
On Mon, 30 Dec 2013 20:42:53 -0500
David Parkhurst wrote:
Some wild guesses in the absence of a reproducible example.
> I have several variables in a data frame that aren't listed by ls()
> after I attach that data frame.
ls() list the objects in the global environment. If you
A reproducible example would do well here David
Best
Simon
On 31 Dec 2013, at 02:42, David Parkhurst wrote:
> I have several variables in a data frame that aren't listed by ls()
> after I attach that data frame. Where did they go, and how can I stop
> the hidden ones from masking the local o
I have several variables in a data frame that aren't listed by ls()
after I attach that data frame. Where did they go, and how can I stop
the hidden ones from masking the local ones?
Thanks for any help.
David
[[alternative HTML version deleted]]
___
11 matches
Mail list logo