similar to: Replace back slashes with forward slashes?

Displaying 20 results from an estimated 7000 matches similar to: "Replace back slashes with forward slashes?"

2012 Jun 10
1
Convert "\" to "/"?
Hello, All: I have for years copied an address like "C:\Program Files\R\R-2.15.0\library\MASS\scripts" from Windows Explorer into R, then manually replaced "\" with "/". I have a function to automate this added to the development version of "sos". However, it generates a warning in "R CMD check" ("parse error: unexpected
2012 May 20
4
write.xls
Hello, All: The "writeFindFn2xls" function in the "sos" package tries to write an Excel file with 3 sheets ('PackageSum2', 'findFn', 'call'). Unfortunately, it is often unable to do this because of configuration problems that are not easy to fix. I've found 3 contributed packages that provide facilities to write Excel files with
2013 Oct 11
3
Gaussian Quadrature for arbitrary PDF
Hi all, We know that Hermite polynomial is for Gaussian, Laguerre polynomial for Exponential distribution, Legendre polynomial for uniform distribution, Jacobi polynomial for Beta distribution. Does anyone know which kind of polynomial deals with the log-normal, Student抯 t, Inverse gamma and Fisher抯 F distribution? Thank you in advance! David [[alternative HTML version deleted]]
2013 Jul 01
1
tests conditioned on CRAN?
Hello: What is the recommended procedure for skipping long tests in "R CMD check --as-cran"? Some time ago, after a discussion on this list, I added the following function to the fda package: CRAN <- function (x = "_R_CHECK_TIMINGS_") { x. <- Sys.getenv(x) nchar(as.character(x.)) > 0 } However, it does not seem to be working
2011 Nov 13
1
issue using package sos
Issue with sos package I am now using R 2.14 and the sos package did work with 2.13 > library(sos) Loading required package: brew Attaching package: 'sos' The following object(s) are masked from 'package:JGR': installPackages The following object(s) are masked from 'package:utils': > library("sos"); findFn("random forest") found 253
2017 Jan 09
1
problem with print.generic(x)deparse(substitute(x))
Hi, Peter et al.: On 2017-01-09 4:24 AM, peter dalgaard wrote: > On 09 Jan 2017, at 10:53 , Spencer Graves <spencer.graves at prodsyse.com> wrote: > >> # Define an object of class 'dum' >> k <- 1 >> class(k) <- 'dum' >> str(k) # as expected >> >> # Define print.dum >> print.dum <- function(x, ...) >>
2012 Oct 01
6
nlme: spatial autocorrelation on a sphere
I have spatial data on a sphere (the Earth) for which I would like to run an gls model assuming that the errors are autcorrelated, i.e. including a corSpatial correlation in the model specification. In this case the distance metric should be calculated on the sphere, therefore metric = "euclidean" in (for example) corSpher would be incorrect. I would be grateful for help on how to
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,
2013 Sep 19
1
Vignette problem and CRAN policies
Hello, All: The vignette with the sos package used "upquote.sty", required for R Journal when it was published in 2009. Current CRAN policy disallows "upquote.sty", and I've so far not found a way to pass "R CMD check" with sos without upquote.sty. I changed sos.Rnw per an email exchange with Prof. Ripley without solving the problem; see below. The
2012 Jul 09
1
c(a, b) for POSIXct objects with tzone attributes?
Hello: What is the recommended method for retaining the tzone attributes when concatonating POSIXct objects? > (d1 <- ISOdate(1970,1,1)) # Sets the tzone attribute = GMT [1] "1970-01-01 12:00:00 GMT" > (d1.2 <- c(d1, d1)) # c(..) strips the tzone attribute, displays in the time zone of the operating system [1] "1970-01-01 04:00:00 PST" "1970-01-01
2012 Mar 22
2
R 2.14.1 memory management under Windows
I computed "system.time(diag(30000))" with R 2.12.0 on Fedora 13 Linux with 4 GB RAM and with R 2.14.1 on Windows 7 with 8 GB RAM: Linux (4 GB RAM): 0, 0.21, 0.21 -- a fifth of a second Windows 7 (8 GB RAM): 11.37 7.47 93.19 -- over 1.5 minutes. Moreover, during most of that time, I could not switch windows or get any response from the system. When I first encountered this, I
2012 May 04
1
Rprofile.site under Windows 7?
Hello All: I'm still unable to get Rprofile.site to set, e.g., options(max.print=222), as I did with previous versions of R. I just found similar questions posed by Trevor Miles and Ross Bowden with replies by Uwe Ligges and Duncan Murdoch. In addition to the things I tried documented below, I also copied Rprofile.site into "R_HOME/etc/i386" and
2013 Feb 04
2
Wide character in print?
Hello: I get "Wide character in print" from trying read.xls("22_data.xls") in the gdata package, with "22_data.xls" downloaded from "Varieties_Country_A-E.xls" at "http://www.reinhartandrogoff.com/data/browse-by-topic/topics/7/": > library(gdata) > read.xls("22_data.xls") Wide character in print at
2018 May 03
0
Package for Molecular Properties
library(sos) (mp <- findFn('{molecular properties}')) ????? ** found 7 matches in 4 packages and opened two web pages in my default browser with (a) the 7 matches and (b) the 4 packages. The first function was something for amino acids, like you suggested.? Two others returned compound and substance information from PubChem. ????? Does this help? ????? Spencer On
2010 Dec 31
1
Error using sos
I am trying to use sos but I get the message below My PC's spec is: MS XP Version 2002 SP 3 Intel Celeron E3300 @ 2.50Ghz Is the error below related to a firewall or something? Thanks and Happy New Year Paolo Error in readLines(link) : cannot open the connection In addition: Warning message: In readLines(link) : unable to connect to 'search.r-project.org' on port 80. found 0
2011 Oct 07
1
RStudio and findFn{sos}
Hello everyone, I have this problem, when I launch findFn from RStudio ( but not from R console) the table of results does not pop in the browser and I got a warning. findFn("test") found 9914 matches; retrieving 20 pages, 400 matches. 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Warning message: In parseHTML(href) : NAs introduced by coercion Thanks H. [[alternative HTML
2011 Sep 27
1
M-Splines design matrix
Hi Can any one inform me an r package used to fit Cubic M-splines or r functions used to have design and penalty matrices in fitting cubic  M-splines please? Thanks, Tigist [[alternative HTML version deleted]]
2018 May 03
1
Package for Molecular Properties
... In addition, you may wish to also post on the Bioconductor list for this sort of thing. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Thu, May 3, 2018 at 12:58 AM, Spencer Graves <spencer.graves at effectivedefense.org>
2016 Sep 07
3
Fwd: Re: RSiteSearch, sos, rdocumentation.org, ...?
Hello, All: Jonathan Baron is "giving up" maintaining the RSiteSearch database. This breaks three things: (1) The R Site Search web service that Baron has maintained. (2) The RSiteSearch function in the utils package. (3) The sos package, for which I'm the maintainer and lead author. Might someone else be willing to take these over? For me,
2017 Feb 09
0
What would make R easier to use for you (and sos version 1.4-1 and useR!2017)
*** *** WHAT WOULD MAKE R EASIER TO USE FOR YOU? *** The useR! 2017 conference in Brussels, July 4-7, will include a session in which attendees will be invited to offer their thoughts in at least three areas: * A common interface for similar functions. For example, John C. Nash and others have taken the lead in developing packages to provide one standard call that will