similar to: printing out the summary for lm into a txt file

Displaying 20 results from an estimated 7000 matches similar to: "printing out the summary for lm into a txt file"

2013 Jul 30
1
Ayuda
Hola colegas: He estado usando R Studo para obtener unos reportes que espero me ayuden a comprender un ejemplo que estoy tomando de la red. Usando sink("Tabla.txt") , al pedir summay(n), obtengo: sr tl 1 : 1 1: 4 10 : 1 2:13 18 : 1 3:10 30 : 1 4: 4 47 : 1 7: 9 67 : 1 (Other):34 d Min. : 1.000 1st Qu.: 2.000 Median : 5.000
2009 Jun 09
3
SECOND MESSAGE: Re: Question about R an SPSS
Sent: Sunday, June 07, 2009 5:43 PM Subject: Question about R an SPSS Dears Sirs: Venables, Smith and R-Development Core Team I am reading about the functional features of R statistical software, because I want to compare these progarm with the basic module of SPSS software. I would like to know if the R version 2.9.0 application is capable of read and procces entry files
2000 Jan 25
1
smbpasswd changes root password
Hi, This is a very scary problem I have here. I use a precompiled 2.0.6 samba on my SGI IRIX 6.3 system. I also have smbpasswd file setup. When I tried to change the samba password using smbpasswd program ( from a non root account whic I use) I got an error messgae saying that it cannot change the password. My goodness, I found that the instead of changing password for my account smbpasswd
2006 Jun 19
1
how to do this sum?
Hi, Everybody! I have a big table which named table_x, and all the elements in the table is very large! Now I want to do the summay on the talbe_x[,3]. Unfornately, I can't get the right result! And the R give the warning messages as follow: > sum(table_x[,3]) >[1] NA >Warning message: >interger overflow in sum(.);please use sum(as.numeric(.)) (the original upper message is
2005 May 25
1
The error while using R2WinBUGS
Dear all, I tried to run WinBUGS model in R by using package R2WinBUGS, but I failed because of the massage : cannot calculate DIC for model in log file of WinBUGS14. In fact, the model works in WinBUGS and I can get summaries of the model, such as density, stats..., except DIC , because DIC may not be appropriate in this kind of model due to some reasons(according to the manual of WinBUGS14),
2005 Aug 26
1
basic anova and t-test question
Hello, I'm posting this to receive some comments/hints about a rather statistical than R-technical question ... . In an anova of a lme factor SSPos11 shows up non-significant, but in the t-test of the summay 2 of the 4 levels (one for constrast) are significant. See below for some truncated output. I realize that the two test are different (F-test/t-test), but I'm looking for for a
2012 Jan 05
3
save output of print() to txt file
I am looking for other option to write the output of the print command in R I am using sink() to write the R output to a file. This is similar to what I have: > a=c(1:30) > a [1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 > sink("vectorA.txt");print(a);sink() I am looking for othe roptions to save the output of the print()
2011 Nov 01
3
Export to .txt
Hi, I would like to export all my workspace (even with the evaluation of commands) to the text file. I know about the sink() function but it doesnt work as I would like. My R-function looks like this: there are instructions for user displayed by cat() command and browser() commands for fulfilling them. While using the sink() command the instructions dont display :( Can anyone help me with a
2009 Feb 10
7
How to split a character vector into 3 vectors
Hi , Does any one know how to split a character vector , I have a vector X that looks like this and each row has 3 characters X ASK DGH ASG AUJ FRT I would like to split the vector into 3 vectors that look like this X1 X2 X3 A S K D G H A S G A U J U R T thanks -- View this message in context: http://www.nabble.com/How-to-split-a-character-vector-into-3-vectors-tp21939492p21939492.html
2010 May 19
1
Multiple language output - Correct in RGui, wrong in .txt after sink()
I have the following problem with outputting multilingual data to a file. I get (except for Korean) what I expect as result in the RGui, but when I use sink() to output to a text file loose the characters in the foreign languages. I post a small example below. Since I am not sure how well my email system as the list copes with all the different characters I have additionally created a pdf
2009 Feb 10
7
ifelse()
I have a problem with ifelse(), I do not understand how it works. > X<-c(2,2,1,1,0,0) > str(X) num [1:6] 2 2 1 1 0 0 > Y<-ifelse(X>0,1,0) > Y [1] 1 1 1 1 0 0 > Can some one explain what is going on, I do not understand what ifelse is doing in this case. Can someone explain the output Y. Thanks -- View this message in context:
2013 Jul 31
0
Resumen de R-help-es, Vol 53, Envío 46
Re: Ayuda Manolo, si no estoy mal tu tarea se soluciona con el uso de las funciones melt y cast del package reshape o en su defecto la versión mas nueva reshape2. ------------------------------ > > Message: 4 > Date: Tue, 30 Jul 2013 15:56:03 -0500 > From: Manuel Máquez <manuelmx11@gmail.com> > To: R-help-es@r-project.org > Subject: [R-es] Ayuda > Message-ID: >
2018 Apr 24
6
Copy text from Script syntax into .txt
Hi everybody, How can I get text from RScript (e.g. syntax, reminder) into the result text. Sink() does not do that - I only read the results and therefore I have to 'guess' which syntax was used where - reminders I wrote are lost. Bw and thank you in advance, Roberto [[alternative HTML version deleted]]
2010 Feb 26
6
using grep
Hi All, I have a character vector with naems of cities in the us. I need to extract the number that appear after the word "New York", for example, x<-c("P Los Angeles44AZ", "P New York722AZ", "K New York20") I want the results to be 722, 20 cab I use the grep function, if so how? I appreciate your help, thanks, -- View this message in context:
2008 Nov 18
2
counting the number of elements in a column
Hi All, I have a column that contains values between 0 and 1. I would like to make a table that consists of the number of elements in each category. For example , how many elements have values between 0 and 0.1, 0.1 to 0.2, 0.2 to 0.3,etc??..0.9 to 1. Is there an easy way to do this? Thanks -- View this message in context:
2006 Apr 19
1
Creating a .txt file from an Oracle DB without creating an R object
Dear R-helpers, I am dealing with an Oracle database (using package RODBC). I use R in order to transform some Oracle tables into .txt files (using function sqlFetch from package RODBC and then function write.table). However, I cannot do it without creating an R object, which is rather restrictive for very big Oracle tables. Indeed, any R Object is stored into RAM, which can be of limited
2008 Jun 03
2
merge two data sets
I would like to merge ?data1 ?that contains 100 unique ID?s with another data set ?data 2? with 150 ID?s and the age of those individuals ( the ID in data1 is a subset of the ID in data 2) I would like to merge these data1 with data2 and have the result of the merge to have the ID ordered as in data1. Can this be done in R? -- View this message in context:
2009 Feb 04
3
factor
I am looking into change the numeric order in the level of the factor > x<-c("A","B","C") > fx<-factor(x) > fx [1] A B C Levels: A B C > factor(x) [1] A B C Levels: A B C > as.numeric(fx) [1] 1 2 3 I want to change the order of the numeric into 3 corresponds to ?A? level, 2 corresponds to ?B? level and 1 corresponds to ?C? level So when I
2009 Dec 17
3
write.csv and col.names=F
Hi All, I always have a problem with write.csv when I want the column names to be ignored, when I specify col.names=F, I get a header of V1 V2 V3 V4 etc. for example I tried write.csv(mydata, file="data.csv", quote=FALSE, row.names=F, col.names=F) Warning message: In write.csv(mydata, file = "data.csv", quote = FALSE, : attempt to set 'col.names' ignored >
2010 Jul 29
3
help splitting a data frame
Hi All, I have a dataset that I would like to split based on : or ? ( the data file is tab delimited) for example: Ny:23-45 AC BA:88-91 DB KJ:21-13 PA And I would like the data to be splitted and the final results look like NY 23 45 AC BA 88 91 DB KJ 21 13 PA I would like to have the resulting data as a data frame so each column is a variable. Thanks, -- View this message in context: