Dear all, I am conducting a simulation study for my thesis on R in windows xp platform but due to better performance and for gaining time I have to run the script on linux server(some kind of workstation). But I have no idea which format the codes should be in. Is there any converter for this situation- is it possible convert the R code in linux format or can you advice me a reference for overcoming this problem.. kindest regards Gokhan -- View this message in context: http://r.789695.n4.nabble.com/R-script-on-linux-tp3023650p3023650.html Sent from the R help mailing list archive at Nabble.com.
On 02/11/2010 8:58 AM, gokhanocakoglu wrote:> Dear all, > I am conducting a simulation study for my thesis on R in windows xp platform > but due to better performance and for gaining time I have to run the script > on linux server(some kind of workstation). But I have no idea which format > the codes should be in. Is there any converter for this situation- is it > possible convert the R code in linux format or can you advice me a reference > for overcoming this problem..What is the problem? Duncan Murdoch
Have a look at function(s) lmList() from packages lme4 or nlme. I hope it helps. Best, Dimitris On 11/2/2010 3:14 PM, Rosario Garcia Gil wrote:> Hello > > I would like to extract the estimates for the intercept and slope by individual for growth from a lm fit. > Any advice? > > Individual Time point Height > 1 1 10 > 1 2 11 > 1 3 23 > 1 4 15 > 1 5 21 > 1 6 23 > 2 1 24 > 2 2 12 > 2 3 9 > 2 4 10 > 2 5 11 > 2 6 10 > ... > > Thanks > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Dimitris Rizopoulos Assistant Professor Department of Biostatistics Erasmus University Medical Center Address: PO Box 2040, 3000 CA Rotterdam, the Netherlands Tel: +31/(0)10/7043478 Fax: +31/(0)10/7043014 Web: http://www.erasmusmc.nl/biostatistiek/
On Nov 11, 2010, at 6:04 AM, Rosario Garcia Gil wrote:> Hello > > I am trying to export and lmList by write.table(x, "x.csv") and it > complains. > I have tried to convert the lmList into data.frame but also complains. > > Any suggestion?The most important suggestion would to provide context. Why are you doing this? The output of lmList, a list of fits, (assuming this to be from lme4 ... and the lack of specification would generate another suggestion) is not in a form suitable for coercion to a dataframe and write.table only works on objects that are coercible to a dataframe. If you are hoping to save an object that can be restored then the save/ load combination is the route to success. -- David Winsemius, MD West Hartford, CT