r-lum / rxylib Goto Github PK
View Code? Open in Web Editor NEWR package: wrapper for the C++ library `xylib`
Home Page: https://r-lum.github.io/rxylib/
License: GNU General Public License v3.0
R package: wrapper for the C++ library `xylib`
Home Page: https://r-lum.github.io/rxylib/
License: GNU General Public License v3.0
The plot method uses default plot settings, e.g. xlab = x [a.u.]"
.
However, it is possible to extract the column names provided by xylib. The code was implemented by me in commit 704f628, but the method has to be adjusted to use column names of the matrices provided in data_block
, if there were any.
So, it would be a further enhancement to adjust the print method ...
Two issues, the XSYG-format support is not sufficient.
<?xml version="1.0" encoding="utf-8"?>
<Sample>
<Sequence>
<Record>
<Curve>0,25;212,450;251,60;371,60;0,25;212,450;251,60;371,60</Curve>
</Record>
</Sequence>
</Sample>
does not fail, but imports nothing. This should not happen.
lexStuidoVersion
should become lexStudioVersion
(metadata information)Hi Developers
Thanks for an nice package that I enjoy using.
I have previously used the package for xrdml files from (Malvern)Panalytical instruments and the read_xyData function has always worked.
I have now updated R (R version 4.3.1) and the package (0.2.11) and now the function read_xyData does not seem to work for xrdml files.
file <- system.file("extdata/ExampleSpectrum.CNF", package = "rxylib")
file
results <- read_xyData(file)
results
file_2 <- system.file("extdata/TLSpectrum.xsyg", package = "rxylib")
file_2
results_2 <- read_xyData(file_2)
results_2
file_1 <- system.file("extdata/Xrdml_test.xrdml", package = "rxylib")
file_1
results_1 <- read_xyData(file_1)
#[read_xyData()] File of type PANalytical XRDML detected ...
#Error : [read_xyData()] Data import failed. Return NULL!
results_1
Could it be that the resent update resulted in the read_xyData function not working with xrdml files?
Thank you for your work.
Best regards
In xylib
it is possible to set names for blocks. Until now these names are not exported to R. I wrote a C++ function get_block_names.cpp
to extract them from files (if available), see commit caf5906.
The question is: how to store them? In metadata? In an extra slot? Should the names be exported automatically or with an extra argument?
So far metadata are not supported and not exposed in R ... implemented on request, maybe for version 0.2.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.