[R] Inspecting C code in an R package

2011-06-11 Thread Layman123
Hello everyone, Trying to comprehend code of an R package, I encountered the problem that the interesting part of the function I'm inspecting is written in C-Code and called by .C(somename, ). Now I can't inspect the C-Code the function is calling since I can't find it in the folder of the

Re: [R] Inspecting C code in an R package

2011-06-11 Thread Layman123
Thank you Sarah for your quick answer! I've just downloaded the source package, but now I don't know in which file the C-Code is stored .C(somename,) is calling - there is no file with the name somename. How could one figure that out? -- View this message in context:

Re: [R] Inspecting C code in an R package

2011-06-11 Thread Layman123
Thank you! Of course, I will read the posting guidelines. A subscriber helped me via e-mail telling me to use the grep-command, that is type in: grep somename *.c. For Windows users it's: findstr somename *.c. -- View this message in context:

Re: [R] Shrink file size of pdf graphics

2011-05-22 Thread Layman123
Thank you very much for the tip! Using imagemagick i got an image of reasonable quality without making the file size that large. Regards Roman Von: quot;Philipp Pagel-5 [via R]quot; lt;ml-node+3537871-1637924423-125...@n4.nabble.comgt; Gesendet: 20.05.2011 09:50:42 An: Layman123 lt;romanhorn

[R] Shrink file size of pdf graphics

2011-05-19 Thread Layman123
Hi everyone, My data consists of a system of nearly 75000 roads, available as a shapefile. When I plot the road system, by adding the individual roads with 'lines' and store it as a pdf-file with 'pdf' I get a file of size 13 MB. This is way too large to add it in my LaTeX-document, because there

Re: [R] Shrink file size of pdf graphics

2011-05-19 Thread Layman123
Thank you all for the quick answers! I googled first instead of having the idea to search this forum... I'm using R 2.12.2 on a 32-bit Computer with windows installed. Up to this point I was trying to get the image the way I would like to have it, but didn't get fully satisfactory results. I

[R] fit a marked poisson process using a quadrature scheme with 'spatstat'

2011-04-28 Thread Layman123
Hello everyone, My data consists of marked points and several covariates, whereby the marks are the time points of the observations. The problem is, that one of the covariates is hard to handle as an image. This covariate represents the type of roads. As there aren't roads at every location of