Re: [R] Extracting Width and Length of Each Shape in EPS File

2014-04-18 Thread Jeff Newmiller
How are we supposed to know what you are capable of? Regardless of the answer to that, I strongly suspect that you would not find that the effort required would yield a result worth your effort. R is really an interpreted language, so your ".exe" would just be calling the R interpreter for you..

Re: [R] Extracting Width and Length of Each Shape in EPS File

2014-04-18 Thread Muhammad Abdur Rehman Khawaja
Can I convert above code into .exe? On Fri, Apr 18, 2014 at 4:53 PM, Muhammad Abdur Rehman Khawaja < kh.m.a.reh...@gmail.com> wrote: > Thank you very much > > > > > > On Thu, Apr 17, 2014 at 4:31 AM, Paul Murrell wrote: > >> Hi >> >> Here is a demonstration that might give you some ideas ... >>

Re: [R] Extracting Width and Length of Each Shape in EPS File

2014-04-18 Thread Muhammad Abdur Rehman Khawaja
Thank you very much On Thu, Apr 17, 2014 at 4:31 AM, Paul Murrell wrote: > Hi > > Here is a demonstration that might give you some ideas ... > > library(grImport) > PostScriptTrace("flower.ps", "flower.xml") > flower <- readPicture("flower.xml") > > grid.newpage() > grid.picture(flower) > > #

Re: [R] Extracting Width and Length of Each Shape in EPS File

2014-04-16 Thread Paul Murrell
Hi Here is a demonstration that might give you some ideas ... library(grImport) PostScriptTrace("flower.ps", "flower.xml") flower <- readPicture("flower.xml") grid.newpage() grid.picture(flower) # Extract each path, then look at the 'summary' for the path for (i in 1:flower@summary@numPaths) {

Re: [R] Extracting Width and Length of Each Shape in EPS File

2014-04-16 Thread Jeff Newmiller
Have you read the vignettes that accompany that package? You should also read the Posting Guide for this mailing list, as HTML email is not in general a good idea on this list. --- Jeff NewmillerThe

[R] Extracting Width and Length of Each Shape in EPS File

2014-04-16 Thread Muhammad Abdur Rehman Khawaja
Respected Fellows, I need little bit guidance regarding, how Can I Extract/Calculate/Measure width and length of each every shape in .eps file. EPS file is being generated from Adobe Illustrator. I have used grImport Library in R language to import eps file in R environment, but I couldn't understa