Hello,
I am using Geany as my favourite IDE for debugging R code under Linux (Ubuntu 18.04). I have noticed that if I copy and paste say a simple command line below it works
data = read.csv("/home/marco/R/data/mydata.csv")
but if I use the line below it does not work because it cannot find the path
data = read.csv(".//data/mydata.csv")
Have anyone else in the forum experienced a similar problem? Thank you very much for help.
Marco
Hi Marco,
there are two debugger plugins: debugger and scope. Which one do you use?
For scope there is a related issue about relative paths, see https://github.com/geany/geany-plugins/issues/785
Greetings, Lars
On 08.10.19 18:37, Magicaltats Bianchi wrote:
Hello,
I am using Geany as my favourite IDE for debugging R code under Linux (Ubuntu 18.04). I have noticed that if I copy and paste say a simple command line below it works
data = read.csv("/home/marco/R/data/mydata.csv")
but if I use the line below it does not work because it cannot find the path
data = read.csv(".//data/mydata.csv")
Have anyone else in the forum experienced a similar problem? Thank you very much for help.
Marco
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On 2019-10-08 9:37 a.m., Magicaltats Bianchi wrote:
Hello,
I am using Geany as my favourite IDE for debugging R code under Linux (Ubuntu 18.04). I have noticed that if I copy and paste say a simple command line below it works
data = read.csv("/home/marco/R/data/mydata.csv")
but if I use the line below it does not work because it cannot find the path
data = read.csv(".//data/mydata.csv")
Have anyone else in the forum experienced a similar problem? Thank you very much for help.
Are you pasting into the built-in terminal? If so, which directory is it changed into? Assuming it's in the directory where "data" directory is in (ie. `/home/marco/R`), it should work even with the extra slash in the path.
Regards, Matthew Brush
On Wed, 9 Oct 2019 at 02:38, Magicaltats Bianchi marcolondonuk@gmail.com wrote:
Hello,
I am using Geany as my favourite IDE for debugging R code under Linux (Ubuntu 18.04). I have noticed that if I copy and paste say a simple command line below it works
data = read.csv("/home/marco/R/data/mydata.csv")
but if I use the line below it does not work because it cannot find the path
data = read.csv(".//data/mydata.csv")
Have anyone else in the forum experienced a similar problem? Thank you very much for help.
The paths are interpreted by R not Geany, so it depends how it interprets a relative path and that probably depends on the directory it is started in, but check its documentation to confirm. So this isn't really anything to do with Geany.
Cheers Lex
Marco
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users