Re: [R] dev.size() does not return correct size on 4K screen

2022-03-03 Thread Martijn Tennekes
Thank you, Peter! From xdpyinfo I got screen #0:   dimensions:    5120x2880 pixels (903x508 millimeters)   resolution:    144x144 dots per inch According to these specs my screen should have a sqrt((5120/144)^2 + (2880/144)^2) = 40.8" diagonal. However, in practice it is 27", so that

[R] Looking for package for data generation for classification and regression

2022-03-03 Thread Paul Smith
Dear All, I am in need of generating artificial data for machine learning classification and regression analysis. What I am looking for is something similar to Python sklearn.datasets.make_classification and sklearn.datasets.make_regression: