Revisions of python-rpy2
buildservice-autocommit
accepted
request 888641
from
Steve Kowalik (StevenK)
(revision 20)
baserev update by copy to link target
Steve Kowalik (StevenK)
committed
(revision 19)
- Update to 3.4.4: * `RRuntimeError` exceptions raised while evaluating R code an R magic (ipython/jupyter) are now propagated (issue #792). * :mod:`rpy2.robjects.lib.ggplot2` maps more functions in the R package (issue #767) * Utility function :func:`rpy2.robjects.lib.ggplot2.dict2rvec` to convert a Python `Dict[str, str]` into an R named vector of strings. * Converting pandas series with the older numpy types could result in an error (issue #781) * Numpy converter was not properly turing R integer or float arrays into their numpy equivalent (issue #785) * Multithreading during the initialization of the embedded R no longer triggers a fatal error (issue #729) * The mapping of the R C API now includes `Rf_isSymbol()`. * Singleton class :class:`rpy2.rinterface_lib.sexp.RVersion` to report the R version for the embedded R. * :func:`rpy2.rinterface.local_context` to create a context manager to evaluate R code within a local environment. * The `staticmethod` :meth:`rpy2.robjects.vectors.DateVector.isrinstance` will tell whether an R objects is an R `Date` array. * The functions :func:`rpy2.robjects.numpy.activate()` and :func:`rpy2.robjects.pandas.activate()` are deprecated and will be removed in rpy2*3.5.0. * :meth:`rpy2.robjects.lib.ggplot2.vars` to map the R function `ggplot2::vars` (issue #742). * Report correctly the class of R matrix objects with R>=4.0: it is now `('matrix', 'array')`. With R<4.0 `('matrix')` is still reported. * The conversion `rpy2py` is now working with any Python object inheriting from `_rinterface_capi.SupportsSEXP`. * More complete and correct mapping of R class names in :func:`rpy2.rinterface_lib.sexp.rclass_get`. * The conversion of R string arrays to `numpy` arrays was leaving R's `NA` value as R NA objects. NAs in this type of arrays are now turned to `None` in the resulting `numpy` array (issue #751). * `rpy2.situation.get_rlib_path()` was returning an environment variable with an invalid separator on Windows (mentioned in issue #754). * R strings encoded with something else than 'utf-8' could result in errors when trying to convert to Python strings (issue #754). * R `Date` arrays/vectors were not wrapped into :class:`rpy2.robjects.vectors.DateVector` objects but left as R arrays of floats (which they are at the C level). * The :meth:`__repr__` of `robjects`-level objects was not displaying the rpy2 class the R object is mapped to. * The unit tests for importing R packages with `lib_loc` were broken (issue #720). * Fix the constructor of metaclass :class:`rpy2.robjects.methods.RS4Auto_Type`. * Fix call to end the embedded R in :class:`rpy2.robjects.R.__cleanup__` (issue #734). - Do not build on Python 3.6, due to no NumPy.
buildservice-autocommit
accepted
request 821002
from
Todd R (TheBlackCat)
(revision 18)
baserev update by copy to link target
Todd R (TheBlackCat)
accepted
request 821001
from
Todd R (TheBlackCat)
(revision 17)
- Update to 3.3.5 * Trying to import an R package that it not installed will now raise an exception :class:`rpy2.robjects.packages.PackageNotInstalledError`. * The R C API functions `void SET_FRAME(SEXP x, SEXP v)`, `void SET_ENCLOS(SEXP x, SEXP v)` and `void SET_HASHTAB(SEXP x, SEXP v)` are now accessible through rpy2. * When calling R C-API's `R_ParseVector` and a error occurs, the exception message now contains the parsing status.
buildservice-autocommit
accepted
request 773171
from
Todd R (TheBlackCat)
(revision 16)
baserev update by copy to link target
Todd R (TheBlackCat)
accepted
request 773170
from
Todd R (TheBlackCat)
(revision 15)
- Update to 3.2.6 + Bugs fixed * The conversion of date/time object with specified timezones was wrong when different than the local time zone * Iterating over :mod:`rpy2.situation.iter_info()` could result in a error because of a typo in the code. + Changes * :mod:`pandas` 1.0.0 breaks the conversion layer. A warning is not emitted whenever trying to use `pandas` >= 1.0.
buildservice-autocommit
accepted
request 768808
from
Todd R (TheBlackCat)
(revision 14)
baserev update by copy to link target
Todd R (TheBlackCat)
accepted
request 768803
from
Todd R (TheBlackCat)
(revision 13)
- Update to 3.2.5 * Delimit multi-line expressions with parenthesis rather than backslash. * Use Rf_initEmbeddedR(), remove setup_Rmainloop() (not necessary, it seems). - Update to 3.2.4 * Fix ABI mode - Update to 3.2.3 * Backport fix for segfault when parsing.
buildservice-autocommit
accepted
request 751407
from
Todd R (TheBlackCat)
(revision 12)
baserev update by copy to link target
Todd R (TheBlackCat)
accepted
request 751406
from
Todd R (TheBlackCat)
(revision 11)
Update to version 3.2.2
buildservice-autocommit
accepted
request 718616
from
Todd R (TheBlackCat)
(revision 10)
baserev update by copy to link target
Todd R (TheBlackCat)
accepted
request 718615
from
Todd R (TheBlackCat)
(revision 9)
- Update to Release 3.0.5 + Bugs fixed * No longer allow installation if Python 3 but < 3.5. * Fixed error `undefined symbol: DATAPTR` if R < 3.5. - Update to Release 3.0.4 + Bugs fixed * Fixed conversion of `pandas` :class:`Series` of dtype `pandas.Int32Dtype`, or `pandas.Int64Dtype`. - Update to Release 3.0.3 + Bugs fixed * Fixed the evaluation of R code using the "R magic" was delaying all output to the end of the execution of that code, independently of whether the attribute `cache_display_data` was `True` or `False`. * Fixed conversion of :class:`pandas.Series` of `dtype` "object" when all items are either all of the same type or are :obj:`None`. - Update to Release 3.0.2 + Bugs fixed * Failing to import `pandas` or `numpy` when loading the "R magic" extension for jupyter/ipython was hiding the cause of the error in the `ImportError` exception. * Fallback when an R `POSIXct` vector does not had an attribute `"tzone"`. * Callback for console reset was not set during R initialization. * Fixed rternalized function returning rpy2 objects. * `--vanilla` is no longer among the default options used to initialize R. - Update to Release 3.0.1 + Bugs fixed * Script to install R packages for docker image never made it to version control. * Conversion of R arrays/matrices into numpy object trigged a segfault during garbage collection. - Update to Release 3.0.0 + New features * rpy2 can be installed without a development environment. * Unit tests are now relying on the Python module `pytest`. * :attr:`rpy2.rinterface.NA_Integer` is now only defined when the embedded R is initialized. + Changes * complete rewrite of :mod:`rpy2.rinterface`. :mod:`cffi` is now used to interface with the R compiled shared library. This allows ABI calls and removes the need to compile binaries. However, if compilation is available (when installing or preparing pre-compiled binaries) faster implementations of performance bottlenecks will be available. * calling :func:`rpy2.rinterface.endr` multiple times is now only ending R the first time it is called (note: an ended R cannot successfully be re-initialized). * The conversion system in the mod:`rpy2.robjects.conversion` now has only two conversions `py2rpy` and rpy2py`. `py2rpy` tries to convert any Python object into an object rpy2 can use with R and `rpy2py` tries to convert any rpy2 object into a either a non-rpy2 Python object or a mod:`rpy2.robjects` level object. * The method `get` for R environments is now called `find()` to avoid confusion with the method of the same name in Python (:meth:`dict.get`). * :class:`rpy2.robjects.vectors.Vector`, :class:`rpy2.robjects.vectors.Matrix`, and :class:`rpy2.robjects.vectors.Array` can no longer be used to create R arrays of unspecified type. New type-specific classes (for example for vectors :class:`rpy2.robjects.vectors.IntVector`, :class:`rpy2.robjects.vectors.BoolVector`, :class:`rpy2.robjects.vectors.FloatVector`, :class:`rpy2.robjects.vectors.ComplexVector`, or :class:`rpy2.robjects.vectors.StrVector`) should be used instead. * mod:`rpy2.rpy_classic`, an implementation of the `rpy` interface using :mod:`rpy2.rinterface` is no longer available. * :class:`rpy2.robjects.ParsedCode` and :class:`rpy2.robjects.SourceCode` are moved to :class:`rpy2.robjects.packages.ParsedCode` and :class:`rpy2.robjects.packages.SourceCode`. + Bugs fixed * Row names in R data frames were lost when converting to pandas data frames. + Known issues * Mismatch between R's POSIXlt `wday` and Python time struct_time's `tm_wday`. - Update to Release 2.9.6 + Bugs fixed * Latest release of :mod:`pandas` deprecated :meth:`DataFrame.from_items`. * Latest release of :mod:`pandas` requires categories to be a list (not an other sequence). + Known issues * The numpy buffer implemented by R arrays is broken for complex numbers
buildservice-autocommit
accepted
request 653600
from
Todd R (TheBlackCat)
(revision 8)
baserev update by copy to link target
Todd R (TheBlackCat)
accepted
request 653599
from
Todd R (TheBlackCat)
(revision 7)
- Update to 2.9.5 * Missing values in pandas :class:`Category` series were creating invalid R factors when converted (issue #493).
buildservice-autocommit
accepted
request 629374
from
Tomáš Chvátal (scarabeus_iv)
(revision 6)
baserev update by copy to link target
Tomáš Chvátal (scarabeus_iv)
accepted
request 629337
from
Andreas Schwab (Andreas_Schwab)
(revision 5)
- Remove unused dependencies on blas libraries - Don't exclude post-build-checks
buildservice-autocommit
accepted
request 628247
from
Todd R (TheBlackCat)
(revision 4)
baserev update by copy to link target
Todd R (TheBlackCat)
accepted
request 628246
from
Todd R (TheBlackCat)
(revision 3)
- Update to 2.9.4 * Fallback for failure to import numpy or pandas is now dissociated from failure to import :mod:`numpy2ri` or :mod:`pandas2ri` (issue #463). * :func:`repr` for R POSIX date/time vectors is now showing a string representation of the date/time rather than the timestamp as a float (issue #467). * The HTML representation of R data frame (the default representation in the Jupyter notebook) was displaying an inconsistent number of rows (found while workin on issue #466). * Handle time zones in timezones in Pandas when converting to R data frames (issue #454). * When exiting the Python process, the R cleanup is now explicitly request to happen before Python's exit. This is preventing possible segfaults the process is terminating (issue #471). * dplyr method `ungroup()` was missing from :class:`rpy2.robjects.lib.dplyr.DataFrame` (issue #473).
Todd R (TheBlackCat)
committed
(revision 2)
converted link to branch
Todd R (TheBlackCat)
committed
(revision 1)
Displaying all 20 revisions