t; save(a, file='a.RData')
On Thu, Sep 8, 2011 at 12:24 PM, Monsieur Do wrote:
I've seen a number of issues with the loading of workspaces discussed
previously, but here's another one... I simply can't load any saved workspace
at all... Here's an example,
I've seen a number of issues with the loading of workspaces discussed
previously, but here's another one... I simply can't load any saved workspace
at all... Here's an example, starting with an empty workspace and creating a
single variable "a".
> a<-1:5
> save.image("a.Rdata")
> rm(a)
> load
Indeed, as David pointed out, all the portion that used courier font (all the
good stuff) was absent from the email posting.
Thanks for your answers.
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.
0 (PDT)
> From:
Frank Harrell
> To:
r-help@r-project.org
> Subject:
Re: [R] Labelling all variables at once (using Hmisc label)
> Message-ID:
<1313493727519-3746928.p...@n4.nabble.com>
> Content-Type:
text/plain; charset=UTF-8
>
> Do
require(Hmisc); ?label to see the help fil
Thank you for your answers. Problem solved. Eik's cue to
all.names(match.call())[-1] was particularly enlightning!
Do
> De : Eik Vettorazzi
[mailto:e.vettora...@uke.uni-hamburg.de]
> Envoyé : 17 août 2011 08:46
> À : Monsieur Do
> Cc : r-help@r-project.org
> Objet
Say I have a list of variables,
listVar <- list(age,sex)
I am looking for a way to either
1- create a vector c("age","sex") from it, or
2- get the names one by one in a for loop such as these
a) for (i in 1:length(listVar)) rownames(result)[i] <- ???
b) for(i in listVar) print (vari
The labels can contain much more than just names. In my case, they are variable
descriptions (items from a questionnaire). I need to keep the names as they
are, hence the need for Hmisc's labels.
On Mon, Aug 15, 2011 at 3:53 PM, Monsieur Do wrote:
> I have a dataset and a list of l
I have a dataset and a list of labels. I simply want to apply the labels to the
variables, all at once. The only way I was able to do it was using a loop:
for (i in 1:length(data)) label(data[,i]) <- data.labels[i]
I'd like to find the non-loop way to do it, using apply or the like... Any h
8 matches
Mail list logo