Displaying 20 results from an estimated 8000 matches similar to: "UNC windows path beginning with backslashes: normalizePath bug??"
2010 Jan 26
1
update.packages on MS Windows with //server/share paths
Hi,
> update.packages(ask='graphics')
gives me multiple warning (one per updated package?) similar to ...
Warning: unable to move temporary installation
'\\Server02\stats\R\library\2.10\file3de56e0d\locfit' to
'\\Server02\stats\R\library\2.10\locfit'
The final, updated, folders do not end up where they should be. I can move
them 'by hand', but it is an
2011 Jun 30
0
Sys.glob() doesn't handle a UNC windows path beginning with backslashes
Hi,
Back in 2010 I had a problem with 'update.packages()', which I worked around
by mapping a drive letter to a UNC path [described in
<http://finzi.psych.upenn.edu/Rhelp10/2010-February/229820.html> but my
current workaround is
assign(".lib.loc", sub("\\\\\\\\Server02/stats", "L:", .libPaths(),
ignore.case = TRUE), env=environment(.libPaths))].
2008 Apr 17
2
Design and analysis of mixture experiments
Hi,
I'm interested in experimental design and data analysis on mixtures, like
cake recipes where the sum of the components is fixed; e.g.
<http://www.itl.nist.gov/div898/handbook/pri/section5/pri54.htm>.
I can't believe that R doesn't have facilities to design and analyse such
experiments, but I haven't been able to find them (I have looked quite
hard!). Can anyone point
2017 Nov 23
5
libPaths displays truncated path?
Hi,
TL;DR
-----
I define the path
/cm/shared/apps/R/site-library/3.4.2
and add it to libPath. Why does libPath then display it as
/cm/shared/apps/R/site-library/3.4
?
Long version
------------
I run a cluster of diskless nodes for which the OS is loaded
directly into RAM and other software is provided by an NFS server.
However, in the case of R, we use the R version provided
2011 Sep 14
3
normalizePath
Hi,
I update R from 2.10 to 2.13.
Then I find soma problems when I start R.
Warning infos as below:
#####
Warning message:
In normalizePath(c(new, .Library.site, .Library), "/") :
path[1]="": No such file or directory
R version 2.13.1 (2011-07-08)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-pc-linux-gnu (64-bit)
R is
2017 Nov 23
0
libPaths displays truncated path?
> On Nov 23, 2017, at 4:34 AM, Loris Bennett <loris.bennett at fu-berlin.de> wrote:
>
> Hi,
>
> TL;DR
> -----
>
> I define the path
>
> /cm/shared/apps/R/site-library/3.4.2
>
> and add it to libPath. Why does libPath then display it as
>
> /cm/shared/apps/R/site-library/3.4
>
> ?
>
Because it is a symbolic link.
2017 Nov 23
0
libPaths displays truncated path?
> On Nov 23, 2017, at 4:34 AM, Loris Bennett <loris.bennett at fu-berlin.de> wrote:
>
> Hi,
>
> TL;DR
> -----
>
> I define the path
>
> /cm/shared/apps/R/site-library/3.4.2
>
> and add it to libPath. Why does libPath then display it as
>
> /cm/shared/apps/R/site-library/3.4
Generally one only has a different library for each major
2011 Jan 17
1
median by geometric mean -- are we missing what's important?
Folks:
I know this may be overreaching, but are we missing what's important?
WHY do the zeros occur? Are they values less then a known or unknown
LOD? -- and/or is there positive mass on zero? In either case, using
logs to calculate a geometric mean may not make sense. Paraphrasing
Greg Snow, what is the scientific question? What is the model?
Cheers,
Bert
On Mon, Jan 17, 2011 at 9:13 AM,
2009 Dec 22
4
Problem with expand.grid
Hi All,
This example code
----------------
dDF <- structure(list(y = c(4.75587, 4.8451, 5.04139, 4.85733, 5.20412,
5.92428, 5.69897, 4.78958, 4, 4), t = c(0, 48, 144, 192, 240,
312, 360, 0, 48, 144), Batch = c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1
), T = c(2, 2, 2, 2, 2, 2, 2, 2, 2, 2), pH = c(4.6, 4.6, 4.6,
4.6, 4.6, 4.6, 4.6, 4.6, 4.6, 4.6), S = c(0, 0, 0, 0, 0, 0, 0,
0, 0, 0), N = c(0, 0, 0, 0,
2012 Aug 06
2
Windows 7 and .libPaths()
Hello,
I'm having some trouble trying to set the .libPaths() on Windows 7,
R-2.15.0 and R-2.15.1. The environment variables R_LIBS and R_LIBS_USER
are set according to the help page for .libPaths() and the Rprofile.site
file has the default setting, as shown below. R-2.14.1 recognizes the
lib paths but not R-2.15. Is this a bug or am I doing something wrong?
(I've also tried with
2011 Sep 29
3
Finding inter-function dependencies within a package
Hi,
I'd like to know which functions in a package call one specific function.
I think I've seen a tool for identifying such dependencies, but now I can't
find it :-(
Searches of help and R site search for keywords like function, call, tree,
depend haven't helped :-(
Can anyone point me in the right direction?
Thanks in advance,
Keith Jewell
2010 Jun 10
2
Capturing buffered output from Rterm
In MS Windows I
a) invoke Rterm from a batch file (test.bat)
b) to execute commands from a script (m:\test.rsc)
c) capturing output in a log file (m:\test.log)
BUT if the script results in an error the error message is NOT written to
the log file, leaving me problems when the error is from a complicated
function.
Simplified example:.
test.bat ------------------------
REM ensure
2015 Mar 11
1
normalizePath output depends on existence of directory
Dear all,
I'm not sure whether this is intended behaviour or a bug. The path returns
from normalizePath is different when the directory doesn't exist. I have
included a reproducible example.
path <- tempfile()
missing.dir <- normalizePath(path, winslash = "/", mustWork = FALSE)
dir.create(path)
existing.dir <- normalizePath(path, winslash = "/", mustWork =
2009 Dec 04
1
multidimensional point.in.polygon??
Hi,
I seek to identify those points in/outside a multidimensional convex hull
(geometry::convhulln). Any suggestions?
Background just in case I'm going down a really wrong road:
Given an observed data set with one dependent/observed variable (Y) and
multiple (3 to 10) independent/design variables (X1, X2, ...) I want to
increase the number of points by interpolating. I'm using
2008 Feb 18
0
Solved (??) Behaviour of integrate (was 'Poisson-lognormal probab ility calculations')
Hi Again,
I think I've solved my problem, but please tell me if you think I'm wrong,
or you can see a better way!
A plot of the integrand showed a very sharp peak, so I was running into the
integrand "feature" mentioned in the note. I resolved it by limiting the
range of integration as shown here:
--------------------------------------------------
function (x, meanlog = 0,
2008 Aug 18
1
"nested" getInitial calls; variable scoping problems
Hi All,
Another nls related problem (for background, I'm migrating a complicated
modelling package from S-plus to R).
Below I've reduced this to the minimum necessary to demonstrate my problem
(I think); the real situation is more complicated.
Two similar selfStart functions, ssA and ssB.
The 'initial' function for ssB modifies its arguments a little and then
calls getInital
2008 Feb 15
0
Behaviour of integrate (was 'Poisson-lognormal probability calcul ations')
Hi again,
Adding further information to my own query, this function gets to the core
of the problem, which I think lies in the behaviour of 'integrate'.
-------------------------------------
function (x, meanlog = 0, sdlog = 1, ...) {
require(stats)
integrand <- function(t, x, meanlog, sdlog) dpois(x,t)*dlnorm(t,
meanlog, sdlog)
mapply(function(x, meanlog, sdlog, ...)
#
2015 Jul 17
1
Improvements (?) in stats::poly and stats::polym.
Dear Keith,
>>>>> <Keith.Jewell at campdenbri.co.uk>
>>>>> on Thu, 16 Jul 2015 08:58:11 +0000 writes:
> Dear R Core Team,
> Last week I made a post to the R-help mailing list
> ?predict.poly for multivariate data?
> <https://stat.ethz.ch/pipermail/r-help/2015-July/430311.html>
> but it has had no responses so I?m
2012 Aug 31
1
loading 'RcmdrPlugin.FactoMineR' pachage in R
Hi everybody
I have a question about loading 'RcmdrPlugin.FactoMineR'
pachage in R.
I have installed Rcmdr, FactoMineR and 'RcmdrPlugin.FactoMineR.
when I want to load this package, at first a message inform me I should load
the following list of packages:
FactoMineR, ellipse, lattice, cluster, scatterplot3d, Rcmdr,
tcltk, car, MASS, nnet
I have loaded all above packages and again I
2011 Mar 16
0
.libPaths() on Windows may return duplicated paths
In R v2.12.2 patched (2011-03-13 r54787) and also in R v2.13.0 devel
(2011-03-15 r54806), .libPaths() may return the multiple paths
referring to the same "normalized" path name. Here is an example from
Rterm --vanilla using R v2.12.2 patched:
> paths <- .libPaths(c("C:/", "C:\\"))
> paths
[1] "C:/"
[2] "C:\\"
[3]