search for: markleeds

Displaying 20 results from an estimated 159 matches for "markleeds".

2011 Nov 07
1
close but no cigar
...re ? I definitely don't know how to tell R that it needs to load the utils package since I don't seem to have access to the package myself. Thanks for any enlightenment and my apologies for the false SUCCESS earlier. Mark :~/R/2.14/src/library/Recommended> dir total 6748 -rw-rw-r--. 1 markleeds markleeds 3574 Nov 7 10:11 Makefile.in -rw-rw-r--. 1 markleeds markleeds 1661 Nov 7 10:11 Makefile.win -rw-rw-r--. 1 markleeds markleeds 30402 Nov 7 10:20 KernSmooth_2.23-6.tar.gz -rw-rw-r--. 1 markleeds markleeds 466772 Nov 7 10:20 MASS_7.3-16.tar.gz -rw-rw-r--. 1 markleeds markleeds...
2011 Nov 06
2
still working on building R from source
...ks for all the help. From past experiences, I knew it was going to be a long road and it has been but I'm getting close. Mark END OF make check OUTPUT #========================================================================================================= make[2]: Entering directory `/home/markleeds/R/2.14/build/tests' running regression tests ... make[3]: Entering directory `/home/markleeds/R/2.14/build/tests' running code in '../../tests/reg-tests-1a.R' ... OK running code in '../../tests/reg-tests-1b.R' ... OK running code in '../../tests/reg-tests-2.R' ... O...
2009 Mar 31
1
error when going through Alan Lenarcic's package Tutorial
...? BLOCK "StringFileInfo" ? ? ? BEGIN ? ? ? ? ? ? ? BLOCK "040904E4" ? ? ? ? ? ? ? BEGIN ? ? ? ? ? ? ? ? ? ? ? VALUE "FileDescription", "DLL for R package `test Version: 0.0 Date: 2009-03-31 Title: Test Package Author: Mark Leeds <[1]markleeds at verizon.net> Maintainer: Mark Leeds <[2]markleeds at verizon.net> Depends: R (>= 2.8.1) Description: A set of demonstration functions using C, C++, R-code License: GPL (version 2 or later)'\0" ? ? ? ? ? ? ? ? ? ? ? VALUE "FileVersion", "unknown...
2008 Sep 23
4
perl expression question
If I have the string below. does someone know a regular expression to just get the "BLC.NYSE". I bought the O'Reilley book and read it when I can and I study the solutions on the list but I'm still not self sufficient with these things. Thanks. stock<-"/opt/limsrv/mark/research/equity/projects/testDL/stock_data/fhdb/US/BLC.NYSE"
2009 Aug 05
4
A question regarding R scoping
I have a question related to scoping. Suppose we have 2 functions: f1 = function(i){i = 1} f2 = function(n){ i = length(n) f1(i) } In other words, I would like i=1 regardless of n. Is this possible without having f1 in the body of f2? Thanks in advance!
2009 Nov 13
4
processing log file
Dear all, I'm trying to process a log file which logs the date, the username and the computer number accessed. The table looks like this: >table.users          Date UserName Machine 1  2008-11-25     John     641 2  2008-11-25    Clive     611 3  2008-11-25   Jeremy     641 4  2008-11-25     Walt     722 5  2008-11-25     Tony     645 6  2008-11-26     Tony     645 7  2008-11-26    
2006 Jul 06
2
[Fwd: as.data.frame question]
>From: markleeds at verizon.net >Date: Thu Jul 06 13:16:42 CDT 2006 >To: markleeds at verizon.net >Subject: as.data.frame question >hi all : as a result of an lapply command, >i get the following output. > > >$AAA > 000106 000107 000108 > 5.5 6.5 3.0 > >$BBB...
2009 Apr 01
1
problems with package tutorial
...? ? BLOCK "StringFileInfo" ? ? ? BEGIN ? ? ? ? ? ? ? BLOCK "040904E4" ? ? ? ? ? ? ? BEGIN ? ? ? ? ? ? ? ? ? ? ? VALUE "FileDescription", "DLL for R package `test Version: 0.0 Date: 2009-03-31 Title: Test Package Author: Mark Leeds <markleeds at verizon.net> Maintainer: Mark Leeds <markleeds at verizon.net> Depends: R (>= 2.8.1) Description: A set of demonstration functions using C, C++, R-code License: GPL (version 2 or later)'\0" ? ? ? ? ? ? ? ? ? ? ? VALUE "FileVersion", "unknown\0&...
2006 Jun 16
2
scatterplot but a little tricky
i have two vectors of numbers x and y and of course i can do the standard scatterplot plot(x,y) and it looks fine. But, I was hoping there was a way to do the scatterplot so that each point plotted is a number where the number represents the index in the dataset. so, if it was x[3] and y[3], then the point would be a 3 or if it was x[4] and y[4], then the point would be a 4 etc. i doubt this is
2006 Jul 05
2
apologes if you already saw this :efficiency question
hi everyone : i'm not sure if my previous mail about this got sent. i was typing and erroneosuyl hit a button and lost what i was typing. anyway, i have the code below ( it works ) in which i run through the rows of a dataframe, taking out the first two fields which are characters strings ( with some extra spacing so i yuse gsub) and appending these character strings to a list so that i can
2009 Mar 12
0
FW: Re: Writing xls - multiple sheets
Jorge was kind enough to point out that I made a mistake in referencing gabor's solution. See below. Thanks Jorge. -------- Begin forwarded message -------- Subject: Re: [R] Writing xls - multiple sheets Date: 3/12/2009 6:03:13 PM From: Jorge Ivan Velez To: markleeds@verizon.net Hi Mark, Yes, he did (as always), but it is not what Ferry needed. Here is Gabor's post: http://www.nabble.com/read.xls-and-name-of-worksheet-to22477965.html#a22477965 <http://www.nabble.com/read.xls-and-name-of-worksheet-to22477965.html#a22477965> <http://www.na...
2009 Feb 11
2
error in my previous message
...1,nrow=10) rownames(temp2) <- c("a","b","c","d","e","f","g","h","i","j") print(temp2) temp2 <- as.matrix(temp2[order(temp2[,1,drop=FALSE]),]) print(temp2) On Wed, Feb 11, 2009 at 1:18 AM, markleeds at verizon.net wrote: > this is a bad question but I can't figure it out and i've tried. if i > sort the 2 column > matrix , temp1, by the first column, then things work as expected. > But, > if I sort the 1 column matrix, temp2, then it gets turned coerced to a > vect...
2009 Jun 01
1
Fwd: subset dataframe/list
--- the forwarded message follows --- -------------- next part -------------- An embedded message was scrubbed... From: "Cecilia Carmo" <cecilia.carmo at ua.pt> Subject: Re: [R] subset dataframe/list Date: Mon, 01 Jun 2009 21:33:15 +0100 Size: 3657 URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090601/921f7638/attachment-0002.mht>
2008 Jul 05
3
trying to superimpose a line plot onto a histogram
Hello, I'm trying to superimpose a line plot onto a histogram but I'm not having any luck. I've attached the dataset. What I did was: > hist(data,freq=F) Now I'm trying to superimpose the following points with a line connecting them onto the histogram: x y 100 0.535665393824959 200 0.212744329736556 300 0.0844933242968584 400 0.0335572838043417 500
2009 Feb 05
4
eval and as.name
I'm sure there is a more general way to ask this question but how do you use the elements of a character vector as names of objects in an expression? For example, say you have: a = c(1,3,5,7) b = c(2,4,6,8) n=c("a","b") and you want to use the names a and b in a function (e.g. sum) sum(eval(as.name(n[1])),eval(as.name(n[2]))) works but what is a simpler way to
2015 Apr 14
1
httpuv not installing on fedora 19
No, that's not it. The error is that you don't have the g++ binary installed. Undo that change and yum install gcc-c++. On Apr 14, 2015 8:31 AM, Mark Leeds <markleeds2 at gmail.com> wrote: > > Hi: I'm on fedora 19 ( I know. I'm behind : ) and I'm trying to install the > httpuv library > which depends on Rcpp. When I try to install it with dependencies = TRUE, > I get the following error. ( I'm only showing the end of the inst...
2018 Sep 22
2
installing tkrplot
...at-security -D_FORTIFY_SOURCE=2 -g -c tcltkimg.c -o tcltkimg.o tcltkimg.c:3:16: fatal error: tk.h: No such file or directory #include <tk.h> ^ compilation terminated. make: *** [tcltkimg.o] Error 1 ERROR: compilation failed for package 'tkrplot' * removing '/home/markleeds/research/R/Rlibs/library/tkrplot' * restoring previous '/home/markleeds/research/R/Rlibs/library/tkrplot' :~/research/R/Rlibs/library> Clearly, I must be missing the tk.h file but I don't know where to get it nor where to put it. Thanks a lot. #=================================...
2006 Jun 20
2
strange use of sapply
I've tried and give up. I have a matrix of say 200 columns and 400 rows. For each odd ( or even i suppose if i wanted to )column, I want to know the number of rows in which the value is greater than zero. So, I did sapply(tempMatrix,2,function(x) sum( x > 0 )) this almost works but i don't know how to tell it to only do the odd columns. my guess is , like everything else in R, this
2008 May 01
2
regular expression question
I have strings of the form TICKER.GGG.XXXXXX.dat but GGG is not always three characters so I can't use substr to pull it out of the string. Could someone tell me how to use sub to pull out the GGG but more generally the string between the dot after the R in TICKER and the next dot. I still don't have a very good understanding of regular expressions but I'm trying to get that
2009 Mar 03
4
regular expression question
can someone show me how to use a regular expression to break the string at the bottom up into its three components : (-0.791,-0.263] (-38,-1.24] (0.96,2.43] I tried to use strplit because of my regexpitis ( it's not curable. i've been to many doctors all over NYC. they tell me there's no cure ) but it doesn't work because there also dots inside the brackets. Thanks.