Displaying 3 results from an estimated 3 matches for "albertonegron".
2011 Jan 06
8
Accessing data via url
# Can anyone suggest why this works
datafilename <- "http://personality-project.org/r/datasets/maps.mixx.epi.bfi.data"
person.data <- read.table(datafilename,header=TRUE)
# but this does not?
dd <- "https://sites.google.com/site/jrkrideau/home/general-stores/trees.txt"
treedata <- read.table(dd, header=TRUE)
2011 Feb 14
1
Return list of data frames.
Hi,
I've got a problem with a function trying to return 2 data frames in a list.
The code is as follow:
function(x) {
# code....
MyList<- list("a"=df.a,"b"=df.b)
return(MyList)
}
and I got the following message:
Error in list_to_dataframe(res, attr(.data, "split_labels")) :
Results must be all atomic, or all data frames
At first instance I thought it
2011 Jan 06
0
Problem with package twitteR and converting S4 obj to data frame
Hi,
I wrote a simple script to retrieve an n number of followers for a given
user in Twitter. I used a sample of n=10 to test my script and worked
perfectly but once I started to changes n I started to get the following
error:
Error in list_to_dataframe(res, attr(.data, "split_labels")) :
Results do not have equal lengths
I have no clue why works fine with n=10 but for higher