[R] [Sweave] string.prefix without hyphen-minus

2012-05-04 Thread julia . jacobson
Dear Sweave users, Could you help me to find a way to place Sweave output files in a subdirectory of the currentfolder without giving them a subname? If the option "prefix.string=foo/" is used, all files are placed in this folder, but begin with an hyphen-minus, which makes it difficult to work

Re: [R] RODBC Error Code 202 on Mac OS X 10.6

2012-04-29 Thread julia . jacobson
Unfortunately, I'm not really making any progresses, despite a lot of effort. I've compiled R on Mac OS X for myself using MacPorts and the error is now "state 28000, code 201" which is failed password authentification. __ R-help@r-project.org mailing li

[R] Sweave: Avoiding recompilation of figures

2012-04-26 Thread julia . jacobson
Hello everybody out there using Sweave, There are some complicated SQL queries and laborous calculations against large data included as R code chunks using Sweave in my LaTeX document. These code chunks create graphs that do not change most of the time, but they are of course recompiled every ti

Re: [R] RODBC Error Code 202 on Mac OS X 10.6

2012-04-26 Thread julia . jacobson
I thought that maybe installing the RODBC package from source might fix the problem: install.packages("RODBC",type="source") but to no success. RODBC still gives the same warning with the same error code and very little information to tackle the problem. > On Apr 25, 2012, at 10:03 AM, julia.jac

[R] RODBC Error Code 202 on Mac OS X 10.6

2012-04-25 Thread julia . jacobson
Hello everybody out there using the RODBC package, On my linux (unixODBC) and windows machines, I can successfully use the RODBC package to connect to a PostgreSQL databse. On my Mac Book running Mac OS X 10.6 (Intel 64bit architecture), I get the error "code 202" and message "?" when I try

[R] Sweave doesn't hand on width of special characters of Computer Modern fonts to LaTeX

2011-02-15 Thread Julia Jacobson
Hello R users, Using R, Sweave and the cmsyase.afm font it is possible to write LaTeX documents including R figures with text in the Computer Modern Fonts: \documentclass{article} \usepackage{Sweave} \begin{document} <>= CM <- Type1Font("CM", c(file.path("C:/texlive/2009/texmf-dist/font

[R] Sweave for inclusion of p value in a sentence of a LaTeX document

2010-08-07 Thread julia . jacobson
Dear R Users, I would like to include the p value in the results returned by the t.test function in a sentence of a LaTeX document. For this purpose, I use the following code (file.Rnw): \documentclass{article} \begin{document} The p value for my data was <>= x<-cbind(1,2,3) y<-cbind(3,4,5) t.

[R] Running Sweave directly from Windows command line

2010-08-06 Thread julia . jacobson
Hello everybody out there using R, When I try to run the command "R CMD Sweave file.Rnw" (R Version 2.11.1) on the command line of Windows 7, an error message tells me that the command "sh" is not known. I suppose that R is trying to use a shell script, which can't be interpreted using Windows.

[R] Configuration of host address for database access

2010-06-12 Thread julia . jacobson
Hello everybody, Whatever I use as the host address of my PostgreSQL database server, I always get a connection if I'm accessing the database from R on the same machine and none if I'm trying to do so from a remote client. PostgreSQL is running on a windows xp machine as the RDBMS, JDBC, R, DBI