similar to: Dataframe to word, using R2wd

Displaying 20 results from an estimated 700 matches similar to: "Dataframe to word, using R2wd"

2011 Dec 21
2
Using wdTable() within R2wd package‏
Hi All, I am trying to use the wdTable() function within R2wd package to send a dataframe to MS-word. However, there is a problem with the tables that are generated by R. For some reason the header row of the table also contains all the data. You can see it by dragging the bottom border of the table down to make the row wider. For example, the data named 'bod' should look like as:
2011 Aug 31
0
wdTable() in R2wd
Hi all, I've been using the wdTable() function from R2wd package and it's been working great. However I just tried to do the following: > table.2 Waste Rebate code Chargeable (fin_map) Quantity (qty) Total [1,] "Waste" "Rebate code" "CHG" "121" "$22,534.01" [2,]
2011 Dec 21
0
Problem of using wdTable() within R2wd package
Hi All, I am trying to use the wdTable() function within R2wd package to send a dataframe to MS-word. However, there is a problem with the tables that are generated by R. For some reason the header row of the table also contains all the data. You can see it by dragging the bottom border of the table down to make the row wider. For example, the data named 'bod' should look like as:
2010 Jul 15
0
R2wd and ESS: printing source?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm using R2wd and ESS. ESS-mode doesn't let one fill wdBody() calls, and printing out of Emacs (M-x print-buffer or M-x print-region) doesn't wrap, so I miss most of the text on printed listings. What do others do to address that? Thanks, Bill - -- Bill Harris http://makingsense.facilitatedsystems.com/ Facilitated
2012 Jul 23
1
R2wd package wdGet() error
I am having trouble using the R2wd package. The last time I used it successfully, I was running an earlier version of R and an earlier version of Word with an earlier Windows OS. I'm not sure which if any of these changes might be contributing to the problem. Right now I'm using R version 2.15.0 (2012-03-30) for Windows MS Word 2010 version 14.0.6112.5000 (32-bit)
2012 Jun 07
1
R2wd error in wdGet
Dear list, I'm trying to use R2wd package. I've installed the package and try wdGet(). However a error message came up. I'm presently using R 2.15.0 > wdGet() Error in if (wdapp[["Documents"]][["Count"]] == 0) wdapp[["Documents"]]$Add() : argument is of length zero Does anyone knows what this means? Thanks a lot. Andreia Leite -- View this
2012 Oct 11
2
struggling with R2wd or SWord? Try rtf!
I have been looking for a way to write R-generated reports to Microsoft Word documents. In the past, I used the package R2wd, but for some reason I haven't been able to get it to work on my current set up. R version 2.15.0 (64-bit) Windows 7 Enterprise - Service Pack 1 Microsoft Office Professional Plus 2010 - Word version 14.0.6123.5001 (32-bit) I gave the package
2011 Aug 08
0
Print-quality output from R: some questions about R2wd
Hi,My major problem with R was always the quality of the output. Recently I found R2wd, which solved this problem. R2wd makes it possible to write output directly to a word file, end to produce high-quality tables.I have two problems with R2wd, however.1. The documentation says it is possible to open an existing doc file in R2wd (wdGet(filename="hoepedepoep.doc")). This does not work
2012 Apr 02
0
R2wd: Insert MS Word field
Hello Everyone, the basic idea is to generate an initial (MS Word) report by R (plots, tables and outline structure), pass this document around so everyone can add / change content (except plots and tables) and later to be able to update the R plot / table logic and update the already modified word file. I was toying around with the R2wd [1] package to test whether it is a viable way of writing
2011 Feb 18
0
R2wd
Hi all, I'm currently trying to get accustomed to R and some of its packages, thus need some help for a package called R2wd. As I am trying to use the wdGET() function I'm getting the following message: Error in if (!(tmp[["ActiveDocument"]][["Name"]] == filename)) tmp$Open(paste("path", : argument is of length zero Does anybody know what that means?
2009 Dec 08
1
problem with split eating giga-bytes of memory
I'm having trouble using split on a very large data-set with ~1400 levels of the factor to be split. Unfortunately, I can't reproduce it with the simple self-contained example below. As you can see, splitting the artificial dataframe of size ~13MB results in a split dataframe of ~ 144MB, with an increase memory allocation of ~10 fold for the split object. If split scales linearly, then my
2011 Apr 07
3
Correlation Matrix
Listers, I have a question regarding correlation matrices. It is fairly straight forward to build a correlation matrix of an entire data frame. I simply use the command cor(MyDataFrame). However, what I would like to do is construct a smaller correlation matrix using just three of the variable out of my data set. When I run this: cor(MyDataFrame$variable1,
2010 Aug 22
0
R Report (was RE: R-help Digest, Vol 90, Issue 25)
I've been following the "R Reports" topic in the digest mode, so apologies if this has already been mentioned. On a Windows platform, there is a package called R2wd which I've recently discovered and have been using. It allows one to put data frames (it's the only object I've tried so far) into a very nicely Word formatted table. E.g in its documentation it has this
2010 Mar 11
2
Can't convert list to matrix properly
Hi guys, here is a list of names that I have: MyList: > myList<-list("A", "B","C","D") > myList [[1]] [1] "A" [[2]] [1] "B" [[3]] [1] "C" [[4]] [1] "D" I want to turn this list into a matrix of 1 row and 4 columns with those four components (A, B, C, D) so here is what I do: myDataFrame <-
2007 Oct 24
3
Partial aggregate on sorted data
Hi All, I'm looking for ways to compute aggregate statistics (with the aggregate function) but with an option for sorting and selecting a subset of the data frame. For example, I have would like to turn this : aggregate(myDataframe$TargetValue,list(SomeFactor = myDataframe$SomeFactor),mean) into something like aggregate(myDataframe$TargetValue,list(SomeFactor =
2012 Jul 04
2
Difference between two-way ANOVA and (two-way) ANCOVA
Hi! as my subject says I am struggling with the different of a two-way ANOVA and a (two-way) ANCOVA. I found the following examples from this webpage: http://www.statmethods.net/stats/anova.html # One Way Anova (Completely Randomized Design) fit <- aov(y ~ A, data=mydataframe) # Randomized Block Design (B is the blocking factor) fit <- aov(y ~ A + B, data=mydataframe) # Two Way
2005 Apr 04
2
mysql retrive question
hello R-Users, I have this simple but not for me question: I do: > res<-dbSendQuery(con, "SELECT * FROM tabellaProva") > myDataFrame<-fetch(res) > myDataMatrix<-as.matrix(myDataFrame[,-1]) > namerows(myDataMatrix)<-as.character(myDataFrame[,1]) and I have: io tu io "0" "1" tu "1" "0" my problem is that the
2010 Apr 29
2
understanding behavior of "merge"
I'm trying to bootstrap resample from a repeated measures dataset. I sample a vector of "ID"'s from my dataframe with replacement. Then I merge this back with my dataframe. I'm re-sampling subjects in the dataset rather than rows of the data. I thought I could use the left/right join features of the merge to select the records I want from the dataframe (mydataframe), like
2007 Apr 22
1
dput/dget when a data frame has 2 rows (PR#9627)
This doesn't seem right; I'm using R version 2.4.1 (2006-12-18) on Mac OS and Win XP and find the same issue: > mydataframe <- data.frame(ppi=c(.5,.5),mmu=c(5,10)) > dput(mydataframe,"mydataframe.txt") > dget("mydataframe.txt") Error in attributes(.Data) <- c(attributes(.Data), attrib) : row names must be 'character' or 'integer', not
2012 Jul 19
2
problem with using apply for dataframe
Dear people, I am including an example of a dataframe: mydataframe<-data.frame(X=c(1:4),total_bill=c(16.99,10.34,21.01,23.68),tip=c(1.01,1.66,3.50,3.31),sex=c("Male","Male","Male","Female")) When I use the sapply function getting the information about the factors works: sapply(mydataframe,function(x)is.factor(x)) X total_bill tip