search for: wewolski

Displaying 20 results from an estimated 21 matches for "wewolski".

2016 Dec 12
2
accessing data by packagename::dataname from within package code fails.
...function. So I also can't do something like initialize = function(aminoAcids=bibliospec::AminoAcids){ I guess this is an R FEATURE. But then where and how is the best practice to initialize class members with default values? Thank you. On 12 December 2016 at 15:45, Witold E Wolski <wewolski at gmail.com> wrote: > I am wrting a package called bibliospec. > I have a dataset in data/AminoAcids.tsv and would like to be able to > access it with > > bibliospec::AminoAcids > > from within my package code. > > R CMD build gives me the error: > Error : 'Ami...
2018 Oct 05
1
unable to load shared object
...ohnson <pauljohn32 at gmail.com> wrote: > > Greetings. > Is it possible that Onedrive is causing trouble? Do other packages you build and install work well from that directory? > > Paul Johnson > University of Kansas > > On Wed, Oct 3, 2018, 3:13 AM Witold E Wolski <wewolski at gmail.com> wrote: >> >> Hello, >> >> I am trying to install a package with some src files on windows (linux >> install works fine). The sources seem to build, there is an *.dll in >> the src folder but than the installation process fails with: >> >...
2011 Jan 04
0
Fw: Re: Default Working directory on windows 7?
.... So whenever you execute "R" henceforth, this will remain your working directory till the time you change it using above process. I hope I have addressed your query. Of course others may be having different efficient methods to do it. HTH Amy --- On Tue, 1/4/11, W Eryk Wolski <wewolski@gmail.com> wrote: From: W Eryk Wolski <wewolski@gmail.com> Subject: [R] Default Working directory on windows 7? To: r-help@r-project.org Date: Tuesday, January 4, 2011, 9:35 AM Hi, Just installed R on a new Windows 7 machine (as admin). I feel quite uncomfortable knowing that the defa...
2018 Jul 02
4
Parametrized Vignettest in R packages
Hello, I have a package which includes some parameterized r-markdown report which I would also like to build as package vignettes. Is there a way to run the parameterized vignette creation with the package build or package check? Thank you -- Witold Eryk Wolski
2018 Oct 02
1
How do I set a compile flag _WIN32_WINNT=0x600 in Makevars.Win
Sorry for bothering you I am trying to build the R grpc package on windows: https://github.com/nfultz/grpc against an MSYS2 build of grpc. when running devtools::install() I am getting the following error: C:/msys64/mingw64/include/grpc/impl/codegen/port_platform.h:47:2: error: #error "Please compile grpc with _WIN32_WINNT of at least 0x600 (aka Windows Vista)" #error \ ^ Which,
2010 Aug 09
3
ESS question. How to get rid of ess-smart-underscore?
Hi, ESS replaces "_" by "<-". How can I switch off this feature? I need to be able to type the underscore Thanks Eryk -- Witold Eryk Wolski Heidmark str 5 D-28329 Bremen tel.: 04215261837
2012 Sep 20
2
Sweave - if \Sexpr{} than \SweaveInput{"my.Rnw"}
Depending on an R computation I would like to include an Sweave documents in the main Sweave document. How can I do it? So I was thinking .... to use Latex features : \newif\ifpaper \ifpaper \SweaveInput{"my1.Rnw"} \else \SweaveInput{"my2.Rnw"} \fi But how do I set paper to true or false given an \Sexpr ?? \papertrue % or \paperfalse Any ideas? cheers -- Witold
2012 Nov 08
1
sweave xtable and driver RweaveHTML
Hi, So far I used Sweave to create pdf reports. I used xtable to create some tables in the report. But now I would like to use the same snw file to generate an HTML version. The xtable output breaks the RweaveHTML driver. library(R2HTML) Sweave('analyseLFQ.Snw', driver = RweaveHTML) Error in match.arg(options$results, c("Robj", "html", "hide")) :
2011 Jan 04
2
Default Working directory on windows 7?
Hi, Just installed R on a new Windows 7 machine (as admin). I feel quite uncomfortable knowing that the default WD when starting R is: > getwd() [1] "C:/Windows/system32" I guess I did something wrong when installing R... How to change R's default working directory? regards Eryk
2006 May 25
2
qqmath - Lattice error
Hi, Don't have a clue what teh following error message generated by this function call: qqmath( ~val|ind,data = xx ,distribution = function(p){ qt(p,df=20)} ,ylab="Sample Quatinles" ,xlab="Theoretical Quantiles" ,panel=function(x,y) { panel.qqmathline(y , distribution=function(p) qt(p,df=20)
2010 Aug 06
3
image plot but data not on grid.
Hi, Would like to make an image however the values in z are not on an uniform grid. Have a dataset with length(x) == length(y) == length(z) x[1],y[1] gives the position of z[1] and would like to encode value of z by a color. looking for something like plot(x,y, col = z) where col for z is cleverly chosen from a colorscale. Hope I made clear what I am looking for. Thanks Eryk
2018 Jul 09
2
Parametrized Vignettest in R packages
On 09/07/2018 3:24 PM, Witold E Wolski wrote: > Dear Yihui, > > Thank you for the valuable questions. > > sample_analysis is a "tibble" while > configuration is an "R6" class. > But I also have parametrized reports where I pass R reference classes > as arguments. > > This is the Rmd yaml params part corresponding to the error message. > >
2016 Oct 07
1
unzip does not like a / at the end of path.
dir("inst/extdata/") dir("./inst/extdata/") dir("inst/extdata") works all fine, listing the directory content. but: unzip(tmp[1],exdir = "inst/extdata/") Error in unzip(tmp[1], exdir = "inst/extdata/") : 'exdir' does not exist unzip(tmp[1],exdir = "./inst/extdata/") Error in unzip(tmp[1], exdir = "inst/extdata/") :
2007 Apr 26
2
configure: WARNING: you cannot build info or HTML versions of the R manuals
Rusers, I am trying to build R2.5 on my Kubuntu machine an configure concludes with : configure: WARNING: you cannot build info or HTML versions of the R manuals What do I need to install on my machine to get rid of this warnings? Eryk [[alternative HTML version deleted]]
2014 Apr 10
1
! LaTeX Error: File `zi4.sty' not found.
R version 3.1.0 beta (2014-03-28 r65330) -- "Spring Dance" When running R CMD check mypackage. the check fails with : ! LaTeX Error: File `zi4.sty' not found. a search for this error forwards to similar errors but with an inconsolata.sty file. -- Witold Eryk Wolski
2014 Feb 03
2
match - returns a vector of the positions of (first) matches - looking for All positions.
Looking for a build in function which returns a vector of the positions of _ALL_ matches. -- Witold Eryk Wolski
2014 Jul 06
1
sort order of a character sequence is different on windose and linux (linux result)
This is the result of sorting a character sequence on a linux box (with R . 3.10) > bla = read.table("xx.txt",stringsAsFactors=F) > bla = bla[,1] > bla[1:10] [1] "1000_DGFVALSK_2_run0" "1000_DGFVALSK_2_run0" "1000_DGFVALSK_2_run0" "1000_DGFVALSK_2_run0" "1000_DGFVALSK_2_run0" [6] "1000_DGFVALSK_2_run0"
2014 May 14
0
S3 - how to implement "colnames<-"
Have a class for which I would like to provide a "colnames<-.myclass" function so that colnames(myintsance) <- c("a","b","c") can be called. Witold -- Witold Eryk Wolski [[alternative HTML version deleted]]
2007 Apr 26
2
tcltk support....
Rusers, library(Rcmdr) Loading required package: tcltk Error in firstlib(which.lib.loc, package) : Tcl/Tk support is not available on this system While installing R I run configure with configure --prefix=/bla/bla --with-tcltk make make install configure did not returned any errors. Hence, I assume that the the tcl/tk libraries have been found. installin.packages("tcltk")
2007 Nov 13
4
factors levels ?
Hi, It's just some example code.. The application is uninteresting. I am searching for some functionality. X <- rnorm(100) //my data Y <- seq(-3,3,by=0.1) // bin boundaries. Now I would like to generate a - list of factors, length as X... i.e.: all values in the range [-3,-2.9) have the same factor... [-3,-2.9) etc. I would assume R has such a function but I cant recall which one