Re: [R] how to get no of pdf files in a particular directory

2008-08-18 Thread Paul Roebuck
On Mon, 18 Aug 2008, Kurapati, Ravichandra (Ravichandra) wrote: > Let's say, > > Dir<-"/var/www/html/celnet/users/cxadmin/FlowDuration_DataVolume/fld_01_ > 08_18_08" > > There will be pdf and/or csv files. > I want to know how many *.pdf files are there in that directory. > > How can I get using R

Re: [R] cutting out numbers from vectors

2008-07-31 Thread Paul Roebuck
On Thu, 31 Jul 2008, calundergrad wrote: > i have a vector with values similar to the below text > [1] 001-010-001-0 > > I want to get rid of all leading zeroes. > for example i want to change the values of the vector > so that [1] 001-010-001-0 becomes [1] 1-010-001-0. > > Another example > [1]08

Re: [R] Remove Even Number from A Vector

2008-07-31 Thread Paul Roebuck
On Fri, 1 Aug 2008, Gundala Viswanath wrote: > How can I remove the even number from the following vector > > > x > [1] 4 5 6 8 17 20 21 22 23 25 26 31 35 36 38 40 41 42 > 43 > [20] 44 50 74 75 82 84 89 90 91 95 96 97 100 101 102 118 119 121 > 122 > [39] 123 13

[R] vignette help

2008-05-27 Thread Paul Roebuck
Could someone please point me to where information about the two entries %\VignetteDepends{} and %\VignettePackage{} are documented? I'm getting an error with %\VignetteDepends{} with my package name in braces. Looking at the vignettes on my system, some include the package name and some don't. Sh