similar to: Recursive dir.create() on Windows shares

Displaying 20 results from an estimated 600 matches similar to: "Recursive dir.create() on Windows shares"

2016 Sep 26
0
Recursive dir.create() on Windows shares
On 26/09/2016 5:27 PM, Evan Cortens wrote: > Hi folks, > > I've noticed that there's an issue with the recursive creation of > directories that reside on network shares. For example: > >> > dir.create('\\\\SERVERNAME\\Empl\\Home1\\active\\e\\ecortens\\thisisatest', > recursive = TRUE) > Warning message: > In >
2017 May 23
2
Inconsistency in handling of numeric input with %d by sprintf
I initially thought this is "documented behaviour". ?sprintf says: Numeric variables with __exactly integer__ values will be coerced to integer. (emphasis mine). Turns out this only works when the first value is numeric and not NA, as shown by the following example: > sprintf("%d", as.numeric(c(NA,1))) Error in sprintf("%d", as.numeric(c(NA, 1))) : invalid
2016 Nov 30
1
problem with normalizePath()
I found this as well. At our institution, our home directories are on network shares that are mapped to local drives. The default, it appears, is to set the location for libraries (etc) to the network share name (//computer//share/director/a/b/user) rather than the local drive mapping (H:/). Given the issue with dir.create(), this means it's impossible to install packages (since it tries to
2016 Nov 18
2
problem with normalizePath()
>>>>> Evan Cortens <ecortens at mtroyal.ca> >>>>> on Thu, 17 Nov 2016 15:51:03 -0700 writes: > I wonder if this could be related to the issue that I > submitted to bugzilla about two months ago? ( > https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17159) > That is to say, could it be that it's treating the first >
2017 May 23
2
Inconsistency in handling of numeric input with %d by sprintf
https://github.com/Rdatatable/data.table/issues/2171 The fix was easy, it's just surprising to see the behavior change almost on a whim. Just wanted to point it out in case this is unknown behavior, but Evan seems to have found this as well. On Tue, May 23, 2017 at 12:00 PM, Michael Chirico <michaelchirico4 at gmail.com > wrote: > Astute observation. And of course we should be
2001 Mar 01
2
Individual rename of list items
I am confused by the logic of renaming: # Rename individual list items? Empl<-list(employee="Anna",spouse="Fred") names(Empl)<-c("empl","spo") names(Empl) #[1] "empl" "spo" # worked like a charm... but names(Empl[1])<-"newempl" # no error message, yet .... names(Empl) #[1] "empl" "spo" #
2005 Apr 27
2
Problems compiling C code on windows
Hi all, I can't get my C routines running on a windows box. I have no problems at all in Linux. On windows, I have installed cygwin and the compilation works well but once I execute "dyn.load(.)" it hangs whatever I use C/C++ interfaces. In Linux it works wonderful but I need to get this code running on windows boxes. I know that the problem should be something with the
2009 Jul 21
1
Dialplan step that I do not have
I have a dialplan that looks like this: [dorecord] exten => _*99XX,1,Verbose(2,Doing custom record) exten => _*99XX,n,Answer() exten => _*99XX,n,Verbose(2,Doing custom record - before wait) exten => _*99XX,n,Wait(0.5) exten => _*99XX,n,Verbose(2,Doing custom record - before record) exten => _*99XX,n,Record(/tmp/prompt${EXTEN:3}.gsm) exten => _*99XX,n,Verbose(2,Doing custom
2017 May 19
2
Inconsistency in handling of numeric input with %d by sprintf
Consider #as.numeric for emphasis sprintf('%d', as.numeric(1)) # [1] "1" vs. sprintf('%d', NA_real_) > Error in sprintf("%d", NA_real_) : invalid format '%d'; use format %f, %e, %g or %a for numeric object > I understand the error is correct, but if it works for other numeric input, why doesn't R just coerce NA_real_ to NA_integer_?
2013 Apr 05
1
problems with indexing xlsx files
Hello, I have a number of Excel .xlsx files that aren't indexed properly. To illustrate, I have a file called "this is a test.xlsx". It consists of four cells: | this | | is | | a | | test | It gets indexed but I am unable to search for it. I was able to determine the index number and use delve to see the term list: #delve users -r 16496 Term List for record #16496:
2016 Nov 17
2
problem with normalizePath()
The packages "readxl" and "haven" (and possibly others) no longer access files on shared network drives. The problem appears to be in the normalizePath() function. The file can be read from a local drive or by functions that don't call normalizePath(). The error thrown is Error: path[1]="\\Hzndhhsvf2/data/OCPH/EPI/BHSDM/Group/17.xls": The system cannot find the
2005 Nov 30
4
migrate profile from an old server to a new one - SID and ntuser.dat problem
Hi, my problem is the following: i am trying to replace an old SUSE 8.2, Samba 2.2 domain controller with a SUSE 9.3 system with samba 3.0 as PDC. Everything works fine, i can join the new domain, i replaced the machine and domain sid from the new server with the old ones. But how can reuse the profiles from the old machine at the new one? If i make a simple remote copy, the settings of the
2010 Sep 22
2
efficient list indexing
Hello everyone, I need some help with lists inside lists (a good way to emulate a struct)\ Assume that there is a small list called fred: fred <- list(happy = 1:10, name = "squash") and a big list called bigfred that includes fred list 5 times bigfred <- rep(fred,5) Is it possible somehow to index all these sublists(fred) inside bigfred with a more direct way like this:
1999 Dec 04
0
Inconsistent messages with [[ list indexing (PR#359)
R 0.90.0: > Empl <- list(aa=1, b=2, c=3) > Empl[[as.numeric(NA)]] Error in Empl[[as.numeric(NA)]] : subscript out of bounds > Empl[[as.integer(NA)]] Error: attempt to select more than one element > Empl[[as.logical(NA)]] Error: attempt to select more than one element Now, (a) None of those messages is appropriate. (b) At least the first two should be the same. (c) S gives NULL
2016 Nov 30
0
problem with normalizePath()
In researching another issue, I discovered a workaround: the network drive folder needs to be mapped to the local PC. setwd("//Hzndhhsvf2/data/OCPH/EPI/BHSDM/Group/Michael Laviolette/Stat tools") df1 <- readxl::read_excel("addrlist-4-MikeL.xls", 2) # fails, throws same error df2 <- readxl::read_excel("Z:/Stat
2017 May 23
0
Inconsistency in handling of numeric input with %d by sprintf
Astute observation. And of course we should be passing integer when we use %d. It's an edge case in how we printed ITime objects in data.table: On Tue, May 23, 2017 at 11:53 AM, Joris Meys <jorismeys at gmail.com> wrote: > I initially thought this is "documented behaviour". ?sprintf says: > > Numeric variables with __exactly integer__ values will be coerced to >
2017 May 23
0
Inconsistency in handling of numeric input with %d by sprintf
Yes, what Joris posts about is exactly what I noted in my March 9th post to R-devel. The behaviour is sort of documented, but not in the clearest manner (in my opinion). Like I say, my ultimate conclusion was that the silent coercion of numerics to integers by sprintf() was a handy convenience, but not one that should be relied about to always work predictably. On Tue, May 23, 2017 at 10:02 AM,
2015 Oct 09
3
reverse object creation
Dear all, this is my first message to this mailing list - please advise if it is not the right place for the subject I've been using R very intensively the last 3-4 years and one of the most tedious tasks is modification of lookup or conversion tables So far, I have not found functions that create the commands for creating objects (vectors, data frames) based on the objects themselves -
2015 Oct 09
0
reverse object creation
Dear Bo, Please keep the mailing list in cc. Your function only works properly with a data.frame in which all variables are characters. dput() will preserve the structure of the object and works with all R objects. Best regards, ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest team Biometrie & Kwaliteitszorg / team Biometrics &
2001 Sep 14
3
R Installation problem: 'make check' errors
Hi All, I'm trying to install R from source on an Intel machine running Linux (RedHat 6.2) and I am getting errors (Error 139, Error 2, and Error 1) on 'make check'. Perhaps I've forgotten something basic? --------------------------------------------------------------------- Here's what I've done: /configure --prefix=/home1/froth/R --enable-R-shlib --with-tcltk