give it a bounding box.

On Windows, you can get it by hovering over the filename in
Windows Explorer.  If for example it says
  Dimensions: 183 x 50
then use
\includegraphics[bb=0 0 183 50]{filename.png}

Other operating systems will also be able to give you the information.

On Mon, Sep 20, 2010 at 11:05 PM, Tengfei Yin <yintengfei@gmail.com> wrote:

> HI dear all,
>
> Today I want to include graphics from outside in my sweave file by using
>
> \includegraphics
>
> in a .Rnw file.
>
> When I type M-n s, it's ok
> when I type M-n l, this give me a latex error message
>
> ! LaTeX Error: Cannot determine size of graphic in design.png (no
> BoundingBox).
>
> Any work around or suggestion for this kind of issues?
>
> Thanks
>
> Tengfei
>
>
>
> --
> Tengfei Yin
> MCDB PhD student
> 1620 Howe Hall, 2274,
> Iowa State University
> Ames, IA,50011-2274
> Homepage: www.tengfei.name
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> ESS-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>

	[[alternative HTML version deleted]]

