library(RSQLite)
@@ -172,7 +172,7 @@ Creating and using
## 1862 1 NA 1
## ... 34 more variables/columns.
## Use 'spectraVariables' to list all of them.
-## Database: /tmp/RtmpWP4Rr5/fileb286077e2da
+
## Database: /tmp/Rtmp8LKjpZ/file7725e5d074d
As an alternative, the MsBackendOfflineSql
backend could
also be used to interface with MS data in a SQL database. In contrast to
the MsBackendSql
, the MsBackendOfflineSql
does
@@ -207,7 +207,7 @@
Creating and using
## 1862 1 259.752 931
## ... 34 more variables/columns.
## Processing:
-## Switch backend from MsBackendSql to MsBackendMemory [Fri Sep 27 05:10:08 2024]
+## Switch backend from MsBackendSql to MsBackendMemory [Sun Nov 17 16:34:32 2024]
With this function it is also possible to change from any backend to
a MsBackendSql
in which case a new database is created and
all data from the originating backend is stored in this database. To
@@ -241,10 +241,10 @@
Creating and using
## 1862 1 NA 1
## ... 34 more variables/columns.
## Use 'spectraVariables' to list all of them.
-## Database: /tmp/RtmpWP4Rr5/fileb2839a46d9b
+## Database: /tmp/Rtmp8LKjpZ/file772556f9c57e
## Processing:
-## Switch backend from MsBackendSql to MsBackendMemory [Fri Sep 27 05:10:08 2024]
-## Switch backend from MsBackendMemory to MsBackendOfflineSql [Fri Sep 27 05:10:08 2024]
+## Switch backend from MsBackendSql to MsBackendMemory [Sun Nov 17 16:34:32 2024]
+## Switch backend from MsBackendMemory to MsBackendOfflineSql [Sun Nov 17 16:34:33 2024]
Similar to any other Spectra
object we can retrieve the
available spectra variables using the
spectraVariables()
function.
@@ -310,18 +310,18 @@
Creating and using
## user system elapsed
-## 0.007 0.001 0.008
+## 0.007 0.000 0.007
## user system elapsed
-## 0.002 0.000 0.002
-
We can also use the reset()
function to reset
+## 0.002 0.000 0.003
+
We can also use the reset()
function to reset
the data to its original state (this will cause any local spectra
variables to be deleted and the backend to be initialized with the
original data in the database).
+
sps <- reset(sps)