Date:
2013-11-26 14:28 |
Priority:
2 |
State:
Open |
|
Submitted by:
Maarten Kooyman (maartenk)
|
Assigned to:
Nobody (None)
|
Resolution: Accepted As Bug |
Operating System: Linux (64bit) |
Severity: normal |
Hardware: PC |
Version: other |
Component: DatABEL |
URL:
|
|
Summary:
matrix2databel does not check user is allowed to write files |
Detailed description |
When I use matrix2databel in a directory where there is no write access for the usere, there is a non informative error message:
dat1 <- matrix2databel(matr , filename="/etc/testnew")
Index file not exists: testnew.fvi
Error in checkAtAssignment("databel", "data", "NULL") :
assignment of an object of class “NULL” is not valid for @‘data’ in an object of class “databel”; is(value, "externalptr") is not TRUE
When I use this function in a directory where I do have access the everything works smoothly.
dat1 <- matrix2databel(matr , filename="/tmp/testnew") |
|