Connecting virtual reality and ecology: a new tool to run seamless immersive experiments in R

PeerJ Comput Sci. 2021 Jun 1:7:e544. doi: 10.7717/peerj-cs.544. eCollection 2021.

Abstract

Virtual reality (VR) technology is an emerging tool that is supporting the connection between conservation research and public engagement with environmental issues. The use of VR in ecology consists of interviewing diverse groups of people while they are immersed within a virtual ecosystem to produce better information than more traditional surveys. However, at present, the relatively high level of expertise in specific programming languages and disjoint pathways required to run VR experiments hinder their wider application in ecology and other sciences. We present R2VR, a package for implementing and performing VR experiments in R with the aim of easing the learning curve for applied scientists including ecologists. The package provides functions for rendering VR scenes on web browsers with A-Frame that can be viewed by multiple users on smartphones, laptops, and VR headsets. It also provides instructions on how to retrieve answers from an online database in R. Three published ecological case studies are used to illustrate the R2VR workflow, and show how to run a VR experiments and collect the resulting datasets. By tapping into the popularity of R among ecologists, the R2VR package creates new opportunities to address the complex challenges associated with conservation, improve scientific knowledge, and promote new ways to share better understanding of environmental issues. The package could also be used in other fields outside of ecology.

Keywords: Data collection; Elicitation; Emerging technology; Environmental conservation; Remote ecosystems; Software; WebXR.

Grants and funding

Kerrie Mengersen received support from her Australian Research Council Laureate Fellowship (ID: FL150100150). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.