Re: [R] How to copy data from data.frame to matrix

2011-03-04 Thread Alberto Negron
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

[R] Return list of data frames.

2011-02-14 Thread Alberto Negron
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

Re: [R] Accessing data via url

2011-01-06 Thread Alberto Negron
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

Re: [R] Accessing data via url

2011-01-06 Thread Alberto Negron
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