similar to: get absolute file path

Displaying 20 results from an estimated 800 matches similar to: "get absolute file path"

2010 Sep 15
3
characters in a string
Hi, I need to check if a string "<rh>a,b,c,d<rh>" is delimited by two "<rh>" 's as efficiently as possible(I need to do this a lot of times) and return TRUE. Can someone suggest a good technique? [[alternative HTML version deleted]]
2010 Sep 28
1
How to convert SEXP to double
Hello All, A simple question. I get some return from the R in my C++ program (via Rcpp package). The result come, as SEXP and it should be a simple numeric variable. How to convert it to double? The code, what i use: stringstream ss; ss << "p <- predict(fit_ar11, n.ahead = 2, doplot=FALSE);" << "p$pred[1]"; SEXP ans; int iRet =
2010 Aug 14
1
Creating list from a long vector
Stupid question, but its been a long night. If I have a long vector how can I turn it into a list of the same length x<-rep(seq(1,100,by=1),each=10) [[alternative HTML version deleted]]
2010 Aug 16
2
Random Number Generators and Sample
I am trying to get documentation about the random number generator used in "sample". The help for sample does not mention it. Can anyone point me in the right direction. Thanks [[alternative HTML version deleted]]
2010 Aug 20
1
Rserve (Anyone?)
REXP has an asBytes() method. Will this capture the output of an R plot function if a proper graphics device is used? It appears R insists on sending plot output to a file. Kind of strange since it insists on loading all your data into memory before it can do anything. If so then does anyone know what this would be? I prefer png or jpeg. Example: c is an RConnection REXP r =
2010 Aug 20
1
R and Java
Hi folks, Maybe that is not the best place to ask, but I 'd like some of you could help me... I'm using jri to run R commands under Java, by its examples I can eval expressions, returning single values or vectors to my Java variables. But, I would like to know how to assign the values of a Java vector (like: double x[] = {1.7 , 2.8 , 3.4}; ) to a R variable, so I can eval a function
2010 Sep 06
1
c++ equivalent switch statement?
Is there a c++ equivalent switch statement in R? -- Rajesh.J [[alternative HTML version deleted]]
2010 Sep 01
2
Using packages built in linux in windows
Hi, I built a package in linux and would like to use it in windows. I cant build the package again in windows because it would miss the necessary libraries etc(I'm using Rcpp). So I need to generate a binary version and try to install it in windows. I tried this and I get the error /cygdrive/RTools/bin/cp: target 'xf->>' is not a directory Can someone help me with this? --
2010 Jul 17
4
sort file names in numerical order
Hello, I get some file names by list.files(). These names are in alphabetical order. I want to change it to logical numeric order. Example: > fileNames <- c("A10", "A1", "A2", "B1", "B2", "B10") > sort(fileNames) [1] "A1" "A10" "A2" "B1" "B10" "B2" I want to have:
2013 Oct 15
1
discrepancy between r cmd check --as-cran and messages at submission
Dear r-devel list, I've observed at both of my submissions that issues arise at submission that were not pointed out by R cmd check --as-cran For example at my last submission: You have VignetteBuilder: knitr but there is nothing looking like a vignette in your source package.... We also see: * checking DESCRIPTION meta-information ... NOTE Author field differs from that derived from
2010 Aug 13
2
cacheSweave / pgfSweave driver for package vignette
Dear list, I wish to use a specific driver to process an sweave document in the inst/doc directory of a package. Specifically, I would like to use either cacheSweave or pgfSweave to speed up the creation of the vignette which requires lengthy computations. The same request would also apply to the highlight driver, to provide syntax highlighting of R chunks. In "writing R extensions" I
2010 Aug 13
2
cacheSweave / pgfSweave driver for package vignette
Dear list, I wish to use a specific driver to process an sweave document in the inst/doc directory of a package. Specifically, I would like to use either cacheSweave or pgfSweave to speed up the creation of the vignette which requires lengthy computations. The same request would also apply to the highlight driver, to provide syntax highlighting of R chunks. In "writing R extensions" I
2010 Apr 12
4
Winepath on Mac
I am trying to use winepath to convert between the WINE native file path and the normal Mac native filepath. Unfortunately, I do not seem to be able to return the logical Mac UNIX path when using winepath: Macintosh:~ tpatko$ /Applications/Firefly/WINE/bin/wine winepath -u Z:\Applications\Firefly\BENCH1.out /Users/tpatko/.wine/dosdevices/z:/Users/tpatko/ApplicationsFireflyBENCH1.out Macintosh:~
2010 Jul 07
1
LondonR July Meeting
I am pleased to announce to agenda for next weeks LondonR meeting: LondonR meeting - 13th July 2010 Date:?? ???????? Tuesday 13th July 2010 Time:??????????? 6pm - 9pm Venue:????????? The Shooting Star ??????????????????? 125 - 129 Middlesex Street ??????????????????? E1 7JF ??????????????????? (Nearest Tubes- Liverpool Street, Moorgate or Bank)? Agenda 6.00pm???????? Mango
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
2009 Dec 01
4
Package is loaded but functions are not exported
Hello, I wrote a package, which in the NAMESPACE file exports functions like this: exportPattern("^\\rh") On R-2.8 (Linux, 64), upon loading the package I have the rh functions present. On R-2.10, Mac OS X, (32 bit), it builds, loads, but the functions are not loaded, i.e the only function is rhyper (which is not from my package). Is there something wrong with my package setup?
2019 Apr 25
2
AD member server, some users suddenly can only connect to shares via ip address
On 2019/04/25 14:44, Rowland Penny via samba wrote: > OK, post your smb.conf Thanks for help.... remember this has been working up to now and only a few users have the password prompt..  (btw "gibb.local" is a trusted samba3 domain used for migration, connecting as a gibb.local user does work) getent passwd returns expected results, as does wbinfo -u # Global parameters [global]
2019 Apr 25
2
AD member server, some users suddenly can only connect to shares via ip address
On 2019/04/25 13:46, Rowland Penny via samba wrote: > No, the key error is that dns doesn't seem to be working, if you can > connect via ipaddress, then you are not using kerberos. > The server is resolved just fine, it just gets a password prompt. The server can also resolve the client correctly. I see this issue came up before
2010 Mar 26
1
BaselR
BaselR - The new R meeting We are pleased to announce the new R meeting to be held in Basel, Switzerland. BaselR will be held from 6:30-9:30pm on Tues, Apr 27 at TransBARent: http://transbarent.business.sv-group.ch Doors open at 6:30,pm with the presentations starting at 7:00pm Introduction: What is Basel R? Andreas Krause:... Graphing Pharma Data Yann Abraham: Graphics Charles Roosen: Web