Displaying 3 results from an estimated 3 matches for "crnt".
Did you mean:
cnt
2010 Nov 10
0
Retrieve all names of nested list and index list based on these names
...UPDATE BUFFER
buffer$run <- c(buffer$run, x)
if(do.name.chain)
{
buffer$name <- c(buffer$name, list.branch.nme)
} else
{
buffer$name <- list.branch.nme
}
# /
index.crnt <- paste(as.character(buffer$run), collapse="-")
index.crnt <- data.frame(
name=paste(buffer$name, collapse="$"),
index=index.crnt,
stringsAsFactors=FALSE
)
index.updt <- rbind(buffer$index, i...
2011 Feb 01
1
list.files() error message: 'translateCharUTF8' must be called on a CHARSXP
I'm using list.files() on my home directory, like this:
crnt.files <- list.files(dir.to.check, full.names=TRUE, all.files=TRUE,
recursive=TRUE)
With dir.to.check set to the full path to my home directory.
After a while I get:
Error in list.files(dir.to.check, full.names = TRUE, all.files = TRUE, :
'translateCharUTF8' must be called on a CHAR...
2010 Nov 11
4
How to get a specific named element in a nested list
Hello,
I have a nested named list structure, like the following:
x <- list(
list(
list(df1,df2)
list(df3,
list(df4,df5))
list(df6,df7)))
with df1...d7 as data frames. Every data frame is named.
Is there a way to get a specific named element in x?
so, for example,
x[[c("df5")]] gives me the data frame 5?
Thank you in advance!
Best,
Friedericksen