Tutorials
Videos available here on youtube
Latest Release
Blaise Pascal v.0.5.2
Installation Instructions
The recommend installation of ptR is to use one of the prebuilt packages shown found to the left. But prior to installing, there are a few required dependencies that should be installed.
Pre-Installation (Requirements)
- R version 4.0.2 or greater is required. If not already installed, install R
- Pandoc is required. This means doing either 1. or 2. below
- install pandoc (and placing it on your path)
- install RStudio (RStudio contains a copy of pandoc)
- The R package tidyverse is required. This can be installed by doing either 1. or 2. below
- From a terminal, open R and inside the R interpretor issue the command
install.packages(‘tidyverse’), then when finished issue command quit() and close terminal
- Open RStudio (by clicking on it’s icon) and then select the packages tab From there click on
install and in the popup type tidyverse. When finished, close RStudio.
Installation (Using the Installer)
- Choose the button on the left which matches your OS to download the appropriate installer.
- After downloading, double click on the installer and be patient. Note: I have not yet purchased digital signatures, so you may be prompted with a warning. Please ignore.
Post-Installation (First time running)
- Upon opening, ptR will look for additiona R-packages that it requires. If some of these packages are missing, you will be prompted to either quit or let ptR install them for you. When completed, the ptR IDE will start.
Note, pandoc is used for knitr and is normally included in the Rstudio installation.
The Relationship Between pointR and ptR
- pointR is an R package providing a shiny-based minimalist IDE for R scripting using svgR. pointR is primarly written in R, with a little bit of javascript for seasoning.
- ptR is an Electron wrapper around pointR.
- Benefits of using the Electron wrapper:
- Remove potential hiccups by removing and dependency on the local browser
- Provide independent windows for help
- Provide an integrated approach for building shiny custom inputs
- Related information can be found at http://mslegrand.github.io/svgR/.
- Rambling thoughts can be found on the wiki at https://github.com/mslegrand/pointR/wiki
Some Points on pointR
- pointR is a shiny server application
- pointR uses the ACE editor for coding
- pointR is intended to ease the writing of R scripts using svgR.
- pointR is an attempt to bridge the gap between coding and point&click.
- svgR bridges the gap between R and SVG
Some Points on ptR
- ptR is an Electron wrapper around pointR
- ptR is javascript (since Electron is)
- Electron is required for full functionality (such as building shiny input controls)
Some Sample Projects Built in ptR
After installing ptR, you may want to take a look at some samples found
here on Github
Reporting issues
Please report any bugs/issue in the
Github Issue tracker
Contributing
If you wish to contribute to the pointR project, now is the time. Thanks.
Caution
To quote from TrestleTech: As with any online application, it is a genuinely bad idea to allow arbitrary users to execute code on your server. BE CAREFUL!!