Can't you just convert you df as follow matrix <- as.matrix(s) ?
Double check it as I am a newbie too. :-)
Regards,
Alberto
On 4 March 2011 06:08, Dmitrij Kudriavcev wrote:
> Hello
>
> I'm a new in R
> I have a large data.frame "s" (this is actualy just a table in mysql) :
>
> > names(s)
> [1
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
The only difference I see is the http vs https, perhaps you require a sort
of auth to access that file.
On 6 January 2011 19:53, John Kane wrote:
> # Can anyone suggest why this works
>
> datafilename <- "
> http://personality-project.org/r/datasets/maps.mixx.epi.bfi.data";
> person.data <- r
is not all that important but it's definately annoying.
>
> --- On *Thu, 1/6/11, Alberto Negron * wrote:
>
>
> From: Alberto Negron
> Subject: Re: [R] Accessing data via url
> To: "John Kane"
> Cc: "R R-help"
> Received: Thursday, January 6, 201
4 matches
Mail list logo