similar to: Sweave problem on Mac OS when using umlauts and summary()

Displaying 20 results from an estimated 1000 matches similar to: "Sweave problem on Mac OS when using umlauts and summary()"

2010 May 28
1
Does Sweave run in the global environment ?
Hello It seems that sweave always runs in the global environment. I want to run sweave from within a function, and pass a variable into sweave, however when I do this, sweave doesn't see the variable. Here's my example test_sweave.Rnw file |% \documentclass[a4paper]{article} \usepackage[OT1]{fontenc} \usepackage{Sweave} \begin{document} \title{Test Sweave Document} \author{Paul
2011 Apr 12
2
split string into individual valus while reading in R
Dear R experts Sorry for posting: I have text file that I need to read into R (this is out from different program). A portion of data look like: ;example data 1_1 ch1 0.0 HAAAHHAAAHHAAAAAHHAHHAHAHHHAAHHAHAAAAHAAAHHAHHAAHAHHAAAAHAAAHHHAAAHHAHHHAAAHHHHAHHAAHAAAAHAHHHHHAAAHAHHAHHHHAHHHHHHHHHAAHAAHHHAHAAAAAHHHHHHAHHHHHAHHHH 1_2 ch1 0.1
2005 Feb 07
1
Sweave and connections
I'm learning to use Sweave (it's really great!) and everything works fine, except that occasionally I get, after having sweaved many times, ---------------------------------------------------------- > Sweave("report.Snw") Writing to file report.tex Processing code chunks ... 1 : term hide Error: chunk 1 Error in file(file, encoding = encoding) : All connections
2009 Mar 27
1
Sweave-output causes error-message in pdflatex
Dear list, Latex/Sweave has trouble processing Sveave-output coming from the summary-command of a linear Model. >summary(lmRub) The output line causing the trouble looks in R like this Signif. codes: 0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1 In my Sweaved Tex-file that line looks like this Signif. codes: 0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1? (actually in the editor the
2009 Apr 08
2
factor, as.factor and levels
Dear All, to my surprise as.factor does not accept a levels argument. Maybe I did not read the documentation well enough. See the example below. I wanted to use ch1 as factor in the newdata argument of survfit, so I assumed that I could write as.factor(ch1, levels=ch1), since the order should be kept. But as.factor(ch1, levels=ch1) results in the error: Error in as.factor(ch1, levels = ch1)
2009 Nov 06
1
Fancy quotes on Windows
Hi, I don't use Windows as my primary OS anymore, so didn't notice this until recently. In R-2.10.0 under Windows useFancyQuotes is FALSE by default, but this doesn't seem to affect the rendering of (text) help pages. This is not a problem if I run via the Rgui or Rterm (via DOS prompt), as the help pages are rendered in a popup window that understands directional quotes.
2007 Sep 03
4
Fixes and workarounds for regressions and issues in the randr-1.2 branch
Hi, Please find attached the patches which I currently use on my desktop machine for dual head with the randr branch to fix the issues which I found. They may help others as well but may e.g. also disable the Xv blitter which might be working for some (but didn't on my card) - more information is found in the text comments in the patches. I have to hurry so this is short, will be back.
2003 Mar 10
2
WINS servers and browsing
Well, I've asked a couple times already but I will ask one more, since I still havent' managed to get any further. We have several sites. Each site has it's own network and domain. We are connected via a WAN. Is the best practice to have one WINS server for each site? Or is a single WINS server for the WAN the way to go? Right now I have a single WINS server for the WAN. I CAN NOT
2009 Jan 11
1
Problem using odfWeave
Hi everybody, I don't get odfWeave to run properly. My odt file is as a simple as: ------------------------ Some text. <<echo=FALSE>>= print(1:10) @ ----------------------- The output I get ist the following: ----------------------------------- > odfWeave("roffice.odt", "rofficeOUT.odt") Copying roffice.odt Setting wd to
2007 Jan 25
2
Do I need a CH1 licence for Cisco Phones ?
I've got a question regarding Cisco IP Phones and licencing. When using a third party PBX like asterisk is a licence required for the Cisco phones ? Has anyone got anything in writing from Cisco to clarify this ? Eg can I just use CP-7961G or do I need CP-7961G-CH1 even though I'm not using Cisco Callmanager ? HYPERLINK
2007 Dec 05
1
Working with "ts" objects
I am relatively new to R and object oriented programming. I have relied on SAS for most of my data analysis. I teach an introductory undergraduate forecasting course using the Diebold text and I am considering using R in addition to SAS and Eviews in the course. I work primarily with univariate or multivariate time series data. I am having a great deal of difficulty understanding and working with
2011 Nov 24
2
proper work-flow with 'formula' objects and lm()
Dear all I have a work-flow issue with lm(). When I use > lm(y1~x1, anscombe) Call: lm(formula = y1 ~ x1, data = anscombe) Coefficients: (Intercept) x1 3.0001 0.5001 I get as expected the formula, "y1 ~ x1", in the print()ed results or summary(). However, if I pass through a formula object > (form <- formula(y1~x1)) y1 ~ x1 > lm(form, anscombe) Call:
2000 May 22
1
Bus Error crash (PR#551)
Full_Name: Kjetil Kjernsmo Version: 1.0.1 OS: osf1 Submission from: (NULL) (129.240.28.227) Ouch, another obscure bug... I just had a bus error crash, with a core dump, a small one this time. Usual <URL:http://www.astro.uio.no/~kjetikj/tmp/core>. I had done a few simulations, and done a chisq.test() on them. These simulations also write about 190MB's to file, but I have no idea whether
2020 Oct 15
0
package(moments) issue
moments::anscombe.test(x) does give errors when x has too few values or if all the values in x are the same > moments::anscombe.test(c(1,2,6)) Error in if (pval > 1) pval <- 2 - pval : missing value where TRUE/FALSE needed > moments::anscombe.test(c(2,2,2,2,2,2,2,2)) Error in if (pval > 1) pval <- 2 - pval : missing value where TRUE/FALSE needed You can use tryCatch() to
2020 Oct 15
2
package(moments) issue
Hi all, While running the anscombe.test in R, I'm getting an error of *Error in if (pval > 1) pval <- 2 - pval : missing value where TRUE/FALSE needed* for a few time series columns whereas for most of the series the function is working fine. I have checked for those specific columns for missing values. However, there is no NA/NAN value in the dataset. I have also run kurtosis for
2020 Oct 15
2
package(moments) issue
Hi Bill, Thanks for prompt reply and letting me know a way around it. I have more than 1200 observations and not all the values are the same. However, my data points are quite similar, for example, 0.079275, 0.078867, 0.070716 in millions and etc. I have run the data without converting it to millions and I still get the same error message. As I have kurtosis value, it should be fine for the
2004 Feb 26
2
Sweave and Xemacs on Windows2000?
Hallo! Trying to configure Xemacs to work with .snw files on windows 2000. Tried to do it how it is described in the FAQ for Sweaves. When starting xemacs with and Snw file *ESS* buffer contains hundrets of lines and the few last ones. (ess-loop-timeout . 500000) (inferior-ess-primary-prompt . ^) (inferior-ess-secondary-prompt . ^) (comint-use-prompt-regexp-instead-of-fields . t)
2006 Aug 16
3
separate row averages for different parts of an array
I have an array with 44800 columns and 24 rows I would like to compute the row average for the array 100 columns at a time, so I would like to end up with an array of 24 rows x 448 columns. I have tried using apply(dataset, 1, function(x) mean(x[])), but I am not sure how to get it to take the average 100 columns at a time. Any ideas would be welcomed. thanks, Spencer [[alternative HTML
2010 Jun 10
2
points marking
Hi, How to mark points on x axis of a graph keeping x axis as constant and changing y from y1 to y2 respectively. I want to highlight the area from y1 to y2. Any suggestions Thank you Jeet [[alternative HTML version deleted]]
2007 Mar 13
2
turn regression coefficients into matrix or...
I don't have much experience with r. What I am trying to do is to turn regression coefficients (after I run a lm or glm model) into some matrix such that I can do some post-estimation calculation, for example predicted probabilities in glm model, etc.. Or, is there any function in r that I can use to do something along that line? thanks. Jun Xu, Ph.D. Department of Sociology Ball State