similar to: file.access() on network (mounted) drive on Windows Vista?

Displaying 20 results from an estimated 10000 matches similar to: "file.access() on network (mounted) drive on Windows Vista?"

2007 Feb 28
1
Removing directory?
Hi, I'm trying to remove/delete a directory usingR. I've tried the following with no success: % Rterm --vanilla > getwd() [1] "C:/Documents and Settings/hb/braju.com.R/aroma.affymetrix/test" > dir.create("foo") > file.info("foo") size isdir mode mtime ctime atime foo 0 TRUE 777 2007-02-28 14:52:10
2008 Jul 25
1
serialize() to via temporary file is heaps faster than doing it directly (on Windows)
Hi, FYI, I just notice that on Windows (but not Linux) it is orders of magnitude (below it's 50x) faster to serialize() and object to a temporary file and then read it back, than to serialize to an object directly. This has for instance impact on how fast digest::digest() can provide a checksum. Example: x <- 1:1e7; t1 <- system.time(raw1 <- serialize(x, connection=NULL));
2012 Apr 20
1
R CMD check: Sys.getenv("R_GSCMD") cannot contain full pathname (contrary to docs)
Hi, in help("R_GSCMD") it says "R_GSCMD: Optional. The path to Ghostscript, used by dev2bitmap, bitmap and embedFonts. Consulted when those functions are invoked.". However, if 'R_GSCMD' contains a full pathname to the Ghostscript executable (as above "path" indicates), e.g. > Sys.getenv("R_GSCMD") [1] "C:\\Program
2010 Jan 01
5
How to not to terminate read.table if the input file is empty?
read.table terminates the program if the input file is empty. Is there way to let the program continue and return me a NULL instead of terminating the program? $ Rscript read_empty.R > read.table("empty_data.txt") Error in read.table("empty_data.txt") : no lines available in input Execution halted $ cat read_empty.R read.table("empty_data.txt") $ cat
2010 Nov 29
1
tar R command
Hello, The documentation for the tar command leads me to think there is an internal implementation when the command can't be found in the OS. However, it doesn't seem to be the case, as I get an empty .tar file generated on a small example I made : > dir(pattern = "jpg") [1] "MA56237502_635.jpg" > file.info("MA56237502_635.jpg")
2011 Sep 19
0
file.info(path) "inconsistent" with file.exists(path) when path == "C:/"
Hi, on Windows 7 (tested on NTFS file system) and R-devel: 1. file.info("C:/") gives NAs whilst file.exists("C:/") gives TRUE. Instead you have to do file.info("C:/."). 2. Any number of dots will do, e.g. identical(file.info("C:/........."), file.info("C:/.")) == TRUE DETAILS: # C:/ => DISCREPANCY file.exists() and file.info() >
2018 Mar 27
2
unable to move temporary installation of package
Ok, thanks -- > sessionInfo() R version 3.4.4 (2018-03-15) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200) Matrix products: default locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C [5] LC_TIME=English_United States.1252
2014 Jan 07
0
file.info() on a file.symlink():ed file on Windows - is help correct?
Is the following passage from help("file.info"): "Junction points and symbolic links are followed, so information is given about the file/directory to which the link points rather than about the link." correct? Could it be that Windows was not considered? help("file.symlink") mentions several Windows-related issues, but none of those are related to the following.
2018 Mar 27
0
unable to move temporary installation of package
Nothing jumps out at me yet. 1) You missed including the text of your command (presumably install.packages) along with the actual text of the error. 2) What is the output of: getOption("repos") 3) You might also consider looking at system2( "cacls.exe", .libPaths()[1] ) though we may not be able to interpret the output appropriately in this venue if you are working on a
2010 Jul 08
2
strsplit("dia ma", "\\b") splits characterwise
\b is word boundary. But, unexpectedly, strsplit("dia ma", "\\b") splits character by character. > strsplit("dia ma", "\\b") [[1]] [1] "d" "i" "a" " " "m" "a" > strsplit("dia ma", "\\b", perl=TRUE) [[1]] [1] "d" "i" "a" " "
2018 Mar 27
5
unable to move temporary installation of package
Thanks, Here's the error, for example: > install.packages("mgcv") Installing package into 'C:/Users/pl39/Documents/R/win-library/3.4' (as 'lib' is unspecified) trying URL 'https://mirrors.nics.utk.edu/cran/bin/windows/contrib/3.4/mgcv_1.8-23.zip' Content type 'application/zip' length 2775362 bytes (2.6 MB) downloaded 2.6 MB package 'mgcv'
2011 Mar 05
1
file mode lost in file.copy()?
Hi, Recently I noticed file.copy() would discard the file mode information. Is this the expected behaviour or a bug for file.copy()? > file.create('testfile') [1] TRUE > file.info('testfile') size isdir mode mtime ctime testfile 0 FALSE 644 2011-03-05 17:06:39 2011-03-05 17:06:39 atime uid gid uname grname
2011 Mar 05
1
file mode lost in file.copy()?
Hi, Recently I noticed file.copy() would discard the file mode information. Is this the expected behaviour or a bug for file.copy()? > file.create('testfile') [1] TRUE > file.info('testfile') size isdir mode mtime ctime testfile 0 FALSE 644 2011-03-05 17:06:39 2011-03-05 17:06:39 atime uid gid uname grname
2018 Mar 27
0
unable to move temporary installation of package
Do you have other instances of R open at the time you are doing this? Did you already have mgcv installed in your personal library when you tried installing it again? There is clearly something preventing you from writing to your library, or at least to specific packages in your library. On Tue, 27 Mar 2018, Paul Lantos wrote: > Thanks, > > Here's the error, for example: >
2008 Jul 19
1
Clash between 'Cairo' and 'EBImage' packages on Windows
Hi, on Windows XP Pro with R version 2.7.1 Patched (2008-06-27 r46012) the 'Cairo' and the 'EBImage' packages does not play well together. Loading EBImage before Cairo cause the following to happen: # Rterm --vanilla > library(EBImage); > library(Cairo) Error in inDL(x, as.logical(local), as.logical(now), ...) : unable to load shared library
2007 Apr 07
1
R CMD install on R 2.5.0 alpha
Hi, I've just downloaded the latest R v2.5.0 alpha (2007-04-04 r41043) for WinXP. When I try to install a package R tries to install it to a no-name (empty name) directory (causing error downstream): RCMD INSTALL R.oo installing to '' FYI: Package install perfectly on R v2.4.1 patched, and did so also on earlier R v2.5.0 devel/alpha(?) versions. Current directory is: C:\tmp with
2018 Mar 27
2
unable to move temporary installation of package
I deleted my library, reinstalled R, and had the same issue -- couldn't install anything into its newly created library. -----Original Message----- From: Jeff Newmiller [mailto:jdnewmil at dcn.davis.ca.us] Sent: Tuesday, March 27, 2018 2:26 PM To: Paul Lantos <paul.lantos at duke.edu> Cc: r-help at r-project.org Subject: RE: [R] unable to move temporary installation of package Do you
2007 Apr 13
1
how to control which version of a package library() installs?
library() seems to remember the location of a package when I give it a lib.loc, and then use that version thereafter, even if I don't supply lib.loc again. Is there any way I can load different versions of a package in one R session? -- I don't seem to able to simply detach the package and then load a different version from a different library location. $ R [...startup info...] >
2018 Mar 28
2
unable to move temporary installation of package
Thanks, Kevin. I have done that but no luck. Paul -----Original Message----- From: Kevin E. Thorpe [mailto:kevin.thorpe at utoronto.ca] Sent: Tuesday, March 27, 2018 2:15 PM To: Paul Lantos <paul.lantos at duke.edu>; Jeff Newmiller <jdnewmil at dcn.davis.ca.us> Cc: r-help at r-project.org Subject: Re: [R] unable to move temporary installation of package I have seen that error from
2018 Mar 27
0
unable to move temporary installation of package
I have seen that error from students trying to install, usually from the Rcpp package. One suggestion I received was to try disabling your virus scanner while doing the install. The reason being that the scanner has not completed its job by the time the installer wants to move stuff around. Kevin On 03/27/2018 01:14 PM, Paul Lantos wrote: > Thanks, > > Here's the error, for