similar to: write.table and read.table commands

Displaying 20 results from an estimated 10000 matches similar to: "write.table and read.table commands"

2011 Oct 31
3
How to use IML with R and SAS
Hello, I have a for loop that generates data in R. With the IML program, I would like to analyze data in SAS from each iteration of the for loop in R. It would be helpful if someone could explain to me how to analyze data this way. Thanks [[alternative HTML version deleted]]
2011 Jul 31
2
Legend for 2 plots on same screen
Hello, I have two plots on the same screen. I use the command par(mfrow=c(1,2)) in order to do this. When I try to make a legend for both plots, it only puts the legend in the plot on the right side. If I would like a legend that is outside of both of the plots, how would I do this? Thanks [[alternative HTML version deleted]]
2018 Apr 19
3
R Bug: write.table for matrix of more than 2, 147, 483, 648 elements
Le 19/04/2018 ? 09:30, Tomas Kalibera a ?crit?: > On 04/19/2018 02:06 AM, Duncan Murdoch wrote: >> On 18/04/2018 5:08 PM, Tousey, Colton wrote: >>> Hello, >>> >>> I want to report a bug in R that is limiting my capabilities to >>> export a matrix with write.csv or write.table with over >>> 2,147,483,648 elements (C's int limit). I found
2005 Jul 07
1
write.csv (PR#7992)
The write.csv() function is currently implemented as function (..., col.names=NA, sep=",", qmethod="double") { write.table(..., col.names=NA, sep=",", qmethod="double") } Surely, it should be function (..., col.names=NA, sep=",", qmethod="double") { write.table(..., col.names=col.names, sep=sep,
2005 Jun 29
2
write.csv suggestion
Hello all, I had some trouble recently with write.csv because I couldn't change one of the default options. A quick view of the code showed that the function was not defined in the most optimal way. Currently, write.csv <- function (..., col.names = NA, sep = ",", qmethod = "double") write.table(..., col.names = NA, sep = ",", qmethod = "double")
2011 Aug 08
1
Var-Cov matrix from LMER function
Hello, Is there a way to get the Var-Cov matrix from the LMER function? Thanks [[alternative HTML version deleted]]
2012 Nov 06
2
Append Data to an Excel File through each Iteration of a For Loop
Hi, I would like to find a way to append data to an excel file through each iteration of a for loop. Is there a way to use a command such as write.table and append each iteration to a different sheet? Thanks [[alternative HTML version deleted]]
2011 May 20
2
extraction of mean square value from ANOVA
Hello, I am randomly generating values and then using an ANOVA table to find the mean square value. I would like to form a loop that extracts the mean square value from ANOVA in each iteration. Below is an example of what I am doing. a<-rnorm(10) b<-factor(c(1,1,2,2,3,3,4,4,5,5)) c<-factor(c(1,2,1,2,1,2,1,2,1,2)) mylm<-lm(a~b+c) anova(mylm) Since I would like to use a loop to
2011 Aug 25
2
Using write.table i have a table with two columns i would like to save it as an excel file
Using write.table i would like to save data as an excel file to a folder. I am not too sure how to write the file path or what to name the file. I would appreciate any feedback. > write.table(x, file = "", append = FALSE, quote = TRUE, sep = " ", + eol = "\n", na = "NA", dec = ".", row.names = TRUE, + col.names =
2009 Nov 02
1
two small wishes (with code sugegstions) for R-core
Dear R developers, It would be great if you could implement the two minor code changes suggested below, which would help processing large objects in R. Jens Oehlschl?gel # Wish no. 1: let [.AsIs return the class AFTER subsetting, not the class of the original object # Wish no. 2: adjust write.csv and write.csv2 for multiple calls in chunked writing # Rationale no. 1: a couple of packages
2008 Oct 24
1
write.csv(..., col.names = FALSE) (PR#13202)
Full_Name: Stefan Albrecht Version: 2.7.2 (and 2.8.0) OS: Windows NT Submission from: (NULL) (194.127.8.17) Dear R Debug-Team, in write.csv() it is not possible to set both row.names = FALSE, col.names = FALSE since the col.names = FALSE gets overwritten: > write.csv function (...) { Call <- match.call(expand.dots = TRUE) for (argname in c("col.names", "sep",
2005 Nov 10
4
write.table read.table with Dates
I've found several similar issues with write.table/read.table with Dates on this list, but trying to follow this advice I still get an error. First, I read in data from several files, constructing several date/time columns using ISOdatetime > str(Tall$Begin) 'POSIXct', format: chr [1:40114] "2005-10-02 00:00:00" "2005-10-02 00:00:00" ... > length(Tall$Begin)
2011 Dec 04
1
rnorm command
Hello, I use the command rnorm, and I feed these results into a lmer command. Since I am using the rnorm command I expect to get different results for each iteration, yet for each iteration I am getting the same answer. If someone understands why I am getting the same answer every time with a random number generator, I would appreciate help in understanding why this is happening. Is the lmer
2003 Mar 19
3
r-help using random generating
To whom it may concern: Given that my sample size is n, my mean is 100, and my sd is 10, I need to use a random number generator (which I believe is the function rnorm(5,100,10)), but I need to repeat it a large number of times, and then plot the sampling distributions of the sample means, sd's, and variances of those generated sets. I'm having a real hard time trying to figure out how
2018 Jul 05
0
write.table with quote=TRUE fails on nested data.frames
Looks like I?m bumping a lot into unexpected behaviour lately, but I think I found a bug again, but don?t have access to Bugzilla: Write.table (from core-package utils) doesn?t handle nested data.frames well, the quote arguments only marks top-level character (or-factor columns) for quoting, so this fails: df <- data.frame(a='One;Two;Three',
2013 Jan 03
2
Sas by function in R
Hello, It's an alternative to use SAS by function in R? I want to plot d histograms by plot.from example bellow: Thank you! plot d 1 1 16.3 2 1 25.0 3 1 57.8 4 1 17.0 5 2 10.8 13 2 96.4 17 3 76.0 18 3 32.0 19 3 11.0 20 3 11.0 24 3 106.0 25 3 12.5 21 4 19.3 22 4 12.0 26 4 15.0 27 5 99.3 32 7 11.0 36
2003 Nov 06
2
Summary: How to represent pure linefeeds chr(10) under R for Windows
Thanks to all who have responded. My concern was to be able to write a csv file that can have line feeds in string columns chr(10). Why? Excel allows line feeds chr(10) within cells and line breaks chr(13)+chr(10) at line ending, but the windows version of R automatically replaces \n by \r\n in writing and \r\n by \n in reading (text mode). The clues for a solution came from Brian Ripley and
2008 Jun 22
1
readLines problem in iteration
Hi there My script at each iteration produces a .dat file which I save in a directory with write.table. Then I need to read each line of this file and create a directory for each line and put elements of that row in that directory. I do it with the following script which I have inserted somewhere between my outer iteration loop, it works fine for the first iteration, but the problem is that it
2018 Apr 19
0
R Bug: write.table for matrix of more than 2, 147, 483, 648 elements
On 04/19/2018 11:47 AM, Serguei Sokol wrote: > Le 19/04/2018 ? 09:30, Tomas Kalibera a ?crit?: >> On 04/19/2018 02:06 AM, Duncan Murdoch wrote: >>> On 18/04/2018 5:08 PM, Tousey, Colton wrote: >>>> Hello, >>>> >>>> I want to report a bug in R that is limiting my capabilities to >>>> export a matrix with write.csv or write.table
2012 Jan 23
3
How can I access information stored after I run a command in R?
Dear all, Supposed I run the following command: ############################### #install.packages("Rassoc", dependencies=TRUE) library("Rassoc") ca=c(139,249,112) co=c(136,244,120) a=rbind(ca,co) MAX3(a,"asy",1) ############################## I get: The MAX3 test using the asy method data: a statistic = 0.5993, p-value = 0.7933 How can one save the result