similar to: 'Apparently' trouble with name spaces and Sweave...

Displaying 20 results from an estimated 400 matches similar to: "'Apparently' trouble with name spaces and Sweave..."

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,
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")
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}
2006 Nov 24
1
How to find AUC in SVM (kernlab package)
Dear all, I was wondering if someone can help me. I am learning SVM for classification in my research with kernlab package. I want to know about classification performance using Area Under Curve (AUC). I know ROCR package can do this job but I found all example in ROCR package have include prediction, for example, ROCR.hiv {ROCR}. My problem is how to produce prediction in SVM and to find
2010 May 13
1
What's data() for?
Hi there, >library(faraway) >pima pregnant glucose diastolic triceps insulin bmi diabetes age test 1 6 148 72 35 0 33.6 0.627 50 1 2 1 85 66 29 0 26.6 0.351 31 0 >data(pima) >pima pregnant glucose diastolic triceps insulin bmi diabetes age test 1 6 148 72 35 0 33.6
2005 Mar 18
1
How to show which variables include in plot of classification tree
Dear all For my research, I am learning classification now. I was trying some example about classification tree pakages, such as tree and rpart, for instance, in Pima.te dataset have 8 variables (include class=type): library(rpart) library(datasets) pima.rpart <- rpart(type ~ npreg+glu+bp+skin+bmi+ped+age,data=Pima.te, method='class') plot(pima.rpart, uniform=TRUE) text(pima.rpart)
2004 Mar 11
0
(fwd from Bob.Jacobs@dot.pima.gov) Daemon Errors
----- Forwarded message from Bob Jacobs <Bob.Jacobs@dot.pima.gov> ----- From: Bob Jacobs <Bob.Jacobs@dot.pima.gov> Subject: Daemon Errors Date: Thu, 11 Mar 2004 15:58:07 -0700 To: "'samba-csadmin@samba.org'" <samba-csadmin@samba.org> X-Mailer: Internet Mail Service (5.5.2653.19) X-Spam-Status: No, hits=-0.9 required=3.2 tests=BAYES_30 autolearn=ham
2005 Jun 02
3
How to change all name of variables
Dear R-helpers, First I apologize if my question is quite simple I have a large datasets which more 100 variables. For a research I need to change all name of variables with add one or more letters on each variables. For example, > data(Pima.tr) > Pima.tr[1:5,] npreg glu bp skin bmi ped age type 1 5 86 68 28 30.2 0.364 24 No 2 7 195 70 33 25.1 0.163 55 Yes 3 5
2008 Dec 23
2
solaris install
Get the following error on Sun Solaris 10, Sparc (Ultra-5) ./tools/wineinstall Wine Installer v1.0 ./tools/wineinstall: !: not found ./tools/wineinstall: : cannot execute ./tools/wineinstallgrep: RE error 41: No remembered search string. ./tools/wineinstall: test: ] missing : Name: not found ./tools/wineinstall: wine: not found Running configure... ./tools/wineinstall: !: not found We need to
1998 Dec 17
0
Cannot read .rda data
Below the line is (slightly edited, to remove irrelevant stuff) the transcript of a session in R. Seems that data is read in, but I cannot print or use it. I have looked inside the data directory of MASS, and see that the format of the data is different than the one from other libraries I have. It may be that this particular format is not read correctly, or my setup may be faulty. I
2003 May 22
1
faraway package installation failed (PR#3076)
Full_Name: José Otero Version: Version 1.5.0 (2002-04-29) OS: Redhat 7.3 Submission from: (NULL) (192.187.16.164) Hi: Installation of package faraway as root, from tarbal: R CMD INSTALL ./faraway.tar.gz ERROR: cannot extract package from './faraway.tar.gz' idem, from zipped package: R CMD INSTALL faraway.zip gzip: faraway.zip has more than one entry--rest ignored ERROR: cannot
2012 Apr 17
3
Sweave problem after R update version
I would notice this error compiling a Sweave document after I updated R from version 2.14.2 to 2.15.0: Error in driver$finish(drobj) : the output file 'MyDocument.tex' has disappeared Calls: <Anonymous> -> do.call -> <Anonymous> -> <Anonymous> Execution halted Do you have any suggestion? Regards Riccardo Sent from iPod [[alternative HTML version deleted]]
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
2008 Jun 06
5
request: a class having max frequency
Dear R users I have a very basic question. I tried but could not find the required result. using dat <- pima f <- table(dat[,9]) > f 0 1 500 268 i want to find that class say "0" having maximum frequency i.e 500. I used >which.max(f) which provide 0 1 How can i get only the "0". Thanks and best regards Muhammad Azam Ph.D. Student Department of
2007 Jun 15
2
sma package, and MouseArray data set
Hi all I have just downloaded the sma package from CRAN. On installing on my linux machine, I get the message > library(sma) > data(MouseArray) Warning message: file 'MouseArray.RData' has magic number 'RDX1' Use of save versions prior to 2 is deprecated Hereafter, MouseArray is not found: > MouseArray Error: object "MouseArray" not found We were
2008 Jun 09
1
nonlinear fitting on many voxels
After many months, I am now banging my head against the wall because I can't find a solution to this seemingly trivial problem.&nbsp; Any help would be appreciated: I am trying to apply a nonlinear fitting routine to a 3D MR image on a voxel-by-voxel basis.&nbsp; I've tested the routine using simulated data and things went well.&nbsp; As for the real data, the fitting routine
2005 Feb 15
1
Install icecast as user on remote server
Hi Im trying to install icecast 2.2.0 on a remote server where I only have a user account (no sudo) Is there a way to make and install Icecast i my home directory.? My ISP is only willing to install 1.3, (which is already installed) and he says that I have to build my own librarys and compile Icecast in my home directory if I want to run the latest version. The server is running Debian so we
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