search for: spencerg

Displaying 20 results from an estimated 26 matches for "spencerg".

Did you mean: spencer
2005 Jun 29
2
How to convert "c:\a\b" to "c:/a/b"
I couldn't resist adding a more literal answer unback <- function(x) { chars <- unlist(strsplit(deparse(x),"")) chars <- chars[-c(1,length(chars))] paste(gsub("\\\\","/",chars),collapse="") } unback("\n") | David Duffy (MBBS PhD) ,-_|\ | email: davidD at qimr.edu.au ph:
2005 Jun 29
2
How to convert "c:\a\b" to "c:/a/b"
I couldn't resist adding a more literal answer unback <- function(x) { chars <- unlist(strsplit(deparse(x),"")) chars <- chars[-c(1,length(chars))] paste(gsub("\\\\","/",chars),collapse="") } unback("\n") | David Duffy (MBBS PhD) ,-_|\ | email: davidD at qimr.edu.au ph:
2008 Dec 16
2
"could not find function" error in "R CMD check"
..., and I in San Jose, CA, get this same error. I replicated it with a fresh, anonymous checkout from R-Forge (svn checkout svn://svn.r-forge.r-project.org/svnroot/fda). With this, I did "R CMD build pkg", then "R CMD check fda_2.1.0.tar.gz", with the following result: D:\spencerg\statmtds\splines\fda\tmp\fda>R CMD check fda_2.1.0.tar.gz * checking for working pdflatex ... OK * using log directory 'D:/spencerg/statmtds/splines/fda/tmp/fda/fda.Rcheck' * using R version 2.8.0 (2008-10-20) * using session charset: ISO8859-1 * checking for file 'fda/DESCRIPTION...
2008 Nov 01
1
cat: ./R/Copy: No such file or directory
...: of: No such file or directory cat: create.fourier.basis.R: No such file or directory make: *** [Rcode0] Error 1 ---------- Making package fda ------------ adding build stamp to DESCRIPTION installing NAMESPACE file and metadata make[2]: *** No rule to make target `R/Copy', needed by `D:/spencerg/statmtds/splines/fda/RForge/fda/fda.Rcheck/fda/R/fda'. Stop. make[1]: *** [all] Error 2 make: *** [pkg-fda] Error 2 *** Installation of fda failed *** Removing 'D:/spencerg/statmtds/splines/fda/RForge/fda/fda.Rcheck/fda' Thanks for any suggestions. I have a "*.tar.g...
2008 May 06
2
gfortran: Command not found
...', which is in the path. This was on a package that I built successfully in January under R 2.6.2. Now with R 2.7.0, I can't get it to work. Thanks for your help. Spencer Graves ###################### Contents of "00install.out": installing R.css in D:/spencerg/statmtds/splines/DierckxSpline/DierckxSpline.Rcheck ---------- Making package DierckxSpline ------------ adding build stamp to DESCRIPTION installing NAMESPACE file and metadata making DLL ... gfortran -O3 -c bispev.f -o bispev.o make[3]: gfortran: Command not found make[3]: *** [bispev.o...
2008 Oct 24
0
Problem with "plflatex wrapper.tex"
...urn> for immediate help. ... l.151 ... Gentleman(1996)]{R:Ihaka+Gentleman:1996} ? ################################## Complete copy of "Command Prompt" contents: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\spencerg>d: D:\>cd spencerg D:\spencerg>cd statmtds D:\spencerg\statmtds>cd R D:\spencerg\statmtds\R>cd Rnews D:\spencerg\statmtds\R\Rnews>pdflatex wrapper.tex This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7) Running pdftex... This is pdfTeX, Version 3.1415926-1...
2009 Aug 09
3
odbcConnectExcel on non-Windows?
Hello: What should I do regarding code to write an Excel file in a non-Windows platform? The "sos" package [new version of "RSiteSearch"] on R-Forge includes "writeFindFn2xls", which starts with "require(RODBC)". The next line calls "odbcConnectExcel". This works under Windows but fails under Linux and MacOS. What
2009 Jan 17
2
DierckxSpline segfault
...the FITPACK routines written by Paul Dierckx. The original Fortran is available from http://www.netlib.org/dierckx License: GPL (>= 2) Depends: R (>= 2.4.0), stats, lattice, PolynomF Suggests: fda, splines Packaged: Sun Jan 11 13:08:12 2009; spencerg Built: R 2.8.1; i486-pc-linux-gnu; 2009-01-17 10:21:01; unix --- I'm ready to provide any additional info, Andrey
2010 Feb 10
2
write.zip?
Can one write a zip file from R? I want to create a file with a name like "dat.zip", being a zip file containing "dat.csv". I can create "dat.csv", then call "system('zip -r9 dat.zip dat.csv')". Is there a better way? I can use "gzfile" to write a gz file, but I don't know how to give that a structure that would
2009 Sep 06
3
Video Analysis?
What software exists for digitizing video to quantify the motion of specific features in the image? I might be willing to use something that's NOT in R, though I'd prefer something in R (or at least with an R intereface). Thanks, Spencer Graves
2008 Mar 23
2
problem with 'install.packages'
...ent type 'application/zip' length 214769 bytes (209 Kb) opened URL downloaded 209 Kb package 'mvtnorm' successfully unpacked and MD5 sums checked Warning: cannot remove prior installation of package 'mvtnorm' The downloaded packages are in C:\Documents and Settings\spencerg\Local Settings\Temp\RtmpghgskA\downloaded_packages updating HTML package descriptions > library(mvtnorm) Error in library(mvtnorm) : there is no package called 'mvtnorm' > sessionInfo() R version 2.6.2 (2008-02-08) i386-pc-mingw32 locale: LC_COLLATE=English_United States.1252;LC_...
2006 Nov 24
1
Writing R Extensions manual?
...ng a line in the "Writing R Extensions" manual. Specifically, the sample "DESCRIPTION" file includes the following: Depends: R (>= 1.8.0), nlme When I ran "R CMD check", I got the following message in "00install.out": installing R.css in D:/spencerg/statmtds/RTimeSeries/Durbin/StateSpaceDK.Rcheck unsupported operator in dependence "R (>=2.4.0), zoo" ---------- Making package StateSpaceDK ------------ adding build stamp to DESCRIPTION Error: Invalid DESCRIPTION file Malformed Depends or Suggests or Imports or Enhances field. O...
2009 Jun 30
1
install.packages with R 2.9.1 under Vista?
What do I need to do to get "install.packages" to work properly for me in R 2.9.1 under Vista? Currently, install.packages in Rgui 2.9.1 by default goes to "C:\\Users\\sgraves\\Documents/R/win-library/2.9". This is a problem for me, because R running under Emacs does not currently look there. I made the mistake last night of first installing R 2.9.1 in the
2009 Jul 09
1
Number of functions, data sets, ..., in a package?
Hello: How can one get the number of functions and data sets in a package? I've written a function "PackageSum2" to get an extended package summary for an installed package. I get much of what I want from the object returned by "help(package=pkgName)". For example, "help(pac=...)$info[[1]]" is a character vector giving author, maintainer,
2009 Apr 22
0
Rép : How to compare parameters of non linear fitting curves - COMPLETE REPLY -
Oups, I sent the email by error, as I was still writing my reply… Spencer, Le 22-avr.-09 à 03:33, spencerg a écrit : > Is your first model a special case of the second with eta1 = 0? > If yes, what about using 2*log(likelihood ratio) being approximately > chi-square? Yes, the first model is a special case of the second with eta1=0… Could you give me more explanation about this metho...
2009 May 26
2
using lsoda() and nls() together
...## y is the vector of real data SSD<-function(K1) { sum((y-func(K1))^2) } data<-seq(1.5,2.1,,100) plot(data,sapply(data,SSD),type="l") -------------------------------------------------------------- Regards/Cordialement Benoit Boulinguiez -----Message d'origine----- De : spencerg [mailto:spencer.graves at prodsyse.com] Envoy? : vendredi 15 mai 2009 05:28 ? : Benoit Boulinguiez Cc : dieter.menne at menne-biomed.de; r-help at r-project.org Objet : Re: [R] ode first step Have you looked at the vignette in the deSolve package? (deS <- vignette('comp...
2009 May 07
4
proposed changes to RSiteSearch
Can someone in R Core please take a look at the attached patches to RSiteSearch() and its help page? I guess Jon is planning some changes on his site. Jon: could you elaborate on what the patch does? Best, Andy Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its
2009 May 20
10
How to google for R stuff?
Hi! I'm new to R programming, though I've been programming in other languages for years. One thing I find most frustrating about R is how difficult it is to use Google (or any other search tool) to look for answers to my R-related questions. With languages with even slightly more distinctive names like Perl, Java, Python, Matlab, OCaml, etc., usually including the name of the language
2009 Apr 22
2
Exporting objects plotted with plot3d() - rgl package
...rame (Gundala Viswanath) > 123. error when using vcovHC() (oliviax) > 124. Re: How to extract integer in a data frame (Marc Schwartz) > 125. Re: How to extract integer in a data frame (Duncan Murdoch) > 126. Re: How to compare parameters of non linear fitting curves > (spencerg) > 127. using Rmath in c-functions of R packages (Volodymyr Melnykov) > 128. Re: using Rmath in c-functions of R packages (Duncan Murdoch) > 129. Re: Quality control and possible QC in R book? (C.H.) > 130. Re: plotting with R (Erik Iverson) > 131. memory.limit (Derek Steph...
2009 May 21
2
Naming a random effect in lmer
Dear guRus: I am using lmer for a mixed model that includes a random intercept for a set of effects that have the same distribution, Normal(0, sig2b). This set of effects is of variable size, so I am using an as.formula statement to create the formula for lmer. For example, if the set of random effects has dimension 8, then the lmer call is: Zs<-