similar to: Sweave problem after R update version

Displaying 20 results from an estimated 2000 matches similar to: "Sweave problem after R update version"

2012 Nov 05
2
Problem compiling Rnw file
Dear R list, I'm using R 2.15.2 with TeX Live 2009 and ESS 12.09 . I have a R project in the '/home/r/Documents/myproj/', which is my working directory (where I have the .Rnw file). Inside the document I have several "setwd()" to collect the datasets I use. After I compile from the terminal using "R CMD Sweave myproj.Rnw", I receive the error: Error in
2012 Feb 26
1
Sweave Print xtable
Hi, I'm working with Sweave and I have some trouble generating table. The R code is: print(xtable(myTable, caption ="", label="tab:myTab", digits=3), tabular.environment='tabular', floating=TRUE, caption.placement="top",size="\\scriptsize") and the resulting LaTeX table is: \begin{table}[ht] \begin{center} \caption{Principal
2010 Jul 26
2
Trouble using grid.layout in Sweave
Hi! I am troubled by Sweave which I want to use in order to plot graphics which I build up successively by the use of grid.layout. Here is the code: <<fig=TRUE,label=evolDist,height=6in,width=3in,pdf=FALSE>>= ## combined plot via grid viewports grid.newpage() pushViewport(viewport(layout=grid.layout(2,1))) vlay <- function(x,y) viewport(layout.pos.row=x, layout.pos.col=y)
2010 Nov 29
1
Sweave choking on \\ in filename
Dear all, Sweave chokes when using "\\" in the path to the Rnw file. Using "/" works fine. The problem is that Eclipse+StatET uses "\\" in the filename. And example of the error, traceback and sessionInfo are given below. Best regards, Thierry > Sweave("Q:\\BMK\\cursussen\\interne_opleiding\\deelnemerslijst.Rnw", syntax="SweaveSyntaxNoweb")
2009 Nov 12
2
package "tm" fails to remove "the" with remove stopwords
I am using code that previously worked to remove stopwords using package "tm". Even manually adding "the" to the list does not work to remove "the". This package has undergone extensive redevelopment with changes to the function syntax, so perhaps I am just missing something. Please see my simple example, output, and sessionInfo() below. Thanks! Mark require(tm)
2012 Jan 06
1
Sweave Chunks
Hi, is there a way to collapse/expand the Sweave chunks? Best Riccardo
2004 Oct 19
2
Sweave and Trellis in R 2.0.0patched (Windows)
I've been using the following code to plot using Sweave in version 1.9.1 library(RODBC) library(lattice) channel <-odbcConnectExcel("h:/water.xls") data <- sqlQuery(channel,"select * from `Sheet1$` where Test = 'TOC' and (Valve='5010-05' or Valve='8030-V26' or Valve='1180-08' or Valve='5040-08')") odbcClose(channel) srt <-
2007 Jun 28
4
Sweave bug? when writing figures / deleting variable in chunk
I have found a quite strange (to me) behaviour in Sweave. It only occurs in the following situation: 1. define a variable in one chunk 2. use it within a subsequent figure-generating chunk 3. delete it at the end of that same chunk Then the Sweave driver chokes, not finding the variable name when generating the figure Example: % document bug2.Rnw \documentclass{article} \usepackage{Sweave}
2016 Sep 02
2
Samba-CUPS interface
Hi, One of our Samba server (4.4.5) is a print server with CUPS backend . In addition we are using a print management product that is itself a backend to cups. Everything works well, except that the document names that are transmitted in the chain is of the form : "smbprn.00000648 MyDocument.pdf" . I guess that the prefix smbprn.00000648 is the samba job ID that is concatenated to the
2003 Apr 09
1
'Apparently' trouble with name spaces and Sweave...
Ben Bolstad experienced something odd while running R CMD check over a package of ours using r-devel (yesterday's fresh). He tracked down the problem to a vignette calling 'library(MASS)'. Please kindly ignore if this is a known (and temporary) issue. Laurent ----- Forwarded message from Ben Bolstad <bolstad@stat.berkeley.edu> ----- Return-Path:
2003 Apr 02
2
pacf.mts
I am getting the following: *** Weave Errors *** Error in driver$runcode(drobj, chunk, chunkopts) : Error in eval(expr, envir, enclos) : couldn't find function "pacf.mts" *** Source Errors *** Error in eval(expr, envir, enclos) : couldn't find function "pacf.mts" make[1]: *** [checkVignettes] Error 1 I don't really understand the new namespace mechanism,
2012 Jan 17
1
Error predict with lda and cross validation
Hi, I use the lda function from the MASS package to classify some samples according to some chemical properties. If I run lda without cross validation all is ok but, if I run lda with cross validation, the R consol say: resLDA <- ldaRedOx <- lda(Activity ~ TRedOx[,1:6], CV=TRUE, data=dfDataRedOx, subset=train) predLDA <- predict(resLDA, newdata=dfDataRedOx[-train,])$class >
2012 Feb 22
1
xtable prcomp
Hi, I need to export to LaTex the summary of a PCA. So: myPCA <- prcomp(myDF) mySummary <- summary(myPCA) # print(xtable(mySummary)) How can I export to LaTeX not all the summary but only the first nPCs?? Best Riccardo
2016 Sep 05
1
Samba-CUPS interface
2016-09-04 15:22 GMT+04:00 Andrew Bartlett <abartlet at samba.org>: > On Fri, 2016-09-02 at 11:59 +0400, henri transfert via samba wrote: > > Hi, > > > > One of our Samba server (4.4.5) is a print server with CUPS backend . > > In > > addition we are using a print management product that is itself a > > backend > > to cups. > > > >
2012 Nov 07
2
Absolute path in gdata library
Dear list, I have some .xls files that I need to read into R. I am able to do so using read.xls in the gdata package, however the helper functions sheetNames and sheetCount fail. This is the error: Unable to open file '~/SharedFolder/MyData/mydata.xls'. Warning: running command ''/usr/bin/perl' '/usr/local/lib/R/site-library/gdata/perl/sheetCount.pl'
2011 Sep 26
1
SVM accuracy question
Hi, I'm working with support vector machine for the classification purpose, and I have a problem about the accuracy of prediction. I divided my data set in train (1/3 of enteire data set) and test (2/3 of data set) using the "sample" function. Each time I perform the svm model I obtain different result, according with the result of the "sample" function. I would like
2005 Jul 06
4
Tempfile error
Dear List: I am encountering an error that I can't resolve. I'm looping through rows of a dataframe to generate individual tex files using Sweave. At random points along the way, I encounter the following error Error in file() : cannot find unused tempfile name At which point Sweave halts. There isn't a logical pattern that I can identify in terms of why the program stops at
2016 Sep 04
0
Samba-CUPS interface
On Fri, 2016-09-02 at 11:59 +0400, henri transfert via samba wrote: > Hi, > > One of our Samba server (4.4.5) is a print server with CUPS backend . > In > addition we are using a print management product that is itself a > backend > to cups. > > Everything works well, except that the document names that are > transmitted > in the chain is of the form :
2009 Jan 23
1
loading RBlas.dll
hi everyone, Im implementing a new RBlas dll but just for optimising sake i need to know how and WHERE (which source code) RBlas gets loaded. there is a call to loadlibrary() in dynload.c BUT it seems this is not the function that is loading Rblas. how do i know this? well i added the code :(just after the loadlibrary() call) /*********************************************/ /*this
1999 Feb 21
8
Samba Questions
Hello, I have couple questions regarding Samba. 1. In the smb.conf, what does "security = DOMAIN" mean? 2. I would like to samba into the firewall so that people can't connect through TCP/IP. What port (tcp or udp) does samba use? 3. How can I prompt user for entering login name instead of using Win95 login name for Win95 users? That's all for now. Thanks for your help.