Skip to content

Commit

Permalink
release 1.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
per committed Dec 27, 2021
1 parent 1d3ceb0 commit a142630
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 15 deletions.
17 changes: 12 additions & 5 deletions README.md
Expand Up @@ -15,7 +15,7 @@ in Renjin. Later, it evolved to the point where I now use it as my primary data

It is fully functional i.e. it is possible to create, open, save and execute R scripts,
run selected text, ctrl + enter execution of current line or selected text, view packages loaded,
see variables created, syntax highlighting for R, XML, SQL and Java files etc.
see variables created, syntax highlighting for R, XML, SQL, Java, Groovy, Javascript etc.
It also has some Renjin specific features such as support for the different package loaders,
wizards to create Renjin projects and Renjin extensions, maven support making a very
convenient environment for serious R development targeted for the JVM using Renjin.
Expand All @@ -42,10 +42,18 @@ library("se.alipsa:rideutils")
display(fileName, "svgplot")
```


![Plot](https://raw.githubusercontent.com/perNyfelt/ride/master/docs/Plot.png "Plot")

An alternative way when you just want to view the plot in Ride is to use viewPlot e.g:
```r
library("se.alipsa:rideutils")
viewPlot({
plot(mtcars$mpg)
abline(h=mean(mtcars$mpg))
})
```

#### Package and class loading
The AetherPackageLoader is used per default so libraries will be fetched automatically from
bedatadriven or maven central repos. This can be modified in the Global Options menu.

Expand All @@ -70,7 +78,7 @@ you to preview the report. Parameterized reports are also supported.

### Installing and Running ride
Go to the releases tab and expand the assets section at the bottom of the release.
Unzip the zip file ride-<version>-dist.zip e.g. ride-1.2.5-GA-dist.zip to a directory of choice.
Unzip the zip file ride-<version>-dist.zip e.g. ride-1.2.6-GA-dist.zip to a directory of choice.

There are icons for windows and Linux in the base folder of the unpacked zip that can be used to create a desktop shortcut/launcher.

Expand Down Expand Up @@ -145,7 +153,6 @@ code at the time of the Ride release. Licensed under a MIT license.

### org.apache:log4j
The logging framework used.

Apache 2.0 license

### com.fasterxml.jackson.core:jackson-core and jackson-databind
Expand Down Expand Up @@ -195,5 +202,5 @@ are all warmly welcome. See also [todo](todo.md) for roadmap.
There is some problem with using the AetherPackageLoader when developing packages and running tests.
The issue is that renjin will report "failed to find package" even though you have run `mvn package` or even
`mvn install`. The same problem exists for the Renjin CLI as well so this is not due to Ride.
What DOES work is to use the classpathpackage loader with the option for "include build dirs in classpath" enabled.
What DOES work is to use the classpathPackageLoader with the option for "include build dirs in classpath" enabled.

6 changes: 3 additions & 3 deletions pom.xml
Expand Up @@ -6,7 +6,7 @@

<groupId>se.alipsa</groupId>
<artifactId>ride</artifactId>
<version>1.2.6-SNAPSHOT</version>
<version>1.2.6</version>
<packaging>jar</packaging>

<name>Ride</name>
Expand Down Expand Up @@ -38,7 +38,7 @@
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<release.tag>1.2.6-beta</release.tag>
<release.tag>1.2.6-GA</release.tag>
<renjin.version>3.5-beta76</renjin.version>
<!--jgit 6 and up requires java 11-->
<jgit.version>5.13.0.202109080827-r</jgit.version>
Expand Down Expand Up @@ -105,7 +105,7 @@
<dependency>
<groupId>se.alipsa</groupId>
<artifactId>mdr</artifactId>
<version>1.5.0-SNAPSHOT</version>
<version>1.5.0</version>
</dependency>
<dependency>
<groupId>com.openhtmltopdf</groupId>
Expand Down
14 changes: 7 additions & 7 deletions release.md
@@ -1,11 +1,11 @@
# This is version 1.2.5 of Ride.
# This is version 1.2.6 of Ride.

Ride is a nice IDE for developing and testing R scripts aimed to run in the Renjin ScriptEngine, but
it also supports SQL querying and updating as well as simple java (and Groovy) development so that complete Renjin projects and
packages can be developed, built and tested. Ride supports maven build files as well as git.

To run Ride you need to have maven and Java 1.8 or higher installed (preferably with bundled javafx).
If you use open JDK on Linux then you might need to do something like `sudo apt-get install openjfx` depending on your distro.
To run Ride you need to have maven and Java 1.8 or higher installed (preferably with bundled javafx, I personally use
11.0.13.fx-librca from bellsoft). If you use open JDK on Linux then you might need to do something like `sudo apt-get install openjfx` depending on your distro.

Ride is started using the start script appropriate for your environment (see ride.sh/ride.cmd for details).

Expand All @@ -18,7 +18,7 @@ java application (server).
Pre requisites:
- Java 8 or higher with java fx

Unzip ride-1.2.5-GA-dist.zip to a directory of choice
Unzip ride-1.2.6-GA-dist.zip to a directory of choice

## How to run:

Expand All @@ -33,7 +33,7 @@ This way you will not need to worry about upgrading to a later version of Ride l
The special variable JAVA_OPTS can be used to add system properties (-D key/values) to java.
Some reasons why you want to do this are
- You do not have javafx in you jdk and need to wire it in
- You have a high DPI display and need to customize (scale) the screen
- You have a high DPI display and need to customize (scale) the screen (you need java 11 for this to really work)
- You want to add more available memory to Ride than the default

If possible, create a project and use the pom file to manage dependencies. Ride has wizards for
Expand All @@ -42,7 +42,7 @@ If that does not work, you might need to manually add / override jars in the lib
making ride unable to start. The only reason I can think of where the latter is needed is if there is
a Ride dependency that you must override. Older versions of Ride tried to include as many commonly used
dependencies as possible to make it simple to write R code without having to think of dependency management
but since Ride now has built in support for Maven (and soon also Gradle) we are moving away from this idea
but since Ride now has built in support for Maven we are moving away from this idea
and will instead remove any dependency that Ride is not using itself, so they can be managed by the build file
in your project instead.

Expand All @@ -54,7 +54,7 @@ In those cases just copy the native files to the lib dir, the startup script poi

# Version Descriptions

### 1.2.6
### 1.2.6, 2021-12-26
- Fixed maven support to be able to parse bom dependencies and poms with a parent.
- improve PDF export of mdr files
- add restart groovy session button, fix prompt after run
Expand Down

0 comments on commit a142630

Please sign in to comment.