Hi Savio,

On 2 October 2006 at 17:52, Savio Ramos wrote:
| Subject: r-base: Symbolic link to R is wrong
| Package: r-base
| Version: 2.4.0~rc20060926-1
| Severity: normal
| 
| *** Please type your report below this line ***
| r-base cannot find R. Error is:

That sentnce makes no sense. R-base is not a command. R is a command, and it
is in the path, so it is typically found.
 
| ERROR: LaTeX Error: File `Sweave.sty' not found.

That *could* be a system, but it does works on my system(s) at home and work:

[EMAIL PROTECTED]:~> mkdir /tmp/sweaveTest
[EMAIL PROTECTED]:~> cd /tmp/sweaveTest/
[EMAIL PROTECTED]:/tmp/sweaveTest> cp -vax 
/usr/lib/R/library/utils/Sweave/Sweave-test-1.Rnw .
`/usr/lib/R/library/utils/Sweave/Sweave-test-1.Rnw' -> `./Sweave-test-1.Rnw'
[EMAIL PROTECTED]:/tmp/sweaveTest> echo "library(tools); 
Sweave(\"Sweave-test-1\")" | R --slave
Writing to file Sweave-test-1.tex
Processing code chunks ...
 1 : print term verbatim
 2 : term hide
 3 : echo print term verbatim
 4 : term verbatim
 5 : echo term verbatim
 6 : echo term verbatim eps pdf
 7 : echo term verbatim eps pdf

You can now run LaTeX on 'Sweave-test-1.tex'
[EMAIL PROTECTED]:/tmp/sweaveTest> ls -l
total 384
-rw-r--r-- 1 edd edd  89099 Oct  2 17:21 Rplots.ps
-rw-r--r-- 1 edd edd  85411 Oct  2 17:21 Sweave-test-1-006.eps
-rw-r--r-- 1 edd edd 183272 Oct  2 17:21 Sweave-test-1-006.pdf
-rw-r--r-- 1 edd edd   4667 Oct  2 17:21 Sweave-test-1-007.eps
-rw-r--r-- 1 edd edd   3945 Oct  2 17:21 Sweave-test-1-007.pdf
-rw-r--r-- 1 edd edd   1550 Sep 28 20:37 Sweave-test-1.Rnw
-rw-r--r-- 1 edd edd   2901 Oct  2 17:21 Sweave-test-1.tex
[EMAIL PROTECTED]:/tmp/sweaveTest>                                              
 
 
| The symbolic link wrong is:
| 
| R -> ../../../../lib/R/share/texmf
| 
| 
| The correct one is:
| 
| R -> /usr/share/R/share/texmf/

I am not sure what you are trying to say here.
 
Sweave.sty is in the right place:

[EMAIL PROTECTED]:/tmp/sweaveTest> ls -l /usr/share/R/share/texmf/Sweave.sty
-rw-r--r-- 1 root root 761 Sep 28 20:37 /usr/share/R/share/texmf/Sweave.sty
[EMAIL PROTECTED]:/tmp/sweaveTest> latex Sweave-test-1.tex | grep Sweave.sty
(/usr/share/R/share/texmf/Sweave.sty

It is of course possible that is something is still wrong on your system,
maybe from an earlier update.   Could you try to describe exactly what
command you were running, and what error message you were getting, and maybe
provide a listing of the relevant directory?

Thanks, Dirk

| 
| 
| 
| -- System Information:
| Debian Release: testing/unstable
|   APT prefers unstable
|   APT policy: (500, 'unstable'), (500, 'testing')
| Architecture: i386 (i686)
| Shell:  /bin/sh linked to /bin/bash
| Kernel: Linux 2.6.17-2-486
| Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
| 
| Versions of packages r-base depends on:
| ii  r-base-core           2.4.0~rc20060926-1 GNU R core of statistical 
computin
| ii  r-recommended         2.4.0~rc20060926-1 GNU R collection of recommended 
pa
| 
| Versions of packages r-base recommends:
| ii  r-base-html           2.4.0~rc20060926-1 GNU R html docs for statistical 
co
| ii  r-base-latex          2.4.0~rc20060926-1 GNU R LaTeX docs for statistical 
c
| 
| -- no debconf information
| 
| -- 
| Sávio Martins Ramos -  Arquiteto
| Rio de Janeiro  ICQ 174972645
| Pirataria não! Seja livre: Linux
| http://www.debian.org
| 

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison

Reply via email to