Displaying 6 results from an estimated 6 matches for "file_path_as_absolute".
2009 Nov 22
0
file_path_as_absolute duplicates "/" (PR#14078)
Full_Name: Jens Oehlschl?gel
Version: 2.10.0
OS: Windows XP
Submission from: (NULL) (85.181.157.36)
file_path_as_absolute duplicates "/" for files in the root path,
which goes back to the fact that file.path(dirname(x), basename(x))
currently is not guaranteed to restore x
> x <- "d:/x.RDAta"
> file_path_as_absolute(x)
[1] "d://x.RData"
> file.path(dirname(x), basename(x))...
2011 Mar 15
1
Persistent storage between package invocations
Hi all,
Does anyone have any advice or experience storing package settings
between R runs? Can I rely on the user's home directory (e.g.
tools::file_path_as_absolute("~")) to be available and writeable
across platforms?
Hadley
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/
2011 Oct 27
2
Error installing packages
Hello,
I got an error if I try to install a package. For example package emg:
R CMD check emg
Everything is fine.
R CMD INSTALL emg
I got the following errors:
* installing to library 'c:/R_2_13_1/library'
* installing *source* package 'emg' ...
Error in file_path_as_absolute(dfile) :
Datei './DESCRIPTION' existiert nicht
ERROR: installing package DESCRIPTION failed fo
* removing 'c:/R_2_13_1/library/emg'
* restoring previous 'c:/R_2_13_1/library/emg'
It says, file DESCRIPTION is missing, despite it exists. The same behavoir
with other package...
2010 Sep 26
2
get absolute file path
Hello,
I get a value which stores a relative file name. (I get it from another
function, which I don't want to change.)
e.g.
> fileName <- "../data/2010-08.csv";
Is it possible to get the absolute file path out of this value?
(e.g. /home/sebastian/documents/data/2010-08.csv)
Kind regards,
Sebastian
2009 Dec 14
0
R 2.10.1 is released
...n.load/dyn.unload was
incomplete, which could crash R if a DLL that registered
.External routines had earlier been unloaded.
o bessel[JY](x, nu) with nu a negative integer (a singular case)
is now correct, analogously to besselI(), see PR#13556, below.
o tools::file_path_as_absolute() doubled the file separator when
applied to a file such as "/vmunix" or (on Windows) "d:/afile"
in a directory for which getwd() would return a path with a
trailing separator (largely cosmetic, as reasonable file
systems handle such a path correc...
2009 Dec 14
0
R 2.10.1 is released
...n.load/dyn.unload was
incomplete, which could crash R if a DLL that registered
.External routines had earlier been unloaded.
o bessel[JY](x, nu) with nu a negative integer (a singular case)
is now correct, analogously to besselI(), see PR#13556, below.
o tools::file_path_as_absolute() doubled the file separator when
applied to a file such as "/vmunix" or (on Windows) "d:/afile"
in a directory for which getwd() would return a path with a
trailing separator (largely cosmetic, as reasonable file
systems handle such a path correc...