Displaying 20 results from an estimated 5000 matches similar to: "sort order of a character sequence is different on windose and linux (linux result)"
2016 Dec 12
2
accessing data by packagename::dataname from within package code fails.
I have narrowed down the problem.
The error
Error : 'AminoAcids' is not an exported object from 'namespace:bibliospec'
Error : unable to load R code in package 'bibliospec'
occurs only if I try to access the data using bibliospec::AminoAcids
within the initialize method of an R reference class.
It does work, as far as I tested everywhere else. In other methods of
a
2018 Oct 05
1
unable to load shared object
Thanks for asking.
The path where R tries to load the dll from does not exist I think (or
the install process deletes it after the error - might this be the
case?):
C:/Users/wewol/OneDrive/Documents/R/win-library/3.5/grpc/libs/x64/grpc.dll'
When I am checking after the error that path is only valid up to:
C:/Users/wewol/OneDrive/Documents/R/win-library/3.5/
So maybe (?) the install process
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
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
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 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")) :
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")
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.
>
>
2004 Sep 29
1
Problem with _new_ if class "lm" in object representation.
Hi!
Consider this code.
setClass("Ctest"
,representation(
test="character"
,bla="character"
,mod="lm"
)
)
new("Ctest",test="bla") #This produces an error.
#Error in validObject(.Object) : Invalid "Ctest" object: Invalid object for slot "mod" in class "Ctest": got class
2004 Apr 30
2
./configure --prefix and R_LIBS
Hi!
I am installing R in non standard directory.
./configure --prefix=/non/standard/directory
The installation works fine.
But after starting R i get
.libPaths()
/usr/lib/R/library
but they cant be there of course!
Have I to set some additional switches during config?
Eryk
Dipl. bio-chem. Eryk Witold Wolski @ MPI-Moleculare Genetic
Ihnestrasse 63-73 14195 Berlin 'v'
tel:
2018 Jul 09
2
Parametrized Vignettest in R packages
Dear Duncan,
Following your advice (Thank you for it) I did include into the vignettes
params:
configuration: !r get(data(sample_analysis))
data: !r get(data(skylineconfig))
And everything seemed (see below) to work fine.
devtools::build_vignettes() builds the vignettes.
Runs with NO error. By this the .Rmd file, html file and corresponding
.R files is being placed into the inst/doc
2004 Nov 11
1
"<<-" assignment no long work in class methods
Hi-
I used to use "<<-" to do assignment inside a class method, and
just found that now it is broken in R 2.0. For example, the
following code
-----------------------------------------------------------------------
setClass( "myclass", representation(x="numeric") )
setGeneric("incrXByOne", function(obj) standardGeneric("incrXByOne"))
2004 Sep 21
0
checking for _non-existing_ -> documentation and sources at one place.
Wolski wrote:
#>>>Has anyone a tool which is able to generate from
#>>>#appropriately commented R-code files (e.g. <<example>>=
#>>>#-example section) Rd files:
Mark Bravington mentioned something similar in the 'mvbutils' package:
Wolski wrote:
#
#
#Hi!
#
#Is it working with S4?
Mark's reply:
Don't know whether it works with S4
2004 Oct 19
1
plot.dendrogram and plot.hclust ZOOM into the height?
Hi,
I clustered a distance matrix and would like to draw it using
plot.hclust or plot.dendrogram.
The dendrogram is not informative because I have a few extremely small
dissimilarities in the distance matrix (e.g. 0), but most of the other
distances are in the range 1e10+-5000.
I would like to show the tree only for the height of 1e10+-5000 but
unfortunately their are no parameter like
2004 Oct 30
2
How to add values to an array at any position.
Hi,
How to add values to an array at any position.
Asking because of the following:
e.g.
y<-c(0.1,NaN,0.2,NaN) #or data frame
x<-na.omit(y)
take some columns from x and
do some computation with functions which do not allow NaN 's.
After the computing add NaN's at positions stored in
attr(x,"na.action")
of the result vector.
/E
--
Dipl. bio-chem. Witold Eryk
2004 Sep 30
1
Problem with _new_ if class "lm" in object representatio n.
Hi,
But "any" rises some other problems well known from S3. One has "any"
for "free" in S3. You don't need S4. . But I know how "if" polluted
functions look like in S3. They are hard to understand and to
maintain. Hence I am quite happy to use S4.
Type-checking is usefull if you program with data. Also if you are on
the "C side" of the
2018 Jul 09
3
Parametrized Vignettest in R packages
So far you haven't provided a reproducible example yet. I wonder what
exactly the object `sample_analysis` is. Sounds like it is an
environment. If that is the case, devtools::build_vignettes() will
tangle (for the meaning of "tangle", see ?tools::buildVignette) your
vignette into an invalid R script. Environments cannot be represented
via dput(), so knitr's purl() (eventually
2003 Jul 10
2
XML Package.
Hi!
I have installed the new R on windows.
I wanted to reinstall the XML package. I am not able to find the XML.zip anymore. I am quite shure that they where a windows binary version.
Has anyone old XML windows binary?
Eryk
Dipl. bio-chem. Eryk Witold Wolski @ MPI-MG Dep. Vertebrate Genomics
Ihnestrasse 73 14195 Berlin 'v'
tel: 0049-30-84131285 / \
mail:
2004 May 28
1
Is there a way to represent the ... argument in signature?
Hi!
I guess that it cant work. but maybee I am wrong.
I would like to define a function rbind.
> rbind
function (..., deparse.level = 1)
{
which works only for objects of class Myclass
Is it possible to use something like
setMethod("rbind",signature(...="Myclass",deparse.level="numeric")
This gives an error.
Or should I use
rbind.Myclass
Eryk.
Dipl. bio-chem.